Hi,
some problem: after flashing the internal flash with IAP, i want to
perform a restart. I know it works good with the watchdog, using this
commands:
WDTC = 0x00FFF;
WDMOD = 0x03;
WDFEED= 0xAA;
WDFEED= 0x55;
but I don't want to use the watchdog, I will use a software reset. So
i write this code:
void (*reset)(void);
void function (..)
{
... iap routines ...
reset = (void (*)(void))(0x0000);
reset();
}
so it do what I want - jump to the reset handler , but my program
will not start (when i doing a reset, by pressing the reset-button on
my phycore board it will runs great !) - so what is wrong or what can
I do ? Must changing some registers ?
Thanks for every hint
MatthiasMessage
LPC2294 Software Reset vs. Watchdog
2005-09-09 by mpwalter2005
Attachments
- No local attachments were found for this message.