UM10375 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2011. All rights reserved.
User manual Rev. 3 — 14 June 2011 324 of 368
NXP Semiconductors
UM10375
Chapter 21: LPC13xx Flash memory programming firmware
21.10 Boot process flowchart
(1) For details on handling the crystal frequency, see Section 21.14.8.
(2) For details on available ISP commands based on the CRP settings, see Section 21.12
.
Fig 63. Boot process flowchart
RESET
INITIALIZE
RECEIVE CRYSTAL FREQUENCY
RUN ISP COMMAND HANDLER
RUN AUTO-BAUD
CRP1/2/3
ENABLED?
WATCHDOG
FLAG SET?
CRP3/NO_ISP
ENABLED?
ENTER ISP
MODE?
(PIO0_1 = LOW)
USB BOOT?
(PIO0_3 = HIGH)
USER CODE
VALID?
USER CODE
VALID?
AUTO-BAUD
SUCCESSFUL?
EXECUTE INTERNAL
USER CODE
ENABLE DEBUG
yes
yes
yes
yes
yes
yes
yes
yes
no
no
no
no
nono
no
no
ENUMERATE AS MSC
DEVICE TO PC
A
A
boot from
UART
boot from USB
LPC134x only