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

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

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

跳至解决方案
6,140 次查看
陈欣
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 项奖励
回复
1 解答
5,282 次查看
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 项奖励
回复
3 回复数
5,283 次查看
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 项奖励
回复
5,282 次查看
陈欣
Contributor III

Thanks very much!

You help me greatly!:smileyhappy:

0 项奖励
回复
5,282 次查看
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 项奖励
回复