AnsweredAssumed Answered

K60N512 Memory

Question asked by vines on Feb 22, 2013
Latest reply on Nov 1, 2015 by Jo sol



I read on the datasheet that this particular MCU that I am using does not have an NVM part. I plan to use the upper portion of flash as data storage. Without NVM, is it still possible to configure this portion as data storage? I tried doing it nevertheless. The first time I write it is successful. However the second time, the debugger hangs. I traced the problem that it returns at function FLASH1_Main().


Specifically at line:

if(((DataToPrg & DataToPrgMask) & (~CurrentFlashPrgUnitData)) > 0U) {

          DeviceDataPrv->CurrentErrorFlags |= LDD_FLASH_MULTIPLE_WRITE_ERROR;




As you can see the error is multiple error. Is there any workaround to this problem given that I will not change the MCU with NVM? If yes, How should I do it?

By the way linker file I tried configuring the portion where I want to write as RWX but to no avail.


I am using Codewarrior 10.2 and MQX 3.8.


Thank You.