EasyManua.ls Logo

Philips LPC2101 - Set Baud Rate <Baud Rate> <Stop Bit; Unlock <Unlock Code

Philips LPC2101
279 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
© Koninklijke Philips Electronics N.V. 2006. All rights reserved.
User manual Rev. 01 — 12 January 2006 236
Philips Semiconductors
UM10161
Volume 1 Chapter 19: Flash memory
19.8.1 Unlock <unlock code>
19.8.2 Set Baud Rate <baud rate> <stop bit>
Read Part ID J Ta bl e 2 21
Read Boot code version K Tab le 2 23
Compare M <address1> <address2> <number of bytes> Ta bl e 2 24
Table 209: ISP command summary
ISP Command Usage Described in
Table 210: ISP Unlock command
Command U
Input Unlock code: 23130
10
Return Code CMD_SUCCESS |
INVALID_CODE |
PA RA M_ E RR OR
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 211: 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 |
PA RA M_ E RR OR
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 212: Correlation between possible ISP baudrates and external crystal frequency (in
MHz)
ISP Baudrate vs.
External Crystal 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 + + +

Table of Contents

Related product manuals