LPCOpen Platform for LPC18XX/43XX microcontrollers  18XX43XX
LPCOpen Platform for the NXP LPC18XX/43XX family of Microcontrollers
Functions
iap_18xx_43xx.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, uint8_t flashBank)
 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, uint8_t flashBank)
 Erase sector. More...
 
uint8_t Chip_IAP_BlankCheckSector (uint32_t strSector, uint32_t endSector, uint8_t flashBank)
 Blank check a sector or multiples sector of on-chip flash memory. More...
 
uint32_t Chip_IAP_ReadPID ()
 Read part identification number. More...
 
uint8_t Chip_IAP_ReadBootCode ()
 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 ()
 IAP reinvoke ISP to invoke the bootloader in ISP mode. More...
 
uint32_t Chip_IAP_ReadUID ()
 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...
 
uint8_t Chip_IAP_SetBootFlashBank (uint8_t bankNum)
 Set active boot flash bank. More...