EasyManua.ls Logo

Philips LPC2129 - Page 275

Philips LPC2129
306 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Flash Memory System and Programming 275 May 03, 2004
Philips Semiconductors Preliminary User Manual
LPC2119/2129/2194/2292/2294ARM-based Microcontroller
Go <address> <Mode>
Erase sector(s) <start sector number> <end sector number>
Table 207: ISP Go command description
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: T (Execute program in Thumb Mode) | A (Execute program in ARM mode)
Return Code
CMD_SUCCESS |
ADDR_ERROR |
ADDR_NOT_MAPPED |
CMD_LOCKED |
PARAM_ERROR
CODE_READ_PROTECTION_ENABLED
Description
This command is used to execute (call) a program residing in RAM or Flash memory. It may not be
possible to return to ISP command handler once this command is successfully executed. If executed
code has ended with return instruction, ISP handler will resume with execution. As of Bootloader
rev. 1.61 this command is blocked when code read protection is enabled.
Example "G 0 A<CR><LF>" branches to address 0x0000 0000 in ARM mode.
Table 208: ISP Erase sector command description
Command E
Input
Start Sector Number
End Sector Number: Should be greater than or equal to start sector number.
Return Code
CMD_SUCCESS |
BUSY |
INVALID_SECTOR |
SECTOR_NOT_PREPARED_FOR_WRITE_OPERATION |
CMD_LOCKED |
PARAM_ERROR
CODE_READ_PROTECTION_ENABLED
Description
This command is used to erase a sector or multiple sectors of on-chip Flash memory. The boot
sector can not be erased by this command. To erase a single sector use the same "Start" and "End"
sector numbers. As of Bootloader rev. 1.61 this command is blocked when code read protection is
enabled.
Example "E 2 3<CR><LF>" erases the flash sectors 2 and 3.

Table of Contents

Related product manuals