Content originally posted in LPCWare by pgeloso on Tue Jun 16 00:40:01 MST 2015
Hi,
the IAP address is inside a library of LPCOpne of LPCXpresso (lpc_chip_43xx): I think it's correct and it's pointing to the ROM.
/* Pointer to ROM IAP entry functions */
#define IAP_ENTRY_LOCATION (*((uint32_t *) 0x10400100))
static INLINE void iap_entry(unsigned int cmd_param[], unsigned int status_result[])
{
((IAP_ENTRY_T) IAP_ENTRY_LOCATION)(cmd_param, status_result);
}
IAP works fine, the problem is only related to sector 0.
Sorry, I don't understand what you mean with "!thumb bit set"..could you please explain it?
Tbnaks
Pietro