I wanted to create a reset in my code after a certain event occurs, because for some untraceable reason, when this event occurs (radio transmission) the system hangs up. I have two SPI gadgets on the board, and although they both work, sometimes the radio hangs up. Likely a timing or interrupt problem.
So I decided to apply a watchdog timer to trigger after a radio tx, allowing 15 ms. before resetting. I activated it after the point in the code where a tx is called. That is not in the main loop, so I assumed it would only trigger once, each time I called for transmission. Boy was I wrong!
So now I have the timer resetting the Nano every 15 ms., and program upload is kaput. So have I bricked this Nano, or is there a way to foil the wdt and get new code into the chip?
Thanks in advance for any assistance.