>Log: A simple "reboot the PIC" function. I've not found this in jallib,
>which
>seems odd. It works for me, but I'd welcome opinions as to whether this is
>likely to work on a wide range of chips. Quite happy to remove it again if
>people don't approve...
>
>http://code.google.com/p/jallib/source/detail?r=3133
>
>It works on a number of chips, but not on all. Just two quick examples:
>PIC12F510 and PIC16F87 both do not have a "RESET" assembler instruction. Chips
>who do not have it should be recognised and a warning or error issued, or the
>reset could be "emulated" by setting some register values to default and
>jumping to wherever the reset vector is. Another workaround could be to
>activate the watchdog (if available) to a very short timeout and enter an
>infinite loop. But this is highly device-dependent and would probably better
>sit in the device files than in an extra library. It would be a lot of work,
>probably.
Greets,
Kiste
--
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en.