2026年9月13日
CytStudio v2.4.3-alpha.3 Release Notes
CytStudio — 专业的嵌入式开发环境 / Professional Embedded Development Environment
新增功能
- 内置仿真调试(Virt-Simulator):新增基于 QEMU 的 Cortex-M 指令级仿真调试,无需开发板即可烧录、复位、打断点、单步、看变量与波形。
- 仿真机型自动选型:按内核类型 + 固件链接地址自动匹配机型,覆盖 Cortex-M0 / M0+ / M3 / M4 / M7 / M33 / M23 通用机型与 STM32F1 / F2 / F4、TI LM3S6965 兼容机型,也可手动指定。
- 目标 printf 实时回灌调试日志:仿真目标的串口输出以
[目标串口]前缀实时显示在调试日志面板。 - DSH 运行时升级:DSH 内核及应用组件升级至 0.1.5-rc.2。
优化
- DAPLink 诊断日志补全:探针枚举、SWJ 时钟、端口上电、复位等关键步骤可见,会话头输出驱动 / 芯片 / 接口 / 速度。
- 仿真下波形采样不再拖卡界面:采样读取为界面让路,运行态查询与变量刷新不再被挤住。
- 运行期读取按通道分流:统一入口按目标状态与驱动选择传输层 / QMP / 探针,仿真下运行期读内存不再把客户机按停。
- QEMU 进程专属线程:进程生命周期收敛到独立线程,消除跨线程回收隐患。
问题修复
- 命中断点后点「继续」程序不再运行:修复恢复运行前重复下发断点被探针判为同址重复(J-Link / DAPLink),并统一由 QMP 判定运行态。
- 仿真运行中复位报「无应答」并退出调试:停止前置挪到复位之前,复位失败不再拆掉整个会话。
- 打开波形图时退出调试刷屏 QMP 错误并卡死:会话收尾先停采样器,QMP 断开只告警一次。
- DAPLink 会话速度未生效:传输层提前注入会话速度,日志不再显示错误的 4000 kHz。
- 仿真下断点静默失效:修复 GDB stub 断点不去重、
OK应答被吞掉、断点包缺陈旧应答清场三个缺陷。
New Features
- Built-in Simulation Debugging (Virt-Simulator): QEMU-based instruction-level Cortex-M simulation — flash, reset, breakpoints, stepping, variables, and waveforms with no board attached.
- Automatic Simulation Target Selection: Machine profiles match on core type + firmware link address — generic Cortex-M0 / M0+ / M3 / M4 / M7 / M33 / M23 machines plus STM32F1 / F2 / F4 and TI LM3S6965 compatible machines, or pick one manually.
- Target printf Echoed into the Debug Log: The simulated target's serial output streams live into the debug log panel with a
[目标串口]prefix. - DSH Runtime Upgrade: DSH kernel and app components upgraded to 0.1.5-rc.2.
Optimizations
- Complete DAPLink Diagnostics: Probe enumeration, SWJ clock, port power-up, and reset are visible, and the session header prints driver / chip / interface / speed.
- Waveform Sampling No Longer Stalls the UI in Simulation: Sampling reads yield to the UI, so runtime status queries and variable refresh are no longer starved.
- Channel-Aware Runtime Reads: One entry point picks transport / QMP / probe by target state and driver, so simulation runtime reads no longer halt the guest.
- Dedicated Thread for the QEMU Process: The process lifecycle now lives on its own thread, removing cross-thread reclamation hazards.
Bug Fixes
- "Continue" after a breakpoint stopped the program: Fixed re-sent breakpoints being reported as duplicates at the same address (J-Link / DAPLink), with run state now decided by the QMP authority.
- Reset while running in simulation reported "no response" and exited debugging: Halt-first now precedes the reset, and a failed reset no longer tears down the session.
- QMP error flood and hang when exiting with the waveform open: Teardown stops the sampler first, and a closed QMP peer warns only once.
- DAPLink session speed not applied: The transport receives the session speed up front, so the log no longer reports a bogus 4000 kHz.
- Breakpoints silently failing in simulation: Fixed the GDB stub not de-duplicating breakpoints,
OKreplies being swallowed, and breakpoint packets missing the stale-ack flush.
📦 安装(Installation)
- 从下方资产中下载
CytStudio_Setup_V2.4.3-alpha.3.exe。 - 运行安装程序并跟随向导完成安装。
- 从桌面快捷方式或开始菜单启动 CytStudio。
系统要求(System Requirements): Windows 10/11 x64
🔗 链接(Links)
- 官方网站(Website): https://www.cytstudio.com
- 支持邮箱(Support): cyte_studio@foxmail.com