AnsweredAssumed Answered

Debug K70 on external RAM with MQX & CW 10.6 GCC

Question asked by Sean Dowell on Apr 27, 2016
Latest reply on May 2, 2016 by Sean Dowell


I'm attempting to get my code to debug out of external RAM on a K70 system running MQX 4.2 using CodeWarrior 10.6 built using GCC. I've attempted to follow the guide listed here Relocating Code and Data Using the CW GCC Linker File for Kinetis but still can't get things to run.

 

Attached are the linker .ld file, the .tcl script and .mem file I've created. I'm not en expert at working these kinds of files so there is a good chance I have something wrong here.

 

My debug configuration is setup according to the instructions linked to above. However when I start trying to debug I get a warning about not being able to set break points and then it tries to run from some place in internal flash

 

I probably just have something setup wrong. Does anyone have any idea what I've done wrong here?

 

Thanks,

Sean

Original Attachment has been moved to: ext_ddr.ld.zip

Original Attachment has been moved to: init_kinetis_ddr.tcl.zip

Original Attachment has been moved to: K70FN1M0_ddr.mem.zip

Outcomes