UM10237_2 © NXP B.V. 2008. All rights reserved.
User manual Rev. 02 — 19 December 2008 684 o f 792
NXP Semiconductors UM10237
Chapter 30: LPC24XX Flash memory programming firmware
9.1 Unlock <Unlock code>
9.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 Part ID J Table 30–616
Read Boot code version K Table 30–618
Compare M <address1> <address2> <numbe r of bytes> Table30–619
Table 604. ISP co mmand summary
ISP Command Usage Described in
Table 605. I SP Un lock command
Command U
Input Unlock code: 2313010
Return Code CMD_SUCCESS |
INVALID_CODE |
PARA M_ER ROR
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 606. ISP Set Bau d Rate co mma nd
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 |
PARA M_ER ROR
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 607. Correlation between po ssible ISP baudrates and CCLK frequency (inMHz)
ISP Baudrate .vs.
CCLK Frequency 9600 19200 38400 57600 115200 230400
10.0000 + + +
11.0592 + + +
12.2880 + + +
14.7456[1] ++++++
15.3600 +
18.4320 + + +
19.6608 + + +
24.5760 + + +
25.0000 + + +