 | Discussion Forum |  |
|
|
Watchdog to return from ISPNext Thread | Thread List | Previous Thread Start a Thread | Settings | Details | Message |
|---|
Read-Only Author Thomas Johansen Posted 2-Oct-2008 12:57 GMT Toolset ARM |  Watchdog to return from ISP Thomas Johansen 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 | | Read-Only Author Per Westermark Posted 2-Oct-2008 16:46 GMT Toolset ARM |  RE: Watchdog to return from ISP Per Westermark What is wrong with IAP programming? | | Read-Only Author Thomas Johansen Posted 3-Oct-2008 06:59 GMT Toolset ARM |  RE: Watchdog to return from ISP Thomas Johansen 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. /Thomas | | Read-Only Author Per Westermark Posted 3-Oct-2008 09:05 GMT Toolset ARM |  RE: Watchdog to return from ISP Per Westermark 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? | | Read-Only Author Thomas Johansen Posted 3-Oct-2008 10:24 GMT Toolset ARM |  RE: Watchdog to return from ISP Thomas Johansen Yes, thats a good question?? :-) Is there any standard code for IAP bootloader? | |
Next Thread | Thread List | Previous Thread Start a Thread | Settings |
|