Datasheet

UM10398 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved.
User manual Rev. 12.3 — 10 June 2014 425 of 547
NXP Semiconductors
UM10398
Chapter 26: LPC111x/LPC11Cxx Flash programming firmware
26.5.1 Unlock <Unlock code> (UART ISP)
26.5.2 Set Baud Rate <Baud Rate> <stop bit> (UART ISP)
26.5.3 Echo <setting> (UART ISP)
Blank check sector(s) I <start sector number> <end sector number> Table 385
Read Part ID J Table 386
Read Boot code version K Table 388
Compare M <address1> <address2> <number of bytes> Table 389
ReadUID N Table 390
Table 375. UART ISP command summary
ISP Command Usage Described in
Table 376. UART 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 377. UART ISP Set Baud Rate command
Command B
Input Baud Rate: 9600 | 19200 | 38400 | 57600 | 115200
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 378. UART ISP Echo command
Command A
Input Setting: ON = 1 | OFF = 0
Return Code CMD_SUCCESS |
PARAM_ERROR
Description The default setting for echo command is ON. When ON the ISP command handler
sends the received serial data back to the host.
Example "A 0<CR><LF>" turns echo off.