Hallo
Im planning to use the ISP for firmware updating my application, by letting the application itself set the P0.14 pin low and then reboot the MCU (ISP then entered) But when I do that, then ISP will be entered when I jump to reset vector because P0.14 still is cleard. The only way is to let the watchdog reboot the MCU and then thereby restting the P0.14. That mean I have to set the watchdog before I enter ISP mode with enough timeout to finish the programming. But would it not be a solution too, to jump to application start after programming with the ISP Go command? Then the application would reset the P0.14 again?
/Thomas
What is wrong with IAP programming?
Absolutly nothing. Im using IAP to store data in flash. The good thing with the ISP that its written. I just has to send the right commands to it for updating with new firmware. Using IAP I have to write some ekstra code to handle the serial communication and the programming.
The question is: Is it more work to try to fight with the ISP to get it to automatically reboot (at the correct time for any programming baudrate supported) or to copy some standard code for UART communication and possibly X-Modem for data transfer?
Yes, thats a good question?? :-)
Is there any standard code for IAP bootloader?