Philips LPC213 Series User Manual page 224

Table of Contents

Advertisement

Philips Semiconductors
Volume 1
Table 196: Correlation between possible ISP baudrates and external crystal frequency (in
ISP Baudrate .vs.
External Crystal Frequency
10.0000
11.0592
12.2880
14.7456
15.3600
18.4320
19.6608
24.5760
25.0000
20.8.3 Echo <setting>
Table 197: ISP Echo command
Command
Input
Return Code
Description
Example
20.8.4 Write to RAM <start address> <number of bytes>
The host should send the data only after receiving the CMD_SUCCESS return code. The
host should send the check-sum after transmitting 20 UU-encoded lines. The checksum is
generated by adding raw data (before UU-encoding) bytes and is reset after transmitting
20 UU-encoded lines. The length of any UU-encoded line should not exceed 61
characters(bytes) i.e. it can hold 45 data bytes. When the data fits in less then 20
UU-encoded lines then the check-sum should be of the actual number of bytes sent. The
ISP command handler compares it with the check-sum of the received bytes. If the
check-sum matches, the ISP command handler responds with "OK<CR><LF>" to
continue further transmission. If the check-sum does not match, the ISP command
handler responds with "RESEND<CR><LF>". In response the host should retransmit the
bytes.
User manual
MHz)
9600
+
+
+
+
+
+
+
+
+
A
Setting: ON = 1 | OFF = 0
CMD_SUCCESS |
PARAM_ERROR
The default setting for echo command is ON. When ON the ISP command handler
sends the received serial data back to the host.
"A 0<CR><LF>" turns echo off.
Rev. 01 — 24 June 2005
Chapter 20: Flash Memory
19200
38400
57600
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
UM10120
115200
230400
+
+
224

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lpc2131Lpc2132Lpc2134Lpc2136Lpc2138

Table of Contents