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?
command = (uint32_t) 57;
command = 1;
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.