UART Pressure Test
Test Methods
- Enable the
uart1anduart2nodes on the image (both sending and receiving), and short theTXandRXpins ofuart1with theRXandTXpins ofuart2on the hardware. - Execute the test scripts:
sh uart1test.sh &,sh uart2test.sh &.
Test Criteria
- At high temperature (45°C), low temperature (-10°C), and normal temperature, the program should run normally without restart or hanging.
- There should be no abnormal prints in the LOG such as
fail,error, ortimeout. - The program should run stably for 48 hours.
Appendix
The test source code and compilation can refer to the [UART Driver Debugging Guide].