OM13013,598 NXP Semiconductors, OM13013,598 Datasheet - Page 311

no-image

OM13013,598

Manufacturer Part Number
OM13013,598
Description
BOARD DEMO IAR LPC1227 JLINKLITE
Manufacturer
NXP Semiconductors
Series
-r
Datasheets

Specifications of OM13013,598

Design Resources
LPC122x-SK Brd Schematic
Processor To Be Evaluated
LPC1227
Processor Series
LPC122x
Data Bus Width
32 bit
Interface Type
UART, SSP, SPI, I2C
Cpu Core
ARM Cortex-M0
Maximum Operating Temperature
+ 85 C
Minimum Operating Temperature
- 40 C
Operating Supply Voltage
3 V to 3.6 V
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
568-6885
NXP Semiconductors
UM10441
User manual
20.7.2 Set Baud Rate <Baud Rate> <stop bit>
20.7.3 Echo <setting>
20.7.4 Write to RAM <start address> <number of bytes>
Table 291. ISP Set Baud Rate command
Table 292. ISP Echo command
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.
Command
Input
Return Code
Description
Example
Command
Input
Return Code
Description
Example
B
Baud Rate: 9600 | 19200 | 38400 | 57600 | 115200
Stop bit: 1 | 2
CMD_SUCCESS |
INVALID_BAUD_RATE |
INVALID_STOP_BIT |
PARAM_ERROR
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.
"B 57600 1<CR><LF>" sets the serial port to baud rate 57600 bps and 1 stop bit.
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.
All information provided in this document is subject to legal disclaimers.
Rev. 1 — 15 February 2011
Chapter 20: LPC122x Flash ISP/IAP
UM10441
© NXP B.V. 2011. All rights reserved.
311 of 442

Related parts for OM13013,598