Why not just increment a VAR with a timer. When a Keep Alive is received the VAR drops back to zero. If the VAR reaches "X" then re-boot.
No ASM if PBP interrupts are used.
Why not just increment a VAR with a timer. When a Keep Alive is received the VAR drops back to zero. If the VAR reaches "X" then re-boot.
No ASM if PBP interrupts are used.
Dave
Always wear safety glasses while programming.
yes that's the basic idea in the code. the core code like that seems to be the easy part - how are you going to;
1. listen to a USB port for certain event? what will the event look like, what will the PICBASIC code look like?
2. Write a program in Windows(7) that does the PC side of sending that 'event' down the USB cable which ultimately resets the watchdog timer etc.
This might help you out.
http://www.picbasic.co.uk/forum/cont...ns-for-Dummies!
USBIN on the MCU side. A simple program on the PC to send data.
Dave
Always wear safety glasses while programming.
Here just happens to be a thread on VB and serial running.
Might find everything you need. One stop shop.
Let us know how it goes. Intersting project.
Dave
Always wear safety glasses while programming.
http://www.picbasic.co.uk/forum/showthread.php?t=13609
Sorry , that is the second time I did that today.
Dave
Always wear safety glasses while programming.
Bookmarks