在模拟MCU串口通信时的波特率如何确定的?

Open
#1,356 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python

Research direction

No file, test, or entry point is named. First clarify how Qiling's serial interaction selects or accepts a baud rate, then reproduce both a fixed-baud firmware case and the STM32-style 0x7F autobaud case; done means documenting whether a fixed rate can be configured and whether autobaud is supported.

Written by the indexing model from the issue text.

Description

如果串口通信的波特率是通过被模拟固件中串口端口的波特率确定的,那我能不能设置一个确定的波特率和固件交互。
如果固件中不定义波特率,而是对上位机发送的数据进行自适应波特率处理,类似STM32的ISP编程,上位机发送0x7F,单片机会通过接收0x7F计算波特率,这种情况就不能进行通信,因为上位机(qiling串口交互)和固件都不能确定波特率。

我能不能设置一个确定的波特率和固件交互。

Dominant language
Python
Stars
6.1k
Forks
798
Avg merge
1d 1h
Merged PRs (30d)
9

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from qilingframework/qiling

All issues in qilingframework/qiling

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.