2016-12-16 04:26 AM
Hello,
I am trying to erase a flash page in Bank 2 of STM32L071RZ and it instead erases the 1st page of Bank 1( where interrupt vector table is stored). The code is fine as the same works very well when the page address is in Bank 1. Is there something else that has to be done while erasing a page in Bank 2?
However, this works fine as long as I am debugging step-by step. But in debug/release mode when I don't run step-by step, the 1st flash page of Bank 1 is erased!
#stm32l071 #flash-erase2016-12-16 09:17 AM
As much as I like mysteries it is usually a lot easier to debug and understand code I can see.