[En-Nut-Discussion] Should free test DEADBEEF by default?
Nathan Moore
nategoose at gmail.com
Tue Apr 22 17:35:07 CEST 2008
> Maybe adding some fatal error function is
> reasonable.
I like this idea. A function pointer that if set will be called to log in
some way what the reason for the reset
is, before actually resetting. The function would have to be carefully
written as to reduce the chance that
it relies on something that might be the cause of the error, which in this
case would be dynamic memory.
It could be as simple as storing a code in eeprom or as elaborate as doing a
core dump to xflash.
Nathan
More information about the En-Nut-Discussion
mailing list