Skip to content

EmberProbe v0.9.0

Choose a tag to compare

@github-actions github-actions released this 29 Oct 14:07
· 146 commits to master since this release

本版包含 v0.8.9-beta.1 预览版的全部改动(MCP 服务器、GDB 控制台、整段会话波形、不限速采样等),以下列出此后的变化。

新增

  1. 侧栏新增“已连接调试器”一行,列出所有已连接探针并标出下一次操作使用的设备;自动模式按目标芯片核对与选用探针,J-Link 驱动可在每台设备卡片上切换。
  2. 波形图数值栏右键菜单新增“进制”(DEC / HEX / BIN),只改变该窗口的显示值,随窗口状态保存。
  3. MCP 客户端安装菜单新增 Antigravity 和 DeepSeek Harness (DSH) 配置。
  4. 支持 STM32C0,并新增实验性 STM32C5 Flash 支持(尚未经实板验证)。

优化

  1. Windows/Linux x64 默认使用内置 scatter 补丁版 OpenOCD,合并采样读取;指针目标与 STL 容器每轮约 2 次往返,HID 探针收益最明显。
  2. 扩展宿主繁忙时采样 Worker 继续按时钟读取并缓冲,恢复后补交,不再降速或要求重新采样;采样时间精确到亚毫秒。
  3. 调试启动更快:固件变化时以提速时钟下载,GDB 预热按正式启动顺序查找并在占用探针前完成,内置 OpenOCD 校验结果复用。
  4. 调试工具链自动发现 ST bundles、STM32CubeCLT 与 STM32CubeIDE 自带的 GDB。
  5. 波形图新增默认开启的“高频绘图优化”,抖动信号画为包络带,曲线不再被锯齿切碎。
  6. “复制 MCP 配置”改为“安装 MCP 服务器到客户端”,Claude Code / Codex / Cursor 可直接安装,外部配置不再要求 PATH 中有 Node.js。
  7. 新增独立采样链路时钟 samplingAdapterSpeedKhz;暂停时变量快照合并读取并并行发出。

修复

  1. 修复暂停后仍无法查看超过 4096 字节的 C++ 对象,以及运行中展开成员较多的对象整卡报读取预算。
  2. 修复单个 STL 容器或成员读取失败导致整张卡片报错,以及运行中 C++ 对象卡片高频闪烁;堆分配的对象不再被判为不在 RAM 内。
  3. 修复 SEGGER 驱动警告中“切换到 WinUSB”直接失败,以及 SEGGER 驱动更新后无法备份原驱动的问题。
  4. 修复调试启动烧录后不更新“上次烧录的固件”记录,导致误报 ELF_TARGET_MISMATCH 和写入确认。
  5. 修复 MCP 的 CubeMX 确认、写入摘要、debug_inspect 句柄与相对路径问题,以及并发或长时间 variables.sample 无法返回或停止。
  6. 修复 STM32C0 在 J-Link 自动传输模式下无法连接、FreeRTOS 面板误判通用 arm 目标,以及 CubeMX 取消后下一次调用报 EEXIST。

移除

  1. 移除实验性 CPU 负载估计。
  2. 移除 Cortex-Debug 兼容;GDB/objdump 不再读取 cortex-debug.* 设置,请改用 emberprobe.gdbPath / emberprobe.armToolchainPath。

This release includes everything from the v0.8.9-beta.1 preview (MCP server, GDB console, whole-session waveforms, unlimited sampling and more); changes since then are listed below.

Added

  1. Add a Connected probe sidebar row listing every connected probe and marking the one the next operation uses; automatic mode checks and picks probes by target chip, and each J-Link card switches its own driver.
  2. Add a Base choice (DEC / HEX / BIN) to the waveform value pane's context menu, changing only that panel's displayed value and saved with the panel.
  3. Add Antigravity and DeepSeek Harness (DSH) configurations to the MCP client installer.
  4. Support STM32C0 and add experimental STM32C5 flash support (not yet verified on hardware).

Improved

  1. Default to the bundled scatter-patched OpenOCD on Windows/Linux x64, combining sampling reads; pointer targets and STL containers take about two round trips per cycle, helping HID probes most.
  2. Keep the sampling Worker reading on its clock and buffering while the extension host is busy, delivering once it recovers instead of slowing down; sample times are now sub-millisecond.
  3. Start debugging faster: download changed firmware at the raised clock, resolve and finish GDB warm-up the same way as a real launch before acquiring the probe, and reuse bundled OpenOCD verification.
  4. Discover GDB in ST bundles, STM32CubeCLT and STM32CubeIDE installations automatically.
  5. Add "High-frequency rendering", on by default, drawing jittery signals as an envelope band so curves no longer shatter.
  6. Replace "Copy MCP Configuration" with "Install MCP Server into Client" for Claude Code, Codex and Cursor; external configurations no longer need Node.js on PATH.
  7. Add a standalone sampling clock samplingAdapterSpeedKhz; paused variable snapshots merge nearby reads and issue them in parallel.

Fixed

  1. Fix C++ objects over 4096 bytes staying unreadable while paused, and running objects with many expanded members failing on the read budget.
  2. Stop one unreadable STL container or member from failing the whole card, and stop running C++ object cards from flickering; heap-allocated objects are no longer treated as outside RAM.
  3. Fix Switch to WinUSB in the SEGGER driver warning failing immediately, and driver backup failing after a SEGGER driver update.
  4. Update the last-flashed-firmware record after a debug launch programs the ELF, ending false ELF_TARGET_MISMATCH warnings and write prompts.
  5. Fix MCP CubeMX confirmation, write summaries, debug_inspect handles and relative paths, and concurrent or long variables.sample calls that never returned or stopped.
  6. Fix STM32C0 connections with J-Link in automatic transport mode, the FreeRTOS panel rejecting generic arm targets, and EEXIST after a cancelled CubeMX call.

Removed

  1. Remove the experimental CPU load estimate.
  2. Remove Cortex-Debug compatibility; GDB/objdump no longer read cortex-debug.* settings, so use emberprobe.gdbPath / emberprobe.armToolchainPath instead.