XMC4700 write flash under read/write protection.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hello.

I have a strange behaviour of my XMC4700 device, when trying to write flash memory, which has been protected from read and write.

Namely, when I'm trying to flash device by application located at the beginning of the flash memory and runs without FreeRTOS (let's call it Bootloader), everything going fine.
But when I try to use the same code in my mainApplication, which is located in the Sector 8 of flash and uses FreeRTOS, it Resets on write flash function calling.
Debugging this error is greatly complicated by the fact that in this protected mode, the debugger is not working.

I'm going to extract some code from my projects for community to check it out.

Tips about which information could be useful to resolve my issue are greatly appreciated.
0 Likes
0 Replies