Hello,
I am writing this ticket because I have an unexpected behaviour of my PCB with some random/sporadic exceptions caused by FLASH DED.
I have a bootloader SW which I flash/load to my PCB with CCS and XDS110 Debug Probe. I run the software and then with another tool (via LIN communication protocol) I want to flash the application to the PCB with the help of FBL which is running on my PCB.
The main issue that I am facing is that most of the times I get a reset (SYSCPU LOCK type) caused by NMI exception which is triggered by a FLASHDED error. Usually this happens in the middle of the transfer (when the data is downloaded into the memory), or during Erase Memory routine.
What is really strange is that sometime it is working without issues, but more often I get these resets. When I have these issues I cannot solve them in any manner, I tried to erase all the flash memory (MAIN one, not NON-MAIN), Flash again the SW with the debugger, reset the PCB, power cycles and so on, nothing works. But sometimes it is just working, without changing the code, or doing something special.
I have to mention that I tried with and without the debugger connected, and it looks like there is no impact at all, I still have the NMI (FLASHDED) exception even if I disconnect the debugger.
Do you know what could cause these FLASHDED errors which triggers the NMI exception? Where to look at?
Thank you in advance for your support!



