Hi Folks,
I'm trying to add watchdog to code around flash writing in case of lock up. To start with, I used the TI example flash_programming_cpu01 in controlSuite. I added ServiceDog() in user-defined function Fapi_serviceWatchdogTimer(), and also the code to enable and disable watchdog before and after flash writing (Example_CallFlashAPI()). However, the example does not work anymore afterwards. It always ended up in an Example _Error() function. It would work fine if I simply remove/comment-out "ServiceDog" line from Fapi_serviceWatchdogTimer(). You can try this easily by simply adding "SericeDog() in Fapi_serviceWatchdogTimer() in the TI example. Do you have any idea or suggestions on how and why? Thanks!