RT-Thread / RT-Thread/rt-thread
[bsp][qemu-vexpress-a9] Win10 环境下 uart1 接收数据导致系统崩溃
Open
Nobody has claimed this yet.
good first issue
- Dominant language
- C
- Stars
- 12.2k
- Forks
- 5.4k
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 40
Description
以下测试环境为:
- Win10 系统
- 通过
scons --dist新生成的 qemu 环境 - 每隔 1 秒通过串口 COM9 发送
hello world的下位机
输入下述命令运行 qemu 程序:
qemu-system-arm -M vexpress-a9 -kernel rtthread.bin --nographic -serial mon:stdio -serial COM9
结果显示系统崩溃,并且是在 qemu 接收第一个字节后崩溃。

下位机不主动发送数据给上位机时,工作正常。
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the crash with the documented Win10 setup, the qemu-system-arm vexpress-a9 command, and COM9 sending data every second. Start by tracing the UART1 receive path and the first-byte handling in the generated QEMU environment. Done means receiving data no longer crashes the RT-Thread system while the existing no-input case remains functional.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100