LPC1800 and LPC4300 Boot

Source: Internet
Author: User

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

If The boot pins is incorrectly set, then this would typically result in the initial default breakpoint set by the Debugge R on Main () is not been reached. You can confirm if this is the case by clicking on suspend icon to pause execution (when your fail to hits the initial break Point) and then looking at the address of the PC. If you built for Spifi and then the address of the PC should is 0x14xx xxxx, whereas if you built for EMC (SST), the n 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 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 was definitely required after changing the BOOT pin settings.

LPC1800 and LPC4300 Boot

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.