UM11029
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2017. All rights reserved.
User manual
Rev. 1.0 — 16 June 2017
60 of 515
NXP Semiconductors
UM11029
Chapter 5: LPC84x ISP and IAP
typedef struct {
uint8_t cmd;
/*!< Command ID */
uint8_t reserved; /*!< Should be zero. */
uint16_t sec_nr; /*!< Sector number.*/
} CmdEraseSectorParam_t;
/** Structure describing Bulk erase command packet format. */
typedef struct {
uint8_t cmd;
/*!< Command ID */
uint8_t reserved;
/*!< Should be zero. */
uint8_t start_sec;
/*!< Start Sector number.*/
uint8_t end_sec;
/*!< End Sector number.*/
} CmdBulkEraseParam_t;
/** Structure describing response packet with data. */
typedef struct {
CmdResponse_t hdr;
/*!< Response header. */
uint32_t data[SL_FLASH_BLOCK_SZ/4]; /*!< Data */
uint32_t crc32;
/*!< CRC32 of response packet. */
} CmdDataResp_t;
typedef enum
{