A hardware component (such as a HRM, Accelerometer, or NOR Flash Chip) is wedged and not.Memory gets corrupted and code winds up in an infinite loop.Some of the most common I’ve run into over the There are numerous ways an embedded device can hang. Usually “fed” by toggling a GPIO line from the MCU being monitored. NOTE: It also worth mentioning that for some systems where catching system hangs is missionĬritical, there are even dedicated ICs which can be used 2. The rationale here is if software is unable to reset the watchdog counter, the system is not running as expected and needs to be reset to get back to a sane state. This operation is usually referred to as “feeding”, “kicking”, or “patting” the dog. Once enabled, the system software needs to reset the counter periodically to prevent the device from rebooting. The peripheral is typically disabled by default and it’s the programmers responsibility to configure and enable it in software. When the count reaches zero, the hardware will automatically reset the device. This peripheral is comprised of a counter which decrements automatically by the hardware each clock cycle. Most chip vendors include an isolated RTL block known as a “Watchdog Timer” in a MCU. Using GDB Python to prevent Software Watchdog Misfires.Configuring the NRF52 Hardware Watchdog.Examining the NRF52840 Hardware Watchdog Behavior.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |