reset mbed via USB

08 Dec 2011

Hello

is it possible to reset the processor on the mbed module via USB, in order to trigger a re-boot, without having to do a manual action like unplugging USB or pushing the reset button?

Wim

08 Dec 2011

if you are using a serial link, then you can send a 'BREAK' command (i think)

Hope this works for you

Cheers

Ceri

08 Dec 2011

yes, in the meantime found this : http://mbed.org/forum/mbed/post/4327/ This solved my issue. Thanks anyway, should try and search a little longer on the forum before posting questions I guess...

wim

08 Dec 2011

Is it possible to fake a Watchdog timeout by a software call?

08 Dec 2011

Hi John,

I think you can force a reboot by feeding the watchdog an incorrect sequence, e.g. by writing the two feed valeus in teh opposite order (0x55 then 0xAA instead of the usual 0xAA 0x55).

This certainly works on the older NXP ARM7 devices, though I've not yet tested it on the Cortex parts.

Hope this helps?

Jez

08 Dec 2011

Works like a charm!

Thanks Jez

08 Dec 2011

Hi John,

Glad to hear it helped ;-)

Cheers Jez