-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[feature] Read protect bits #346
Comments
no plan yet, but any contribution welcome ! 2015-11-08 7:20 GMT+01:00 Anton Lytkin notifications@github.com:
|
https://github.com/aric1987/stlink/ |
@aric1987 Why don't you create a PR for this? |
@Ant-ON: As I believe to read from the code that these protect bits are also included in the option bytes, as the whole area is written at once. Is this correct? |
@Nightwalker-87 Yes, on F0/F1/F3: /* Retrieve current values */
ret = stlink_read_debug32(sl, FLASH_OBR, &optiondata);
if (ret) {
return ret;
}
ret = stlink_read_debug32(sl, FLASH_WRPR, &protection);
if (ret) {
return ret;
} |
Do you plan to make this functional?
The text was updated successfully, but these errors were encountered: