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

First Implementation of the OTP Read/Write function #1353

Merged
merged 5 commits into from
Nov 23, 2023
Merged

First Implementation of the OTP Read/Write function #1353

merged 5 commits into from
Nov 23, 2023

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 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
10 checks passed
@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