AnsweredAssumed Answered

Debug with starting address at 0x1000 instead of 0x0 in KL04z using PEMicro debugger on KDS

Question asked by M Joa on Jan 13, 2015
Latest reply on Feb 25, 2015 by M Joa

Hi,


I have been using kinetis design tool to debug my code on microcontroller KL04z. Is there a way to run image with starting address at 0x1000 instead of 0x0 in KL04z on PEMicro debugger on KDS.

 

I have done the followings but in vain:

1. Change the following in MemoryMap-mkl04z32m4.ld to

  rom        (rx)  : ORIGIN = 0x1000, LENGTH = 0x7000

 

2. build the image

 

3a. On KDS, run PEMicro debugger => Not work. Stuck at 0xfffffffe

3b. On KDS, run PEMicro debugger, on runtime options setting PC to 0x1000 => not work. Stuck at 0xfffffffe.


Please see attached result.

startaddress_not_0.PNG.png

 

Thanks a lot.

With regards,

Mario

Outcomes