AnsweredAssumed Answered

KDS V3.0.0 unable to debug code reside in FlexNVM, using USBDM

Question asked by Jei Chou on Dec 1, 2015
Latest reply on Dec 3, 2015 by Jei Chou

Hi, I am porting CW10 project to KDS and encounter difficulties when debugging with latest USBDM (V4.12.1.30). Our target is MK10DX128M7.   I just created the simplest example project with main.c having for (;;) { i++; }.  Compile and debug.   It works fine.   Then, in the linker file MK10DX128xxx7_flash.ld, just change from

  m_text                (RX)  : ORIGIN = 0x00000410, LENGTH = 0x0001FBF0


  m_text                (RX)  : ORIGIN = 0x10000000, LENGTH = 0x00008000


Recompile and debug.   KDS IDE complains:

I am assuming the problem is that KDS IDE doesn't recognize the FlexNVM region.  I search web and understand that since USBDM 4.9.5, it added support for FlexNVM partitioning in Kinetis devices.   But in KDS IDE or USBDM, I can't find anywhere that allow me to set the region as legal.


Does anyone know a fix for this??