AnsweredAssumed Answered

K70 Tower system MQX, C++, GCC project running in DDR

Question asked by Stephen Chorlton on Aug 15, 2013
Latest reply on Dec 10, 2015 by Slawek Nowak

I am trying to create a CodeWarrior 10.4 project for K70 Tower system that runs in DDR memory using MQX 4.0, C++ and the GCC compiler.

I have created a project based on the settings used for the example cplus/cw10gcc.

This has the correct settings when the project is imported into Codewarrior.

I have then modified my code based on the advice given by carlosmusich in his reply to question K70 Tower System MQX Application in RAM

I have also modified the .ld file to place the code in DDR, but the code will not run from start up.

When set to free run it jumps to FLASH locations and crashes, but if I single step from the start past the initialisation of MQX the code runs OK.

Any suggestions on what might be going wrong.


Thanks in advance,