Conversion from *.axf to *.hex

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

Conversion from *.axf to *.hex

5,720 Views
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.
Labels (1)
0 Kudos
4 Replies

3,060 Views
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 Kudos

3,060 Views
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 Kudos

3,060 Views
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 Kudos

3,060 Views
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 Kudos