2020-06-30 11:14 AM
I'm using a Nucleo F429ZI and I'm using a dual bank configuration. I'm trying to make sure I understand the read protection levels. If I want a feature that allows me to save a program written into the other bank (e.g. save it to a usb as back up), is it correct to understand that Level 1 read protection would not allow me to do that?
I'm also unclear how the read protection affects write protection. My understanding is that if my read protection is Level 0, I can use the nWRPI bits to protect individual memory sectors from writes. But if my read protection is Level 1, all flash memory is write-protected? In other words, I cannot have an IAP application with Level 1 read protection?
2020-06-30 11:25 AM
It precludes you reading the memory externally, ie via JTAG/SWD
The processor itself, and code you have running on it, can read the memory, print it to a screen, send it down a serial port. So you can create holes in the scheme.
You should be able to read/write/erase sectors in the FLASH to replace/update content.