How to self-reset LPC12xx device after an IAP flash mass-erase ?

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by sylvain on Tue Dec 16 21:36:32 MST 2014

I'm wondering if anybody has a mechanism to trigger a self-reset after an IAP mass-erase (erase all user sectors) ?
I'm thinking of using the watchdog since code execution is not possible after mass-erase (? unless there is a trick not involving ram code execution). The spec is a little unclear regarding the mass-erase time so I'm not sure which timing I should set the watchdog to.
Spec notes max 20ms, but does not clearly state if the 20ms is for the whole operation, or 20ms max per sector.

If anybody has a suggestion it would be appreciated.

Thks in advance,