Conversion from *.axf to *.hex

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

Conversion from *.axf to *.hex

7,301 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Italia on Wed Sep 03 08:40:53 MST 2014
Hi,

i hava a FW compiled in axf format. I try to convert it in hex format addind the following post processor directive:

arm-none-eabi-size "${BuildArtifactFileName}"
arm-none-eabi-objcopy -v -O binary "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin"
checksum -p ${TargetChip} -d "${BuildArtifactFileBaseName}.bin"
arm-none-eabi-objcopy -I binary "${BuildArtifactFileBaseName}.bin" -O ihex "${BuildArtifactFileBaseName}.hex"

The building process is done and the HEX file i generated, but when i program my CPU by
FLASHMagic the program don't run.
Can someone help me?

PS: My CPU is LPC2468.
标签 (1)
0 项奖励
回复
4 回复数

4,641 次查看
gvk51
Contributor III

Hello,

Please make sure you select the following option, "Activate Flash Bank" under the section "Step 4". After successful programming reset the board for starting the execution of your newly programmed firmware.

I have verified this on LPC1837 CPU

Thanks,

Vamshi G.

0 项奖励
回复

4,641 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Italia on Thu Sep 04 03:25:45 MST 2014
I foud the solution reading this link:

http://support.code-red-tech.com/CodeRedWiki/OutputFormats
0 项奖励
回复

4,641 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Italia on Thu Sep 04 02:10:49 MST 2014
Yes i already try the debug version and run really well..
0 项奖励
回复

4,641 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Wed Sep 03 09:33:36 MST 2014
Does it work before you convert it? Have you tried debugging?
0 项奖励
回复