Debugging using CW for Microcontroller 10.2

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Debugging using CW for Microcontroller 10.2

1,193件の閲覧回数
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 返信

910件の閲覧回数
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 件の賞賛
返信