
UM10800
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2016. All rights reserved.
User manual
Rev. 1.2 — 5 October 2016
374 of 487
NXP Semiconductors
UM10800
Chapter 25: LPC82x Flash In-System and In-Application Programming
25.6.1.3 Echo <setting>
25.6.1.4 Write to RAM <start address> <number of bytes>
The host should send the plain binary code after receiving the CMD_SUCCESS return
code. This ISP command handler responds with “OK<CR><LF>” when the transfer has
finished.
25.6.1.5 Read Memory <address> <number of bytes>
Reads the plain binary code of the data stream, followed by the CMD_SUCCESS return
code.
Table 315. 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.
Table 316. UART ISP Write to RAM command
Command
W
Input
Start Address:
RAM address where data bytes are to be written. This address
should be a word boundary.
Number of Bytes:
Number of bytes to be written. Count should be a multiple of 4
Return Code
CMD_SUCCESS |
ADDR_ERROR (Address not on word boundary) |
ADDR_NOT_MAPPED |
COUNT_ERROR (Byte count is not multiple of 4) |
PARAM_ERROR |
CODE_READ_PROTECTION_ENABLED
Description
This command is used to download data to RAM. This command is blocked when
code read protection levels 2 or 3 are enabled. Writing to addresses below
0x1000 0300 is disabled for CRP1.
Example
"W 268436224 4<CR><LF>" writes 4 bytes of data to address 0x1000 0300.