User Manual

UM10360 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2010. All rights reserved.
User manual Rev. 2 — 19 August 2010 619 of 840
NXP Semiconductors
UM10360
Chapter 32: LPC17xx Flash memory interface and programming
32.4 Boot process flowchart
(1) For details on handling the crystal frequency, see Section 32.8.9 “Re-invoke ISP” on page 636
(2) For details on available ISP commands based on the CRP settings see Section 32.6 “Code Read Protection (CRP)
Fig 137. Boot process flowchart
WATCHDOG
FLAG SET?
CRP1/2/3 ENABLED?
yes
no
INITIALIZE
RESET
ENABLE DEBUG
yes
RUN ISP COMMAND
HANDLER
2
RECEIVE CRYSTAL
FREQUENCY
1
no
AUTO-BAUD
SUCCESSFUL?
yes
RUN AUTO-BAUD
USER CODE
VALID?
yes
no
CRP3 ENABLED?
Enter ISP
MODE?
(P2.10=LOW)
USER CODE VALID?
yes
yes
no
yes
no no
A
A
EXECUTE INTERNAL
USER CODE