
DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10360_0
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 00.06 — 5 June 2009
596 of 808
NXP Semiconductors
UM10360
Chapter 32: LPC17xx Flash memory interface and programming
7.1 Unlock <Unlock code>
7.2 Set Baud Rate <Baud Rate> <stop bit>
[1]
ISP entry after reset uses the on chip IRC and PLL to run the device at CCLK = 14.748 MHz
Read Boot Code version K
Read serial number
N
Compare
M <address1> <address2> <number of bytes>
Table 552. ISP command summary
ISP Command
Usage
Described in
Table 553. ISP Unlock command
Command
U
Input
Unlock code: 23130
10
Return Code
CMD_SUCCESS |
INVALID_CODE |
PARAM_ERROR
Description
This command is used to unlock Flash Write, Erase, and Go commands.
Example
"U 23130<CR><LF>" unlocks the Flash Write/Erase & Go commands.
Table 554. ISP Set Baud Rate command
Command
B
Input
Baud Rate: 9600 | 19200 | 38400 | 57600 | 115200 | 230400
Stop bit: 1 | 2
Return Code
CMD_SUCCESS |
INVALID_BAUD_RATE |
INVALID_STOP_BIT |
PARAM_ERROR
Description
This command is used to change the baud rate. The new baud rate is effective
after the command handler sends the CMD_SUCCESS return code.
Example
"B 57600 1<CR><LF>" sets the serial port to baud rate 57600 bps and 1 stop bit.
Table 555. Correlation between possible ISP baudrates and CCLK frequency (in MHz)
ISP Baudrate .vs.
CCLK Frequency
9600
19200
38400
57600
115200
230400
10.0000
+
+
+
11.0592
+
+
+
12.2880
+
+
+
14.7456
+
+
+
+
+
+
15.3600
+
18.4320
+
+
+
19.6608
+
+
+
24.5760
+
+
+
25.0000
+
+
+