AnsweredAssumed Answered

Cpu_SetFlexNVMPartition() function fails

Question asked by MIKE KATZ on Jun 28, 2016
Latest reply on Jul 3, 2016 by Marek Neuzil

I am using the Kinetis MK20DX256VLQ10 with CodeWarrior 10.6.4 with all current updates.


Processor Expert is configured for 512 bytes of EEPROM, 50/50 split and all 256K for EEPROM backup (0x2506).


I am able to partition this correctly when downloading with CodeWarrior and PROGACMP using a MultiLink Universal FX.


I tried putting a call to Cpu_SetFlexRAMFunction( FlexRAM_AS_EEPROM ) prior to calling Cpu_SetFlexNVMPartition() to insure that the FlexRAM is set for EEPROM and that function fails also.  Both with the Access Error flag set.


I have single stepped the machine language and it looks like everything is setup appropriately.


I have researched this on the forums and haven't found an answer.  This is not a stack overflow problem.


I have seen this work on single step and i am trying to recreate the successful procedure.


Thank you for your help.