Skip to content

Conversation

mirkomatonti
Copy link

@mirkomatonti mirkomatonti commented Nov 8, 2023

Hi,

I need to use the OTP area so I decided to provide an implementation for those boards that treat the OTP area as another FLASH region.

Here is the basic structure of my implementation:
--area=otp read <output.bin> //Read from the OTP start address to len
--area=otp write <input.bin> //Write from a specific OTP address

Please note that I have only been able to test my implementation on the l452 and l4a6 boards as they are the only ones I have access to.

Transcript

Link to discussion

@mirkomatonti mirkomatonti marked this pull request as ready for review November 8, 2023 16:05
@Nightwalker-87 Nightwalker-87 requested a review from Ant-ON November 8, 2023 22:13
@Nightwalker-87 Nightwalker-87 self-requested a review November 8, 2023 22:13
@Nightwalker-87 Nightwalker-87 added this to the v1.8.0 milestone Nov 8, 2023
@Nightwalker-87 Nightwalker-87 linked an issue Nov 8, 2023 that may be closed by this pull request
6 tasks
@mirkomatonti
Copy link
Author

mirkomatonti commented Nov 8, 2023

CI was failing as I forgot to commit a file :(

@Nightwalker-87
Copy link
Member

@Ant-ON: Waiting for second review now.

@Nightwalker-87 Nightwalker-87 merged commit fb141d4 into stlink-org:develop Nov 23, 2023
@stlink-org stlink-org locked as resolved and limited conversation to collaborators Nov 23, 2023
@mirkomatonti mirkomatonti deleted the mirko-otp_read_write branch November 24, 2023 11:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[feature] OTP Read/Write
4 participants