![NXP Semiconductors LCP43 Series User Manual Download Page 1182](http://html1.mh-extra.com/html/nxp-semiconductors/lcp43-series/lcp43-series_user-manual_17218171182.webp)
UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
User manual
Rev. 1.3 — 6 July 2012
1182 of 1269
NXP Semiconductors
UM10503
Chapter 46: LPC43xx flash programming/ISP and IAP
46.7.8 Go <address> <mode>
When the GO command is used, execution begins at the specified address (assuming it is
an executable address) with the device left as it was configured for the ISP code. The
PLL1 is configured to generate a CPU clock with a frequency of 96 MHz.
46.7.9 Erase sectors <start sector number> <end sector number> <flash
bank>
Table 1033.ISP Go command
Command
G
Input
Address:
Flash or RAM address from which the code execution is to be started.
This address should be on a word boundary.
Mode (retained for backward compatibility):
T (Execute program in Thumb
Mode) | A (not allowed).
Return Code
CMD_SUCCESS |
ADDR_ERROR |
ADDR_NOT_MAPPED |
CMD_LOCKED |
PARAM_ERROR |
CODE_READ_PROTECTION_ENABLED
Description
This command is used to execute a program residing in RAM or flash memory. It
may not be possible to return to the ISP command handler once this command is
successfully executed. This command is blocked when any level of code read
protection is enabled.
Example
"G 436208211 T<CR><LF>" branches to address 0x1A00 0253.
Table 1034.ISP Erase sector command
Command
E
Input
Start Sector Number
End Sector Number:
Should be greater than or equal to start sector number.
Flash bank
: Selects flash bank if the part supports more than on bank. 0 = flash
bank A, 1 = flash bank B.
Return Code
CMD_SUCCESS |
BUSY |
INVALID_SECTOR |
SECTOR_NOT_PREPARED_FOR_WRITE_OPERATION |
CMD_LOCKED |
PARAM_ERROR |
CODE_READ_PROTECTION_ENABLED | INVALID_FLASH_UNIT
Description
This command is used to erase one or more sectors of on-chip flash memory. This
command is blocked when code read protection level CRP3 is enabled. When code
read protection level CRP1 is enabled, individual sectors other than sector 0 can be
erased. All sectors can be erased at once in CRP1 and CRP2.
Example
"E 2 3 0<CR><LF>" erases the flash sectors 2 and 3 in flash bank A.