-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FL-3446] Dynamic lock bytes and CMD_WRITE adjustments #3101
Merged
gornekich
merged 44 commits into
flipperdevices:gornek/nfc_refactoring_v1
from
RebornedBrain:berezhnoy/mfu_lb
Sep 26, 2023
Merged
[FL-3446] Dynamic lock bytes and CMD_WRITE adjustments #3101
gornekich
merged 44 commits into
flipperdevices:gornek/nfc_refactoring_v1
from
RebornedBrain:berezhnoy/mfu_lb
Sep 26, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Both cmds now work through one function NtagI2C support added
Conflicts: firmware/targets/f7/api_symbols.csv
…fc_refactoring_v1
…fc_refactoring_v1
…fc_refactoring_v1
…fc_refactoring_v1
…fc_refactoring_v1
…fc_refactoring_v1
…fc_refactoring_v1
RebornedBrain
requested review from
skotopes,
DrZlo13,
hedger,
gornekich and
Astrrra
as code owners
September 21, 2023 13:51
gornekich
reviewed
Sep 26, 2023
gornekich
approved these changes
Sep 26, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What's new
Verification
//I2C_2K:
hf 14a raw -sck C2FF //Select
hf 14a raw -ack 01000000 //sector 1
hf 14a raw -ac 30E0 //read dynamic lock
hf 14a raw -sck C2FF //Select
hf 14a raw -ack 01000000 //sector 1
hf 14a raw -ac A2E001400000 //lock pages 16-47(sector 0) and pages 464-479 (sector 1 pages 208-223)
hf 14a raw -sc A210DEADBEAF //try write to sector 0, page 16 -> NAK
hf 14a raw -sc A22FDEADBEAF //try write to sector 0, page 47 -> NAK
hf 14a raw -sc A230DEADBEAF //try write to sector 0, page 48 -> ok
hf 14a raw -sck C2FF //Select
hf 14a raw -ack 01000000 //sector 1
hf 14a raw -ac A2CFDEADBEAF //try write to sector 1, page 207 -> ok
hf 14a raw -sck C2FF //Select
hf 14a raw -ack 01000000 //sector 1
hf 14a raw -ac A2D0DEADBEAF //try write to sector 1, page 208 -> NAK
hf 14a raw -sck C2FF //Select
hf 14a raw -ack 01000000 //sector 1
hf 14a raw -ac A2DFDEADBEAF //try write to sector 1, page 223 -> NAK
hf 14a raw -sck C2FF //Select
hf 14a raw -ack 01000000 //sector 1
hf 14a raw -ac A2E000004100 //set BL_400-463 and BL_16-79 -> ok
hf 14a raw -sck C2FF //Select
hf 14a raw -ack 01000000 //sector 1
hf 14a raw -ac A2E003700000 //try to set lock page 48-79 and 400-463 and pages 464-479 -> only 464-479 left
Checklist (For Reviewer)