LPCOpen Platform for LPC112X microcontrollers  112X
LPCOpen Platform for the NXP LPC112X family of Microcontrollers
Functions
iap.c File Reference
#include "chip.h"

Go to the source code of this file.

Functions

uint8_t Chip_IAP_PreSectorForReadWrite (uint32_t strSector, uint32_t endSector)
 Prepare sector for write operation. More...
 
uint8_t Chip_IAP_CopyRamToFlash (uint32_t dstAdd, uint32_t *srcAdd, uint32_t byteswrt)
 Copy RAM to flash. More...
 
uint8_t Chip_IAP_EraseSector (uint32_t strSector, uint32_t endSector)
 Erase sector. More...
 
uint8_t Chip_IAP_BlankCheckSector (uint32_t strSector, uint32_t endSector)
 Blank check a sector or multiples sector of on-chip flash memory. More...
 
uint32_t Chip_IAP_ReadPID (void)
 Read part identification number. More...
 
uint32_t Chip_IAP_ReadBootCode (void)
 Read boot code version number. More...
 
uint8_t Chip_IAP_Compare (uint32_t dstAdd, uint32_t srcAdd, uint32_t bytescmp)
 Compare the memory contents at two locations. More...
 
uint8_t Chip_IAP_ReinvokeISP (void)
 IAP reinvoke ISP to invoke the bootloader in ISP mode. More...
 
uint32_t Chip_IAP_ReadUID (uint32_t *uid)
 Read the unique ID. More...
 
uint8_t Chip_IAP_ErasePage (uint32_t strPage, uint32_t endPage)
 Erase a page or multiple papers of on-chip flash memory. More...