Hello.
I am facing an issue with this board.
I am programming the device in FLASH. Everything runs fine, even after Resetting the board the device resets and executes code.
My program allows to write on FLASH (one user parameter) I used memory address 0x0BC000 for storing one parameter in the FLASH memory, for this I am using the Flash API and examples provided.
When I save the parameter in FLASH, the board is not able to restart again. I power cycle the board or reset the board, but code is not executed. It seems the board is not booting correctly.
If I do not use the function to write in Flash the parameter (in address 0x0BC000) The board is able to boot and restart correctly after Reset / Power cycle and program runs perfectly.
If I launch Debug session the program works well and even I can store in flash the user parameter and restart the code in the debugging session, it continues to work.
I checked in Debug the parameter is correctly written in the address 0x0BC000, and no other code is modified. Code in 0x080000 is not modified after setting this parameter.
Also, in Debug session in disassembly mode I can see the first instruction is not starting at 0x080000 but at 0x080567. Is it possible debug restart sends the PC pointer to this address and BOOT to 0x080000. How can I send the reset or boot instruction to PC counter to point the first main address instruction?
Why do I face this issue? How can I solve it?
Regards.