2020-12-02 07:51 AM
Hi All,
We are launching one of our product to market. And we are using STM32F429ZiT6 MCU.
Recently I am going through the data sheet for list of option bytes which needs to be set during manufacturing. I have an understanding on what should be set. But I just want to confirm my understanding and these will serve the purpose.
Below is our application roughly.
In the first 3 sectors we have the bootloader-------- which never changes
We do an OTA for the application. So the rest of sectors are divided in to 2---1 for main application....1 for back up.
The rest of sectors(4-24) are divided into 2 -----10 sectors each for --- application and back up
so we do write and erase operations from sector 4-24.
So given the above situation.
The option bytes we are setting is
RDP- > Level 2(0xCC) because no one must be able to read through JTAG, SWV,...etc
Write protection on sector 0, sector 1 , sector 2 ------because bootloader is unchanged.
Rest of the sectors are not write protected as we are erasing and writing them.
Above are the option bytes. Any suggestion?
Thanks,
krishna
2020-12-03 03:43 AM
Hi @Kpodu.1
Your understanding is correct. However you can refer to RM0090 Rev18 for more details about option bytes.
Bouraoui