Would it be technically possible to build a watchdog from the 8051?
I know you are thinking "why do this when a watchdog is provided by CSR already". My answer is that this watchdog doesn't seem to be a hardware watchdog. It seems to be tied to some low level firmware that is working off of a scheduler. It's meant to watchdog my application code, but not low-level CSR code. I know this because I've had devices get stuck in a bad state indefinitely (they never get reset by the watchdog). After power cycling though the firmware recovers. I know the watchdog is enabled because if I stick a while(1) in my project the watchdog does work.
If it is possible, I would need to know the address of the reset register. If anyone has any details on this please let me know. I will gladly post the assembly code in this thread if I am successful.