Debugging using CW for Microcontroller 10.2

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Debugging using CW for Microcontroller 10.2

1,194 次查看
Mohsin455
Contributor IV

Hi All,

I am using K60N512 for my project. I am developing the code using command line options. As I am new to to CW and I am using CW for Microcontroller 10.2. I want to know how could I debug the code when I do a build using command line.

In MPLAB and VisualDSP++,  the IDE allows me to import/load the image file so that I can debug it i.e. put breakpoints, single step etc.


Can anyone please let me know how we could do similar thing using CW for Microcontroller 10.2 ?


Thanks,
Mohsin

标签 (1)
0 项奖励
回复
1 回复

911 次查看
Teo
NXP Employee
NXP Employee

You can create a CW project using executable importer and debug from there.

 

i.e.  In the projects view select "Import->CodeWarrior->MCU Executable Importer". On next page name the project to debug the executable, then browse for the executable to debug. You will be asked for the CPU/board used. Select one that you are targetting.

 

After project has been created you can debug it as all other usual projects.

 

Teo

 

 

0 项奖励
回复