Jump to content
Sign in to follow this  
MiH

Watchdog+delay_ms(xx)

Recommended Posts

I need use the "watchdog" and my code contains a few "delay_ms()" calls. ASM code generated by C2C don't reset the watchdog in the delay_.. calls.Exist some solutions?

Share this post


Link to post
Share on other sites
Guest Pavel

I'd try to write a .pat script that will handle this issue. (Given that you don't change the clock frequency since the code generated for delay_ms is different for different frequencies and a .pat script created to solve the watchdog problem for the code that runs under certain clock rate may not work if this clock rate gets changed)

 

Regards,

Pavel

Share this post


Link to post
Share on other sites

Your content will need to be approved by a moderator

Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×