Hi Adrian,
I am not quite sure if you are using the code generated by Processor Expert.
Have you try to write your own code after select 'no' at 'Watchdog disable'? (For example: write your own code at line 301)
Or using the WatchDog_LDD component.

Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------