watchdog_get_count() never decrements #1492

Open
opened 2023-09-05 05:43:00 -05:00 by aallan · 5 comments
aallan commented 2023-09-05 05:43:00 -05:00 (Migrated from github.com)

An issue was raised on pico-feedback around the watchdog_get_count() never decrementing, see raspberrypi/pico-feedback#349. This was an issue with PlatformIO and the @earlephilhower Arduino core.

However, @JamesH65 mentioned that it is also present in the SDK, so raising here.

An issue was raised on pico-feedback around the `watchdog_get_count()` never decrementing, see raspberrypi/pico-feedback#349. This was an issue with PlatformIO and the @earlephilhower Arduino core. However, @JamesH65 mentioned that it is also present in the SDK, so raising here.
kilograham commented 2023-09-07 10:06:43 -05:00 (Migrated from github.com)

This appears to be an RP2040 erratum, which will need to be documented

This appears to be an RP2040 erratum, which will need to be documented
kilograham commented 2023-12-14 05:43:34 -06:00 (Migrated from github.com)

we should fix the documentation to say it doesnt work

we should fix the documentation to say it doesnt work
kilograham commented 2024-08-09 14:25:04 -05:00 (Migrated from github.com)

This is documented in the code; happily it even works on RP2350

(note function has a new preferred name watchdog_get_time_remaining_ms()

This is documented in the code; happily it even works on RP2350 (note function has a new preferred name `watchdog_get_time_remaining_ms()`
cpottle9 commented 2025-04-30 14:54:42 -05:00 (Migrated from github.com)

This issue needs to be documented in other places.
Many people do not read the SDK source code.

Specifically in:

  • the RP2040 datasheet as an errata and additional detail in the description of the watchdog CTRL register.
  • online documentation hardware_watchdog
This issue needs to be documented in other places. Many people do not read the SDK source code. Specifically in: - the RP2040 datasheet as an errata and additional detail in the description of the watchdog CTRL register. - online documentation [hardware_watchdog](https://www.raspberrypi.com/documentation/pico-sdk/hardware.html#group_hardware_watchdog)
kilograham commented 2025-05-01 10:26:48 -05:00 (Migrated from github.com)

still needs an errata - also the old function name should probably link to the new function name in the docs (which documents the limitation)

still needs an errata - also the old function name should probably link to the new function name in the docs (which documents the limitation)
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-raspberrypi/pico-sdk#1492
No description provided.