Hi,
I am using LPC2364 controller. I tried to invoke ISP via IAP. I
used the below code.
#define IAP_LOCATION 0x7FFFFFF1
#define IAP_CMD_ReinvokeISP 57
#define iap_entry(a, b) ((void (*)())(IAP_LOCATION))(a, b)
void ReinvokeIAP()
{
/* disconnect PLL */ PLLCON = 0x00; PLLFEED = 0xaa; PLLFEED =
0x55; CLKSRCSEL=0x00; command[0] = IAP_CMD_ReinvokeISP ;
iap_entry(command, result);
}
But the controller is behaving differently.
It responds to the command sent via UART
↧