Conversion from *.axf to *.hex

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

Conversion from *.axf to *.hex

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