commit | 99f7bdc5f502de0510e885f2de9c3efe9f61f223 | [log] [tgz] |
---|---|---|
author | Yao Jie <jie.yao@amlogic.com> | Fri Oct 18 10:37:36 2024 +0800 |
committer | Yao Jie <jie.yao@amlogic.com> | Thu Nov 28 14:48:11 2024 +0800 |
tree | 85a9fefd345ec4224483d71760106a8b71d1c28b | |
parent | 2a98c3bca4f276beac0518758e8179303b33b513 [diff] |
SoC common: src_ao: fix uart tx stuck issue [1/1] PD#SH-20626 Problem: AOCPU may stuck due to UART TX FIFO full when competition for UART TX resource occurs between AOCPU and ARM, because the UART transmission mode is polling mode both for AOCPU and ARM, AOCPU UART transmission may stuck when there are mass print logs transmitted by ARM, this may cause a long time stuck on AOCPU which leads to exception for some drivers. Solution: 1. Add TX buffer in UART driver to store characters when UART TX FIFO is full, and the size of TX buffer can be changed. 2. When TX buffer is full, UART driver will discard the transmitted characters and print warning logs when the UART TX FIFO is empty. Verify: T3-T982 T5D-AM311 Change-Id: I49e5dbf73d11b68f0b342d68282e4350e0ae0518 Signed-off-by: Yao Jie <jie.yao@amlogic.com>
For more information on Amazon FreeRTOS, refer to the Getting Started section of Amazon FreeRTOS webpage.
To directly access the Getting Started Guide for supported hardware platforms, click the corresponding link in the Supported Hardware section below.
For detailed documentation on Amazon FreeRTOS, refer to the Amazon FreeRTOS User Guide.
The following MCU boards are supported for Amazon FreeRTOS:
Windows Simulator To evaluate Amazon FreeRTOS without using MCU-based hardware, you can use the Windows Simulator.