Isp commands, 1 unlock <unlock code, 2 set baud rate <baud rate> <stop bit – NXP Semiconductors LPC24XX UM10237 User Manual

Page 701: Nxp semiconductors

Advertising
background image

UM10237_4

© NXP B.V. 2009. All rights reserved.

User manual

Rev. 04 — 26 August 2009

701 of 792

NXP Semiconductors

UM10237

Chapter 31: LPC24XX On-chip bootloader for flashless parts

6.

ISP commands

The following commands are accepted by the ISP command handler. Detailed status
codes are supported for each command. The command handler sends the return code
INVALID_COMMAND when an undefined command is received. Commands and return
codes are in ASCII format.

CMD_SUCCESS is sent by ISP command handler only when received ISP command has
been completely executed and the new ISP command can be given by the host.
Exceptions from this rule are "Set Baud Rate", "Write to RAM", "Read Memory", and "Go"
commands.

6.1 Unlock <Unlock code>

6.2 Set Baud Rate <Baud Rate> <stop bit>

Table 630. ISP command summary

ISP Command

Usage

Described in

Unlock

U <Unlock Code>

Table 31–631

Set Baud Rate

B <Baud Rate> <stop bit>

Table 31–632

Echo

A <setting>

Table 31–634

Write to RAM

W <start address> <number of bytes>

Table 31–635

Read Memory

R <address> <number of bytes>

Table 31–636

Go

G <address> <Mode>

Table 31–637

Read Part ID

J

Table 31–638

Read Boot code version

K

Table 31–640

Compare

M <address1> <address2> <number of bytes>

Table 31–641

Table 631. 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 the Go command.

Example

"U 23130<CR><LF>" unlocks the Go command.

Table 632. ISP Set Baud Rate command

Command

B

Input

Baud Rate: 9600 | 19200 | 38400 | 57600 | 115200 | 230400

Stop bit: 1 | 2

Advertising