LPC1102 规格书UM10249 Page:128 说到:
当MCU计算Sector0中地址0-8的CHECKSUM为0时,程序进入用户代码区。否则进入ISP区。
但我用Keil生成的代码,0-8的CHECKSUM不为零。
是不是MDK不支持LPC1102的编译?请高手解答。如果是该用什么软件来开发LPC1102?
Criterion for valid user code: The reserved Cortex-M0 exception vector location 7 (offset
0x 0000 001C in the vector table) should contain the 2’s complement of the check-sum of
table entries 0 through 6. This causes the checksum of the first 8 table entries to be 0. The
bootloader code checksums the first 8 locations in sector 0 of the flash. If the result is 0,
then execution control is transferred to the user code.
此帖出自
小平头技术问答
一周热门 更多>