Generate hex file with LPC checksum

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

Generate hex file with LPC checksum

1,299件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by pgr on Thu Apr 03 08:13:18 MST 2014
Dear all,

I need to generate a hex file from the axf file to use with Flash Magic.
I need to have the LPC Checksum computed correctly to be detected by the bootloader.

Accordingly to this http://support.code-red-tech.com/CodeRedWiki/OutputFormats it's recommended to generate the hex file from the bin file. But as my application is designed to run from 0x8000 it doesn't work as the bin file do not keep the address offset from the axf. Generating the hex directly from the axf is right but have no checksum...

Any idea how to proceed ?

Thanks in advance

0 件の賞賛
返信
3 返答(返信)

1,135件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by cfb on Tue Apr 08 15:27:10 MST 2014
FlashMagic has options that allow you to generate a checksum for a HEX file. Check the FlashMagic manual for details.
0 件の賞賛
返信

1,135件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by pgr on Fri Apr 04 08:57:33 MST 2014
I have bootloader at address 0x0000 that start the application at 0x800 and would be happy to use the same validity criterion as the one used by NXP...
0 件の賞賛
返信

1,135件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Thu Apr 03 10:27:25 MST 2014
If it runs from 0x8000, why do you need a checksum? The checksum only applies to the first few vectors and is located at address 0x1c IIRC.
0 件の賞賛
返信