codewarrior debug error:No source available for "0x00000172"

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

codewarrior debug error:No source available for "0x00000172"

Jump to solution
1,623 Views
陈欣
Contributor III

environment:coderwarrior 10.4
MCU:the MKL20 MCU
Burner:P&E micro

I build a bareboard project.
When I debug will appear as
shown in the annex of the case.
It will run over with no error When I run,
but no code download to the Flash.
Please tell me ,How can I do to solve
this problem.
Thanks a lot;

0 Kudos
1 Solution
765 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi Chen Xin,

About how to generate ".hex" image file of CW V10.4 project.

In CW project Properties, select [C/C++ Build] -> [Setting] ->[Additional Tools]: select [Create Flash Image]

create flash image.jpg

Then In [ARM Ltd Windows GNU Create Flash Image] select [Output file format]:

output file formate.jpg

Then you can recompile the project and in [FLASH] target folder, you will find genrated ".hex" image file.

Wish it helps.

View solution in original post

0 Kudos
3 Replies
766 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi Chen Xin,

About how to generate ".hex" image file of CW V10.4 project.

In CW project Properties, select [C/C++ Build] -> [Setting] ->[Additional Tools]: select [Create Flash Image]

create flash image.jpg

Then In [ARM Ltd Windows GNU Create Flash Image] select [Output file format]:

output file formate.jpg

Then you can recompile the project and in [FLASH] target folder, you will find genrated ".hex" image file.

Wish it helps.

0 Kudos
765 Views
陈欣
Contributor III

Thanks very much!

You help me greatly!:smileyhappy:

0 Kudos
765 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi, Chen Xin

For you could use CW V10.4 debug the board and CW V10.4 default debug target is FLASH targe.  I think you have program the Flas successfully before the code debug. Otherwise it could not debug the code. If after your debug the code, you couldn't run the code without debugger? You need to check the MCU VDD power up ramp rate, it need Keep instantaneous slew rate of VDD below 17 kV/sec.

Wish it helps.

0 Kudos