Flash sector locked after programming with low voltage.

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

cross mob
Not applicable
Target: XMC4500-F144K1024 AC

We have experianced in two separate occations that: If CPU voltage are turned very low, or even are gone for short periods, one sector (sector 9, with base address 0xC040000) become “dead” after programming.
After this there are only 0x00 in sector 9 and no bit in this sector can be set to one ever again.
We are using a Segger jlink plus during programming, and tried to get the sector alive with both j-flash software and Dave.
In both occations the only solution for us was to exchange the CPU to a new one.
As this can be a case when the product are reprogrammed by the end customer It’s VERY important that this are not allowed to happened.

Does anyone else have experiences of this. How to solve it, and how to get it alive again.
0 Likes
1 Reply
Not applicable
As sector 7 and 8 was unharmed we were possible to change our own bootloader to erase sector 9.
This erase was OK, and sector 9 was able to program again.


The problem seems to be that, segger J-link programmer cant erase in correct manner. Use your own bootloader to erase the device.

Now we dont have to throw CPUs away anymore.
0 Likes