Author Topic: LPC2000 - option to reset after programming  (Read 7284 times)


  • Jr. Member
  • **
  • Posts: 6
    • View Profile
    • Email
LPC2000 - option to reset after programming
« on: March 09, 2008, 10:26:55 am »
There are situations where it would be useful to be able to force a device reset after successful programming (via software, not the reset pin).
The sort of situation I'm thinking about is where the bootloader is started using the 'reinvoke ISP' command from within the application. This allows the firmware upgrade process to be started down a serial link (via a serial command to the app software to invoke the bootloader), but there is then no way to remotely get out again.
I've done a couple of jobs recently where we temporarily installed a radio modem for remote configuring and diagnostics, and the ability to also reprogram firmware over the same link without writing our own IAP code would be nice.

This could be achieved fairly easily by downloading & executing a short piece of code that switched on the watchdog and allowed it to time out. (This would be preferable to a simple branch to 0 as it ensures all hardware is in its normal reset state)


Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2190
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: LPC2000 - option to reset after programming
« Reply #1 on: March 10, 2008, 08:39:58 am »
Good idea. I wonder if such a piece of code would execute from RAM. I will add this to the wish list.

Embedded Systems Academy, Inc.
support at esacademy dot com