25.08.2015 Views

UM10139

UM10139 Volume 1: LPC214x User Manual - Fab@Home

UM10139 Volume 1: LPC214x User Manual - Fab@Home

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Philips SemiconductorsVolume 1<strong>UM10139</strong>Chapter 21: Flash MemoryARM REGISTER r0COMMAND CODEPARAMETER 1PARAMETER 2CommandparametertableARM REGISTER r1PARAMETER nSTATUS CODERESULT 1RESULT 2Commandresult tableRESULT nFig 67. IAP Parameter passing21.9.1 Prepare sector(s) for write operationThis command makes flash write/erase operation a two step process.Table 306: IAP Prepare sector(s) for write operation commandCommandPrepare sector(s) for write operationInput Command code: 50 10Param0: Start Sector NumberParam1: End Sector Number (should be greater than or equal to start sectornumber).Return Code CMD_SUCCESS |BUSY |INVALID_SECTORResult NoneDescription This command must be executed before executing "Copy RAM to Flash" or "EraseSector(s)" command. Successful execution of the "Copy RAM to Flash" or "EraseSector(s)" command causes relevant sectors to be protected again. The bootsector can not be prepared by this command. To prepare a single sector use thesame "Start" and "End" sector numbers.© Koninklijke Philips Electronics N.V. 2005. All rights reserved.User manual Rev. 01 — 15 August 2005 307

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!