33#define IPMC_UPDATE_SECTOR_START 0x10
34#define IPMC_UPDATE_SECTOR_END 0x11
35#define IPMC_UPDATE_ADDRESS_OFFSET (IPMC_UPDATE_SECTOR_START << 12)
47uint8_t
program_page(uint32_t address, uint32_t *data, uint32_t size);
uint8_t bootloader_hpm_prepare_comp(void)
Definition lpc17_hpm.c:127
uint8_t ipmc_hpm_prepare_comp(void)
Definition lpc17_hpm.c:122
uint8_t bootloader_hpm_get_upgrade_status(void)
Definition lpc17_hpm.c:216
uint8_t ipmc_hpm_activate_firmware(void)
Definition lpc17_hpm.c:256
uint8_t bootloader_hpm_activate_firmware(void)
Definition lpc17_hpm.c:261
uint8_t ipmc_hpm_finish_upload(uint32_t image_size)
Definition lpc17_hpm.c:200
fw_type
Definition lpc17_hpm.h:37
@ APPLICATION
Definition lpc17_hpm.h:38
@ BOOTLOADER
Definition lpc17_hpm.h:39
uint8_t ipmc_hpm_upload_block(uint8_t *block, uint16_t size)
Definition lpc17_hpm.c:167
uint8_t ipmc_erase_sector(uint32_t sector_start, uint32_t sector_end)
Definition lpc17_hpm.c:294
uint8_t ipmc_hpm_get_upgrade_status(void)
Definition lpc17_hpm.c:210
uint8_t bootloader_hpm_upload_block(uint8_t *block, uint16_t size)
Definition lpc17_hpm.c:172
uint8_t program_page(uint32_t address, uint32_t *data, uint32_t size)
Definition lpc17_hpm.c:266
uint8_t bootloader_hpm_finish_upload(uint32_t image_size)
Definition lpc17_hpm.c:205