Read Protection For Stm32
I am using a stm32f4 processor, using the dual bank feature, I have a code that has the code update . In Code update mode, I can perform code update by performing Bank1 and Bank2 management over Ethernet, and when I restart the device, the system starts over the current code. There is no problem in these parts. What I want to do is bring the level-1 read out protection to the device.
According to the information I got from the reference manual, when we booting from Flash memory, we can access and manage the flash memory area from the code by the user code.
1) So can I provide Option Byte management in the Flash Memory area in code? (With read out protection available) This is important because dual bank management is done with the BFB2 bit from the option bytes. Can I provide dual bank management properly? Can I read FB_MODE in SYSCFG_MEMRMP register in application code not from out of code (for level 1)
2) Are there any obstacles to update the code over Ethernet?
3) Is it enough to set the read out protection bit 1 time? (Every time I throw the code - should it change again when updating)
4) Do I have access difficulties in the data I read from eeprom (in-code) or the data I export via communication methods?
