首页 > 其他 > 详细

LPC1800 and LPC4300 Boot

时间:2015-09-02 20:36:18      阅读:331      评论:0      收藏:0      [点我收藏+]

When programming and running code from the external flash, it is particularly important to make sure that you have the boot pins P2_9, P2_8, P1_2, and P1_1 are correctly connected so that the MCU starts execution from the correct memory address. For more details, please see the NXP documentation.

If the boot pins are incorrectly set, then this will typically result in the initial default breakpoint set by the debugger on main() not been reached. You can confirm if this is the case by clicking on suspend icon to pause execution (when you fail to hit the initial breakpoint) and then looking at the address of the PC. If you built for SPIFI, then the address of the PC should be 0x14xx xxxx, whereas if you built for EMC (SST), then the address of the PC should be0x1Cxx xxxx.

 

BOOT pins example (Hitex LPC1850/4350 board)

For example, for the Hitex LPC1850/4350 board, you need to have the BOOT jumpers configued as follows :

  • For SPIFI flash

    • BOOT1 connected across pins 1 and 2
    • BOOT2, BOOT3, BOOT4 connected across pins 2 and 3
  • For EMC SST flash

    • BOOT1, BOOT2 connected across pins 1 and 2
    • BOOT3, BOOT4 connected across pins 2 and 3

Note : 

A power on reset is definitely required after changing the BOOT pin settings.

技术分享

技术分享

 

LPC1800 and LPC4300 Boot

原文:http://www.cnblogs.com/shangdawei/p/4779272.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!