AnsweredAssumed Answered

Changes to the FlashX driver between MQX 3.8 and 4.1

Question asked by Graeme Redman on May 13, 2014
Latest reply on May 16, 2014 by Mark Butcher

A while back I wrote some software that ran on a Kinetis K60 using IAR 6.4 and MQX 3.8. The software used the FlashX driver to erase and then write non contiguous single bytes to a section of flash between 0x60000 and 0x7FFFF (128KB).


We now have new hardware that uses a K70  (MK70FN1M0VMJ15) I'm trying to recreate the project using IAR 6.5 and MQX 4.1.

It erases all the sectors between 0xC0000 and 0xFFFFF (128KB) correctly,but it will only write to the first byte at 0xC0000, further writes to 0xC0002 and 0xC0004 fail.


The code is based on the FlashX example include with MQX, which doesn’t appear to have changed much between versions. The driver seems to have changed quite a lot though.


All caching is disabled and I’m not overwriting bytes.


Is anyone else having similar issues or could help?


Many Thanks