UART Pressure Test
Test Methods
- Enable the
uart1
anduart2
nodes on the image (both sending and receiving), and short theTX
andRX
pins ofuart1
with theRX
andTX
pins ofuart2
on 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].