Can anyone give a hint or code example, how to activate and feed the watchdog of the mini2440? thanks
How to use watchdog with C?
Hi, take a look at the following link. There you can download a user's manual where all the register names and its features are described: http://www.samsung.com/global/business/semiconductor/mobilesocProductDow...
Hi! I found a simple solution if anyone is interested: To start the watchdog, you need to open /dev/watchdog as a file for writing. Feeding the watchdog (and resetting) is done with writing any character to the file. simple example from http://www.linuxhq.com/kernel/v2.4/19/Documentation/watchdog-api.txt int main(int argc, const char *argv[]) { int fd=open("/dev/watchdog",O_WRONLY); if (fd==-1) { perror("watchdog"); exit(1); } while(1) { write(fd, "\0", 1); sleep(10); } }