SPRAD44 june 2023 AM6442
This document demonstrates the U-Boot software watchdog implementation. The technique being used is the Real Time Interrupt (RTI).
In general, there are two types of watchdogs:
RTI is a software watchdog that is included in the AM6442 device. This a Digital Window Watchdog (DDWD).
There are seven RTI modules allocated in the MCU domain and Main domain. Table 1-1 is from the RTI Overview section in the AM64x/AM243x Technical Reference Manual.
Instance | Domain | |
---|---|---|
MCU | Main | |
MCU_RTI0 | ✓ | - |
RTI0 | - | ✓ |
RTI1 | - | ✓ |
RTI8 | - | ✓ |
RTI9 | - | ✓ |
RTI10 | - | ✓ |
RTI11 | - | ✓ |
Instances in the MCU domain:
Instances in the MAIN domain:
These are intended to function as a Digital Windowed Watchdog for the CPU core and are associated with the following items:
The U-Boot code is used to control the RTI0 due to fact that the U-Boot is mainly running on the A53 core0.
This application note provides information about:
Sometimes, the U-Boot gets stuck and the developer needs to reset the system without cold boot; the watchdog is needed at that time. For example, according to the AM64x/AM243x Processor Silicon Revision 1.0, 2.0 Errata, if the customer needs to have the ETH boot on the U-Boot, then the ETH gets stuck. When this happens, the RTI triggers the watchdog reset, then the ETH can be recovered again. For more information, see the patch attached in this document, and see the “eth_initialize()” function.
The AM64x SDK8.2 release is used in this document (Version: 08.02.00.17 Release date: 26 Apr 2022).