AnsweredAssumed Answered

Reinvoke ISP issue on a LPC802?

Question asked by t123456 on Jun 30, 2020
Latest reply on Jul 9, 2020 by Alice_Yang

Does anyone have an example of implementing the reinvoke_isp on a LPC802?
Also what is meant by this line in the manual "If using USART ISP mode, enable the clocks to the default before calling this command."? Are the clocks in default after a power reset?

int main(void)
command[0] = (uint32_t) 57;
command[1] = 1;
iap_entry(command, result);
return 0;

I know the hardware is correct because when I reset without any code loaded or reset and pull the ISP pin low I enter the Autobaud detection routine.
However, when I try to enter through software it goes to address 0x0F0003B6 and hangs. If I change the Type to anything other than one the iap_entry returns with an error.

I have tried setting the clocks in all sorts of ways without any luck.