MKEARNY
08-13-04, 04:50 AM
I would like to use the watchdog timer on my isopod to cause a reset after 10ms or so.
I'm controlling some motors that could destroy some expensive hardware, if the isopod were to pin the PWM output at 100%.
I have read the motorola 56805 datasheet and see that there is a COPTO and COPCTL register at 0x0F30 and 0x0F31. I have tried to write to the Computer Operating Properly Timeout (COPTO) register, but I can't read back the number I wrote.
Here's what I tried:
HEX
0100 0FC1 !
When I enable the watchdog timer by writing a 1 to the COPCTL register, my isopod just freezes up. Shouln't it perform a reset and return a ISOMAX prompt?
( I know I need to write a AAAA and 5555 to the COP service register before the timer times out. )
How do I get the watchdog timer to work?
Is this supported by Isomax? Does Isomax keep me from talking to certain registers?
Thanks,
Mike
I'm controlling some motors that could destroy some expensive hardware, if the isopod were to pin the PWM output at 100%.
I have read the motorola 56805 datasheet and see that there is a COPTO and COPCTL register at 0x0F30 and 0x0F31. I have tried to write to the Computer Operating Properly Timeout (COPTO) register, but I can't read back the number I wrote.
Here's what I tried:
HEX
0100 0FC1 !
When I enable the watchdog timer by writing a 1 to the COPCTL register, my isopod just freezes up. Shouln't it perform a reset and return a ISOMAX prompt?
( I know I need to write a AAAA and 5555 to the COP service register before the timer times out. )
How do I get the watchdog timer to work?
Is this supported by Isomax? Does Isomax keep me from talking to certain registers?
Thanks,
Mike