AnsweredAssumed Answered

PFLASH writing results in unreadable ROM

Question asked by Andras Lipoth on Nov 26, 2014
Latest reply on Feb 1, 2015 by Andras Lipoth

Using K70 with 1MB program flash we found that parts of the ROM can become unreadable after programming. We are using MQX 4.1 but seen it happen in 4.0 as well.


The firmware is running from one half of PFLASH while it attempts to reprogram the other half using MQX's ftfe driver but fails. The first sector is erased, and most of it can be read back except the first 16 bytes: trying to read anything from the first 16 bytes (via a pointer to ROM) resets the CPU.We tried to recover the flash using block erase to no avail. The only solution seems to be a chip erase via JTAG.


Has anybody seen this issue? Is there any way to fix it? Any way to avoid it?