[LPC8N04]LPC Boot ROM checksum

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

[LPC8N04]LPC Boot ROM checksum

[LPC8N04]LPC Boot ROM checksum

In newer version of LPC Boot ROM , checksum is added in location 7 ( offset 0x0000001C in vector table ) of Boot ROM. For some LPC device, for example LPC8N04, older Boot ROM version 0.12 (equipped in Rev B board) doesnt contain checksum but newer version 0.14( equipped in Rev C board ) adds it. Boot ROM checksum is a criteria for valid user code. Bootloader can jump to user code only when detects checksum value correct. Otherwise, it stays at boot code.

 

Scenario:

User may have this annoying problem: the program runs well if download code to LPC flash with debugger. However power off and on again, the code wont run any more.

If you also experience same in field, you may consider the possibility of Boot ROM checksum failed.

This document tells how overcome this problem.

1. calculate checksum value by hand

2. calculate checksum value with Keil elfdwt.exe

For detail, see attached article.

ラベル(1)
添付
評価なし
バージョン履歴
最終更新日:
‎09-16-2019 08:11 AM
更新者: