René's URL Explorer Experiment


Title: How does the watchdog work? · feilipu/Arduino_FreeRTOS_Library · Discussion #117 · GitHub

Open Graph Title: How does the watchdog work? · feilipu/Arduino_FreeRTOS_Library · Discussion #117

X Title: How does the watchdog work? · feilipu/Arduino_FreeRTOS_Library · Discussion #117

Description: How does the watchdog work?

Open Graph Description: Hi! I am a bit confused by how the watchdog works in Arduino FreeRTOS. As I have to run my Unity tests in a task to use delay and stuff like that, it seems that I am triggering the watchdog. If I t...

X Description: Hi! I am a bit confused by how the watchdog works in Arduino FreeRTOS. As I have to run my Unity tests in a task to use delay and stuff like that, it seems that I am triggering the watchdog. If I t...

Opengraph URL: https://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/117

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"QAPage","mainEntity":{"@type":"Question","name":"How does the watchdog work?","text":"\u003cp dir=\"auto\"\u003eHi!\u003cbr\u003e\nI am a bit confused by how the watchdog works in Arduino FreeRTOS.\u003cbr\u003e\nAs I have to run my Unity tests in a task to use delay and stuff like that, it seems that I am triggering the watchdog.\u003cbr\u003e\nIf I try to set the watchdog, changing portUSE_WDTO instead seems to cause other things to change that also may cause the watchdog to trigger.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eTBH, it is very difficult to troubleshoot this, at least to me, so if anyone have an idea what to do, I'd be very happy. :-)\u003c/p\u003e","upvoteCount":1,"answerCount":2,"acceptedAnswer":{"@type":"Answer","text":"\u003cp dir=\"auto\"\u003eI'm not 100% sure how to answer your question, or perhaps to address your underlying concern.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eThe AVR ATmega Watchdog Timer (WDT) is a simple counter that can be configured on roll-over to a) reset the MCU, b) trigger an interrupt, c) trigger and interrupt and if the interrupt is unserviced reset the MCU on the next counter roll-over. The counter is incremented by an integrated oscillator, independent of any other oscillators in the MCU, which runs at nominally 128kHz.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eIn Arduino FreeRTOS the WDT is configured to firstly interrupt at roll-over and then at the second roll-over then reset the MCU. If you keep the global interrupt disabled for extended times then you will find that your MCU is resetting, but really 15ms + 15ms at 16MHz is a very long time.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eThere are \u003ca href=\"https://github.com/feilipu/Arduino_FreeRTOS_Library/issues/113\" data-hovercard-type=\"issue\" data-hovercard-url=\"/feilipu/Arduino_FreeRTOS_Library/issues/113/hovercard\"\u003eissue\u003c/a\u003e and \u003ca href=\"https://github.com/feilipu/Arduino_FreeRTOS_Library/issues/114\" data-hovercard-type=\"issue\" data-hovercard-url=\"/feilipu/Arduino_FreeRTOS_Library/issues/114/hovercard\"\u003eissue \u003c/a\u003ehere on the Arduino delay function, and the FreeRTOS delay function.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003ePerhaps they will cast some light on the question for you too?\u003c/p\u003e","upvoteCount":2,"url":"https://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/117#discussioncomment-5247500"}}}

route-pattern/_view_fragments/Voltron::DiscussionsFragmentsController/show/:user_id/:repository/:discussion_number/discussion_layout(.:format)
route-controllervoltron_discussions_fragments
route-actiondiscussion_layout
fetch-noncev2:e1e1aea6-7309-e254-b6cb-13d7201f51f6
current-catalog-service-hash9f0abe34da433c9b6db74bffa2466494a717b579a96b30a5d252e5090baea7be
request-idDB28:10A7C3:28AB3B:3AA27C:6A61E2E7
html-safe-nonce3d97d4637fd9b6bcd12d246aa81eff9d43c0d4744c7ea29d6020414d83b8d45b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjI4OjEwQTdDMzoyOEFCM0I6M0FBMjdDOjZBNjFFMkU3IiwidmlzaXRvcl9pZCI6IjUxNzQ5NTgxMDA0NzU2NjcxNzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7b4746f1aaf3d4e2bd03ca0d8f9ca110ab90b2b7a304f496b87abeb1621741a0
hovercard-subject-tagdiscussion:4942835
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/discussions_fragments/discussion_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/Voltron::DiscussionsFragmentsController/show/feilipu/Arduino_FreeRTOS_Library/117/discussion_layout
twitter:imagehttps://opengraph.githubassets.com/68fedbc51a82b287b03ca814a63b98eeb032ed68e047fc4a46b7386aaffe246b/feilipu/Arduino_FreeRTOS_Library/discussions/117
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/68fedbc51a82b287b03ca814a63b98eeb032ed68e047fc4a46b7386aaffe246b/feilipu/Arduino_FreeRTOS_Library/discussions/117
og:image:altHi! I am a bit confused by how the watchdog works in Arduino FreeRTOS. As I have to run my Unity tests in a task to use delay and stuff like that, it seems that I am triggering the watchdog. If I t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb2de8c74e5e61e893155ba46ee41bc66170c1644cb795adefa8386d490f7781c
turbo-cache-controlno-preview
go-importgithub.com/feilipu/Arduino_FreeRTOS_Library git https://github.com/feilipu/Arduino_FreeRTOS_Library.git
octolytics-dimension-user_id3955592
octolytics-dimension-user_loginfeilipu
octolytics-dimension-repository_id46898167
octolytics-dimension-repository_nwofeilipu/Arduino_FreeRTOS_Library
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id46898167
octolytics-dimension-repository_network_root_nwofeilipu/Arduino_FreeRTOS_Library
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released1866027ded575df8a15c731dd8b9986c9483ceb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/117#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeilipu%2FArduino_FreeRTOS_Library%2Fdiscussions%2F117
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeilipu%2FArduino_FreeRTOS_Library%2Fdiscussions%2F117
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fdiscussions_fragments%2Fdiscussion_layout&source=header-repo&source_repo=feilipu%2FArduino_FreeRTOS_Library
Reloadhttps://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/117
Reloadhttps://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/117
Reloadhttps://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/117
feilipu https://github.com/feilipu
Arduino_FreeRTOS_Libraryhttps://github.com/feilipu/Arduino_FreeRTOS_Library
Notifications https://github.com/login?return_to=%2Ffeilipu%2FArduino_FreeRTOS_Library
Fork 217 https://github.com/login?return_to=%2Ffeilipu%2FArduino_FreeRTOS_Library
Star 957 https://github.com/login?return_to=%2Ffeilipu%2FArduino_FreeRTOS_Library
Code https://github.com/feilipu/Arduino_FreeRTOS_Library
Issues 2 https://github.com/feilipu/Arduino_FreeRTOS_Library/issues
Pull requests 1 https://github.com/feilipu/Arduino_FreeRTOS_Library/pulls
Discussions https://github.com/feilipu/Arduino_FreeRTOS_Library/discussions
Actions https://github.com/feilipu/Arduino_FreeRTOS_Library/actions
Projects https://github.com/feilipu/Arduino_FreeRTOS_Library/projects
Wiki https://github.com/feilipu/Arduino_FreeRTOS_Library/wiki
Security and quality 0 https://github.com/feilipu/Arduino_FreeRTOS_Library/security
Insights https://github.com/feilipu/Arduino_FreeRTOS_Library/pulse
Code https://github.com/feilipu/Arduino_FreeRTOS_Library
Issues https://github.com/feilipu/Arduino_FreeRTOS_Library/issues
Pull requests https://github.com/feilipu/Arduino_FreeRTOS_Library/pulls
Discussions https://github.com/feilipu/Arduino_FreeRTOS_Library/discussions
Actions https://github.com/feilipu/Arduino_FreeRTOS_Library/actions
Projects https://github.com/feilipu/Arduino_FreeRTOS_Library/projects
Wiki https://github.com/feilipu/Arduino_FreeRTOS_Library/wiki
Security and quality https://github.com/feilipu/Arduino_FreeRTOS_Library/security
Insights https://github.com/feilipu/Arduino_FreeRTOS_Library/pulse
Answered https://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/117#discussioncomment-5247500
feilipuhttps://github.com/feilipu
nicklasb https://github.com/nicklasb
Q&Ahttps://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/categories/q-a
How does the watchdog work? https://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/117#top
nicklasb https://github.com/nicklasb
Answered https://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/117#discussioncomment-5247500
feilipuhttps://github.com/feilipu
Return to tophttps://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/117#top
Please reload this pagehttps://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/117
https://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/117
Please reload this pagehttps://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/117
https://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/117
nicklasb https://github.com/nicklasb
Mar 8, 2023 https://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/117#discussion-4942835
Give feedback.https://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/117
feilipu https://github.com/feilipu
Mar 8, 2023 https://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/117#discussioncomment-5247500
View full answer https://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/117#discussioncomment-5247500
Oldest https://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/117?sort=old
Newest https://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/117?sort=new
Top https://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/117?sort=top
Please reload this pagehttps://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/117
https://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/117
Please reload this pagehttps://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/117
https://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/117
feilipu https://github.com/feilipu
Mar 8, 2023 https://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/117#discussioncomment-5247500
issuehttps://github.com/feilipu/Arduino_FreeRTOS_Library/issues/113
issue https://github.com/feilipu/Arduino_FreeRTOS_Library/issues/114
Give feedback.https://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/117
nicklasbhttps://github.com/nicklasb
Please reload this pagehttps://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/117
https://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/117
Please reload this pagehttps://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/117
https://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/117
nicklasb https://github.com/nicklasb
Mar 9, 2023 https://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/117#discussioncomment-5247791
@feilipuhttps://github.com/feilipu
Give feedback.https://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/117
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeilipu%2FArduino_FreeRTOS_Library%2Fdiscussions%2F117
🙏 Q&A https://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/categories/q-a
question https://github.com/feilipu/Arduino_FreeRTOS_Library/discussions?discussions_q=label%3Aquestion
https://github.com/nicklasb
https://github.com/feilipu
https://github.com/feilipu/Arduino_FreeRTOS_Library/discussions/117
https://github.com/settings/replies?return_to=1
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.