Hi,
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.
Thank you!
Erik
call my Skype nissim.test
The solution is a software CSR1010 software pules of unique high /low and 8051 will monitor it and will command csr1010 power on/off for reset.
We won't be able to make a hardware change at this point. So, I'm looking for "firmware only" solution. Do you think its possible that 8051 can write to the system reset register? I mean, does it have access to that address space?
I presume you like to reset CSR1010 after its firmware is stacked.
In this mode, you can't send a command over UART to it, since the code in CSR1010 is in freeze mode. No UART code that will receive the incoming command.
There is no list of CSR1010 registers
CSR1010 will reset itself in 30 sec when it FW stacked. the time for reset can be set shortly.
call my Skype is the best way to solve your problem