© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
User manual
Rev. 01 — 15 August 2005
298
Philips Semiconductors
UM10139
Volume 1
Chapter 21: Flash Memory
21.8.1 Unlock
<unlock
code>
21.8.2 Set Baud Rate <baud rate> <stop bit>
Table 288: ISP command summary
ISP Command
Usage
Described in
Unlock
U <Unlock Code>
Set Baud Rate
B <Baud Rate> <stop bit>
Echo
A <setting>
Write to RAM
W <start address> <number of bytes>
Read Memory
R <address> <number of bytes>
Prepare sector(s) for
write operation
P <start sector number> <end sector number>
Copy RAM to Flash
C <Flash address> <RAM address> <number of bytes>
Go
G <address> <Mode>
Erase sector(s)
E <start sector number> <end sector number>
Blank check sector(s)
I <start sector number> <end sector number>
Read Part ID
J
Read Boot code version
K
Compare
M <address1> <address2> <number of bytes>
Table 289: 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 290: 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.