Skip to content
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

Serial Number on OTP flash area. #33

Closed
4 tasks done
pmnxis opened this issue Oct 20, 2023 · 1 comment · Fixed by #34
Closed
4 tasks done

Serial Number on OTP flash area. #33

pmnxis opened this issue Oct 20, 2023 · 1 comment · Fixed by #34

Comments

@pmnxis
Copy link
Owner

pmnxis commented Oct 20, 2023

The board should have unique serial number for each board.
Data structure is ASCII 12bytes that is [u8;12]

Definition of done

  • Limit normal program bytes to 62KiB from 64KiB
  • Test program to write 12byte + hash (4bytes) on MCU flash side. (OTP)
  • Validation for several situation (overwrite new firmware, lock->unlock cause erasing last page .. etc)
  • Bind to CardTerminalTxCmd::ResponseDeviceInfo
@pmnxis
Copy link
Owner Author

pmnxis commented Oct 21, 2023

image

plan of billmock-mptool

2023-10-22 update
Replace to OTP usage

@pmnxis pmnxis changed the title Serial Number on last flash page (62_000d) Serial Number on OTP flash area. Oct 22, 2023
@pmnxis pmnxis linked a pull request Oct 22, 2023 that will close this issue
pmnxis added a commit that referenced this issue Oct 22, 2023
#33 Use OTP MCU features and `billmock-mptool`
@pmnxis pmnxis mentioned this issue Oct 22, 2023
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant