Repository navigation
Releases
Releases · BakeSheep/EmberProbe-MCU-Flash-Debug
EmberProbe v0.9.4
新增
- 侧栏 ELF 变量列表和波形导入支持逐层展开结构体、数组和运行时对象,可按分支批量添加并在查看列表中分组。
- 侧栏、波形和 Agent 可沿 C++ 引用读取目标,支持嵌套引用、只读段中的引用槽和多维数组引用。
- 增加 GD32F130/F150、F310/F330/F350、F101/F103、F303、APM32E103/E030 和 CH32F103 的目标支持,并扩展 AT32 单 Bank 自动识别。支持指定的 GD32F303 和 1 MiB AT32 双 Bank 型号,在普通烧录和 GDB 下载前检查镜像地址范围。
- 稳定版通过 GitHub、VS Code Marketplace 和 Open VSX 分发同一份校验过的 VSIX。
优化
- 独立限速采样优先满足波形频率,侧栏专属变量在探针空档刷新。自适应时钟按波形读取负载选频,采样率按实际获得的新读数计算。
- 降低 Windows 采样 Worker 的等待开销,减少波形纵轴动画和拖动时的重复计算。切换曲线显隐时,原值模式的自动纵轴按可见曲线重新适配。
- 变量搜索先显示名称匹配,再补充成员结果,支持直接查找完整的静态数组路径。变量选择器分页加载,查看卡片在展开时渲染成员。
修复
- 修复不同编译单元的 DWARF 记录缺少部分模板参数时,同一 C++ 对象被误判为类型歧义而无法展开的问题。
Added
- Expand structs, arrays, and runtime objects in the sidebar ELF picker and waveform import dialog. Add a whole branch at once and view its members together in the watch list.
- Follow C++ references to their targets in the sidebar, waveforms, and Agent, including nested references, reference slots in read-only ELF data, and references to multidimensional arrays.
- Add support for GD32F130/F150, F310/F330/F350, F101/F103, F303, APM32E103/E030, and CH32F103 targets, and extend single-bank AT32 auto-detection. Support selected dual-bank GD32F303 and 1 MiB AT32 parts and check image address ranges before standalone programming or GDB downloads.
- Distribute the same verified stable VSIX through GitHub, VS Code Marketplace, and Open VSX.
Improved
- Give waveforms priority during capped standalone sampling and refresh sidebar-only values when probe time is available. Tune the adapter clock for the waveform workload and report the rate from fresh readings.
- Reduce sampling worker idle CPU on Windows and reuse calculations during waveform Y-axis animation and dragging. The raw-value auto Y axis refits when curve visibility changes.
- Show variable name matches first, then matching members, and accept complete static array paths. The picker loads results in pages and watch cards render members on expansion.
Fixed
- Restore C++ member expansion when DWARF descriptions of the same object across compilation units differ only in missing template parameter records.
EmberProbe v0.9.3
新增
- 独立 Cortex-M SWD 采样可自动选择稳定的时钟。波形窗口显示当前频率,停止采样后可手动设定 1–20 MHz。
- 侧栏和 Agent 支持写入指针、C++ 引用、链表和受支持容器定位的可写标量成员,写入前复核目标,写入后回读。
- 支持在侧栏管理 WorkBuddy 的 MCP 配置和检测本地 MCP 连通性。Agent 可用
probe_select切换用户指定的探针。 - CubeMX2 在侧栏显示工程声明的固件包、所需版本和已安装版本,可打开 Pack Manager 补装并重新检查。
优化
- 波形纵轴自动适配更加平滑,冻结或停止采样时保留坐标范围。绘图设置可直接导入背景 PNG,CSV 导出保留所选时间范围。
- 减少分散变量采样的无效读取,补充 Agent 采样的超时进度和断开原因。归档满时可按窗口清理历史并回收空间。
- 侧栏数据断点按触发方式显示启用状态和条件入口。动态写入卡片在地址、类型或采样状态变化时自动锁定。
- Agent 烧录与扩展共用 OpenOCD 配置。探针忙碌时禁用 J-Link 驱动切换,独立 RTT 确认 OpenOCD 退出后才释放探针。
- 改进 C++ 引用解析,区分实际的
value字段与容器值入口,支持单独查看std::variant的活动值。
修复
- 修复 STM32C5 烧录初始化错误,保留首个 OpenOCD 脚本错误,并准确区分 CMSIS-DAP 通信故障与 Flash 写入失败。
- 修复自动发现的 SVD 无法在首次调试时传给外部外设查看器的问题。
Added
- Automatically select a stable clock for standalone Cortex-M SWD sampling. Waveform settings show the current clock and allow manual selection from 1 to 20 MHz while stopped.
- Write mutable scalar members reached through pointers, C++ references, linked lists or supported containers from the sidebar or an Agent. The target is rechecked before writing and verified by reading back.
- Manage WorkBuddy's MCP configuration and check local MCP connectivity from the sidebar. Agents can use
probe_selectto switch to the probe chosen by the user. - Show the firmware packs required by CubeMX2 projects and the installed versions in the sidebar, with actions to open Pack Manager and recheck.
Improved
- Smooth automatic Y-axis tracking and preserve the viewport when freezing or stopping. Import a background PNG in waveform settings and keep the selected time range in the CSV export dialog.
- Reduce unnecessary reads when sampling scattered variables and report Agent sampling progress on timeouts and disconnect reasons. Clear an individual chart to reclaim space when the archive is full.
- Show the enabled state and condition controls for each sidebar data-breakpoint trigger. Lock dynamic write cards when the sampled address, type or validity changes.
- Share OpenOCD configuration between Agent flashing and the extension. Disable J-Link driver switching while a probe is busy and release standalone RTT probes after OpenOCD exits.
- Distinguish actual
valuefields from container accessors when resolving C++ references and allow standalone watches for activestd::variantvalues.
Fixed
- Fix STM32C5 flash initialization, preserve the first OpenOCD script error, and distinguish CMSIS-DAP communication failures from Flash write errors.
- Pass an automatically discovered SVD to external peripheral viewers on the first debug session.
EmberProbe v0.9.2
新增
- 新增 SEGGER RTT 终端:支持多通道日志、文本编码、虚拟终端、文本与 raw 输入、时间戳及日志文件,调试或采样时可自动附加。
- 新增
mcu-rttskill 与 RTT MCP 工具;Agent 可读取日志,并在确认发送内容后向固件输入文本或原始字节,可按通道与固件记住授权 24 小时。 - 内置调试器与侧栏支持硬件数据断点,可在变量写入、读取或访问时暂停;Agent 也能管理侧栏数据断点,命中时报告变量与 GDB 提供的新旧值。
- MCP 新增
debug_evaluate、memory_read、target_control、variables_list、watch_list和watch_remove,扩展暂停检查、目标控制与变量观测能力。
优化
- 写入确认逐项展示完整计划;CSV 可导出到工作区文件,超长结果保持合法 JSON,Agent 采样总时长限制为 25 分钟。
- RTT 日志支持选择具体文件,默认文件名带时间戳并记住上次目录,按钮提示当前保存路径。
- 工作区 Agent 访问开关可持久保存,过期的已安装 skills 可直接重新安装。
- 更新官网、交互演示与 README 首图,补充 RTT 终端演示并调整首页布局。
修复
- 提前拒绝同一地址上不兼容的硬件监视点;恢复执行失败时报告真实暂停状态,避免界面误显示运行中。
- 修复缺少
.ARM.attributes的 Cortex-M 固件被 FreeRTOS 任务检查误判为不支持的内核。 - CubeMX/CubeMX2 在下次生成或深度检查时清理崩溃遗留的过期写回临时文件,并在结果中报告。
Added
- Add a SEGGER RTT terminal with multiple log channels, text encodings, virtual terminals, text and raw input, timestamps and log files, plus automatic attachment during debugging or sampling.
- Add the
mcu-rttskill and RTT MCP tools. Agents can read logs and send text or raw bytes after approval of the exact input, with optional 24-hour permission for one channel and firmware build. - Add hardware data breakpoints to the built-in debugger and sidebar for writes, reads and accesses. Agents can manage sidebar data breakpoints, and stops report the variable and old/new values when GDB provides them.
- Add
debug_evaluate,memory_read,target_control,variables_list,watch_listandwatch_removeto MCP for paused inspection, target control and variable observation.
Improved
- Show every write in approval plans; export CSV to workspace files, keep oversized results valid JSON, and cap Agent sampling sessions at 25 minutes.
- Save RTT logs to a chosen file with a timestamped default name and the last-used directory; the button tooltip shows the current path.
- Persist the workspace Agent access switch and allow outdated installed skills to be reinstalled directly.
- Refresh the website, interactive demos and README overview image, including an RTT terminal demo and a refined homepage layout.
Fixed
- Reject incompatible hardware watchpoints at the same address before resuming, and report the actual paused state when execution cannot resume.
- Recognize Cortex-M firmware without
.ARM.attributescorrectly during FreeRTOS task inspection. - Remove expired CubeMX/CubeMX2 writeback temporary files left by a crash during the next generation or deep check, and report the cleanup in the result.
EmberProbe v0.9.1
新增
- 采样连接时,侧栏已展开的外设寄存器持续刷新,最高 20 Hz,寄存器很多时自动降速;刷新不打断点击和输入,变化的数值保持高亮约 1 秒。
- 外设寄存器支持非调试、托管单核调试运行及调试暂停三种状态读写,访问本身不暂停、复位或恢复目标;未调试时复用已连接的采样会话。
- Agent 支持 STM32CubeMX2(
.ioc2)工程:新增只读cubemx_query,cubemx_prepare可在暂存副本上执行白名单配置命令,确认后生成代码。 - Agent 可不复位附加调试:
mcu-debug-control --start --attach(MCPdebug_start的attach: true)只暂停运行中的固件,用于检查卡死现场。 - 故障分析可诊断“没有 fault 但卡死”:给出当前中断处理函数、中断屏蔽状态,并采样 PC 判断是否停在紧密循环。
mcu-variables新增--snapshot-csv --output <文件>,把数组或结构体的当前值写成 CSV。- 波形变量右键菜单新增临时增益输入框和 ±0.1 按钮,仅缩放当前波形图的显示,记录和 CSV 保留原值。
- Agent 配置移至独立卡片,逐行列出各 MCP 客户端状态,可在侧栏安装、升级、移除或复制配置;新增默认关闭的工作区“完全允许 Agent 操作”开关。
- 开启
editor.mouseWheelZoom后,侧栏和波形图支持 Ctrl/Command+滚轮独立缩放(50%~200%)。
优化
- 侧栏查看列表的结构体、数组与运行时对象仅在展开时采样,折叠的树及其内部变量不再占用读取。
- 相邻的同宽度外设寄存器合并为一条读取命令,SVD 文件未变化时不再重复读取和计算哈希,采样与寄存器访问撞车时不再跳过整个采样周期。
- VS Code 设置缩减为 21 项,归入 4 个大类并提供中英双语描述。
- MCP 配置不再写入
EMBERPROBE_WORKSPACE和项目级文件,用户级条目由所有工程共用,多个工作区可同时使用;各客户端原生配置可自动合并。 - CubeMX 和 CubeMX2 路径统一到 VS Code 用户设置,CubeMX2 优先通过 ST 官方安装登记检测。
- 内存占用只自动采用能放下当前 ELF 所有节的链接脚本,没有匹配时提示选择。
variables_sample的间隔改为从本次采样开始算起,读取耗时不再叠加到间隔上。docs/按读者重组,用户指南汇总为docs/guide/下的 7 篇中文文档。
修复
- 修复 xPack OpenOCD 仅提供公开内存命令时外设访问失败,以及后台发现 CubeMX 路径导致外设事务误失效。
- 修复写入与回读完成后的状态变化把成功写入报告为失败;外设事务超时提示给出实际的 5 秒预算。
- 修复非调试时打开或恢复外设视图自动启动临时 OpenOCD,以及忙碌提示误报为 Agent 读取变量。
- 修复此前写入的 MCP 工作区绑定让其他工程静默连到被绑定窗口的问题,升级时移除。
移除
- 撤回固件相同时跳过烧录的优化:侧栏下载、Agent 烧录及调试器默认 launch 总是正常擦写、校验并复位。
- 移除临时探针连接的外设读写:未调试时必须先开启采样。
- 移除
memory.regionKinds、mcp.toolsets、probeSerial、sampleIntervalMs、maxSamples、enablePrettyPrinting和prettyPrinterPath设置;EMBERPROBE_MCP_TOOLSETS环境变量不再生效。
Added
- While sampling is connected, open peripheral registers in the sidebar refresh continuously at up to 20 Hz, slowing down with very many registers; refreshing does not interrupt clicks or edits, and changed values stay highlighted for about a second.
- Read and write SVD peripherals without a debug session, during managed single-core debugging or while paused, without halting, resetting or resuming for access; outside debugging, access reuses the connected sampling session.
- Support STM32CubeMX2 (
.ioc2) projects for Agents: read-onlycubemx_query, allowlisted configuration commands on a staged copy throughcubemx_prepare, and generation after confirmation. - Debug without reset through
mcu-debug-control --start --attach(MCPdebug_startwithattach: true), which only halts the running firmware so a hung target can be inspected. - Diagnose hangs without a fault: fault analysis reports the active handler and interrupt masks, and samples PC to tell whether the core sits in a tight loop.
- Add
mcu-variables --snapshot-csv --output <file>, writing the current values of an array or structure as CSV. - Add temporary per-variable waveform gain with an input and ±0.1 buttons, scaling only the current chart's display while recording and exporting raw values.
- Move Agent configuration to its own card listing each MCP client's state with install, upgrade, remove and copy actions, and add an opt-in workspace full-access switch.
- Honor
editor.mouseWheelZoomwith independent Ctrl/Command+wheel zoom (50–200%) in the sidebar and waveform tabs.
Improved
- Sample structs, arrays and runtime objects in the sidebar watch list only while expanded, so a closed tree and the variables inside it cost no reads.
- Read adjacent peripheral registers of one width with a single command, stop re-reading and re-hashing an unchanged SVD file, and no longer lose a whole sampling interval when a tick collides with register access.
- Organize VS Code settings into 21 bilingual entries across four groups.
- Stop writing
EMBERPROBE_WORKSPACEand project-level files when configuring MCP clients, so one user-level entry serves every project and several workspaces can work at once; native client configurations now merge automatically. - Move CubeMX and CubeMX2 paths to VS Code User settings, with CubeMX2 discovery preferring ST's official bundle registration.
- Auto-select only linker scripts whose regions hold every section of the current ELF, and ask when none match.
- Measure the
variables_sampleinterval from sample start to sample start, so read time no longer stretches it. - Reorganize
docs/by reader, consolidating user guides into seven Chinese pages underdocs/guide/.
Fixed
- Fix peripheral access failing when xPack OpenOCD offers only public memory commands, and background CubeMX discovery invalidating peripheral transactions.
- Stop a state change after a finished write and readback from reporting the write as failed, and name the actual 5 s budget in peripheral transaction timeouts.
- Stop the peripheral view starting a temporary OpenOCD when it opens or restores without debugging, and stop the busy message blaming an Agent variable read.
- Remove the earlier MCP workspace binding on upgrade, which silently sent other projects to the bound window.
Removed
- Remove the identical-firmware download shortcut: sidebar downloads, Agent flashing and the debugger's default launch always program, verify and reset.
- Remove temporary probe connections for peripheral access; outside debugging, start sampling first.
- Remove the
memory.regionKinds,mcp.toolsets,probeSerial,sampleIntervalMs,maxSamples,enablePrettyPrintingandprettyPrinterPathsettings;EMBERPROBE_MCP_TOOLSETSis no longer honored.
EmberProbe v0.9.0
本版包含 v0.8.9-beta.1 预览版的全部改动(MCP 服务器、GDB 控制台、整段会话波形、不限速采样等),以下列出此后的变化。
新增
- 侧栏新增“已连接调试器”一行,列出所有已连接探针并标出下一次操作使用的设备;自动模式按目标芯片核对与选用探针,J-Link 驱动可在每台设备卡片上切换。
- 波形图数值栏右键菜单新增“进制”(DEC / HEX / BIN),只改变该窗口的显示值,随窗口状态保存。
- MCP 客户端安装菜单新增 Antigravity 和 DeepSeek Harness (DSH) 配置。
- 支持 STM32C0,并新增实验性 STM32C5 Flash 支持(尚未经实板验证)。
优化
- Windows/Linux x64 默认使用内置 scatter 补丁版 OpenOCD,合并采样读取;指针目标与 STL 容器每轮约 2 次往返,HID 探针收益最明显。
- 扩展宿主繁忙时采样 Worker 继续按时钟读取并缓冲,恢复后补交,不再降速或要求重新采样;采样时间精确到亚毫秒。
- 调试启动更快:固件变化时以提速时钟下载,GDB 预热按正式启动顺序查找并在占用探针前完成,内置 OpenOCD 校验结果复用。
- 调试工具链自动发现 ST bundles、STM32CubeCLT 与 STM32CubeIDE 自带的 GDB。
- 波形图新增默认开启的“高频绘图优化”,抖动信号画为包络带,曲线不再被锯齿切碎。
- “复制 MCP 配置”改为“安装 MCP 服务器到客户端”,Claude Code / Codex / Cursor 可直接安装,外部配置不再要求 PATH 中有 Node.js。
- 新增独立采样链路时钟
samplingAdapterSpeedKhz;暂停时变量快照合并读取并并行发出。
修复
- 修复暂停后仍无法查看超过 4096 字节的 C++ 对象,以及运行中展开成员较多的对象整卡报读取预算。
- 修复单个 STL 容器或成员读取失败导致整张卡片报错,以及运行中 C++ 对象卡片高频闪烁;堆分配的对象不再被判为不在 RAM 内。
- 修复 SEGGER 驱动警告中“切换到 WinUSB”直接失败,以及 SEGGER 驱动更新后无法备份原驱动的问题。
- 修复调试启动烧录后不更新“上次烧录的固件”记录,导致误报
ELF_TARGET_MISMATCH和写入确认。 - 修复 MCP 的 CubeMX 确认、写入摘要、
debug_inspect句柄与相对路径问题,以及并发或长时间variables.sample无法返回或停止。 - 修复 STM32C0 在 J-Link 自动传输模式下无法连接、FreeRTOS 面板误判通用
arm目标,以及 CubeMX 取消后下一次调用报EEXIST。
移除
- 移除实验性 CPU 负载估计。
- 移除 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
- 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.
- 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.
- Add Antigravity and DeepSeek Harness (DSH) configurations to the MCP client installer.
- Support STM32C0 and add experimental STM32C5 flash support (not yet verified on hardware).
Improved
- 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.
- 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.
- 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.
- Discover GDB in ST bundles, STM32CubeCLT and STM32CubeIDE installations automatically.
- Add "High-frequency rendering", on by default, drawing jittery signals as an envelope band so curves no longer shatter.
- 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.
- Add a standalone sampling clock
samplingAdapterSpeedKhz; paused variable snapshots merge nearby reads and issue them in parallel.
Fixed
- Fix C++ objects over 4096 bytes staying unreadable while paused, and running objects with many expanded members failing on the read budget.
- 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.
- Fix Switch to WinUSB in the SEGGER driver warning failing immediately, and driver backup failing after a SEGGER driver update.
- Update the last-flashed-firmware record after a debug launch programs the ELF, ending false
ELF_TARGET_MISMATCHwarnings and write prompts. - Fix MCP CubeMX confirmation, write summaries,
debug_inspecthandles and relative paths, and concurrent or longvariables.samplecalls that never returned or stopped. - Fix STM32C0 connections with J-Link in automatic transport mode, the FreeRTOS panel rejecting generic
armtargets, andEEXISTafter a cancelled CubeMX call.
Removed
- Remove the experimental CPU load estimate.
- Remove Cortex-Debug compatibility; GDB/objdump no longer read
cortex-debug.*settings, so useemberprobe.gdbPath/emberprobe.armToolchainPathinstead.
EmberProbe v0.8.9-beta.1
新增
- 新增 EmberProbe MCP 服务器,按
core/debug/cubemx工具集提供烧录、变量、调试控制等工具及工作流 prompt;敏感操作在支持的客户端中以表单确认。 - 调试控制台支持直接输入 GDB CLI 命令(
bt、info registers、x/16wx等),执行后同步刷新句柄、断点与快照。 - 波形图可查看从开始采样以来的整段会话,不再限于最近 30 分钟;采样归档改为紧凑二进制格式,同样空间可记录约 2.7–4 倍时长。
- 波形图数值栏新增悬浮卡片样式,可移动、缩放,宽度足够时变量分两列显示。
- 查看列表、写入列表与波形图侧边栏的变量卡片支持拖动把手或 Alt+↑/↓ 调整顺序。
- 不限速采样转为正式功能,归档剩余不足 1 小时时在工具栏显示剩余时长并提前提醒。
优化
- 波形历史导出 CSV 提速约 4–6 倍,支持进度显示与取消,写完才改为最终文件名。
- 波形图拖动、缩放和跟随最新数据时不再出现空白,跟随时平滑滚动,绘制开销明显降低。
- 调试启动先用
compare-sections比较目标与 ELF,一致时跳过下载与二次复位;Windows 上预热 GDB,缩短首次调试启动时间。 - Agent 访问改为按工作区开关;Bridge 支持子目录与多根工作区发现,同一文件夹多窗口时可指定实例。
- Skills 完整性检查针对实际发起调用的副本,并提示清理旧版全局 skills;Bridge 调用记录到输出面板。
修复
- 自动检测配置优先选择带调试信息的 ELF,较新的 Release 构建不再导致变量列表显示
DWARF_MISSING。 - 修复 WSLg 中鼠标无法拖动悬浮数值卡片、侧边栏分隔条、卡片排序把手与导出框选的问题。
- 修复变量名为
__proto__且无值时 CSV 导出为[object Object]的问题。
Added
- Add the EmberProbe MCP server with flash, variable and debug-control tools grouped into
core,debugandcubemxtoolsets, plus workflow prompts; sensitive operations are confirmed through a form in supporting clients. - Accept native GDB CLI commands in the Debug Console (
bt,info registers,x/16wxand more), refreshing handles, breakpoints and snapshots afterwards. - View the whole session since sampling started in the waveform view instead of only the last 30 minutes; the compact binary sampling archive records about 2.7–4× longer in the same space.
- Add a movable, resizable floating-card style for the waveform value panel, with two variable columns when wide enough.
- Reorder variable cards in the watch list, write list and chart sidebar by dragging their handle or with Alt+Up/Down.
- Make unlimited sampling a regular feature and show the remaining archive time in the toolbar, with early warnings, when less than an hour is left.
Improved
- Export waveform history to CSV about 4–6× faster, with progress and cancellation, renaming the file only when complete.
- Remove blank areas while panning, zooming and following live data in the waveform view; follow mode scrolls smoothly with much lower drawing cost.
- Compare the target with the ELF through
compare-sectionsat debug launch and skip the download and second reset when they match; prewarm GDB on Windows to shorten the first debug start. - Make Agent access a per-workspace switch; the Bridge is found from subdirectories and other roots, and an instance can be selected when one folder is open in two windows.
- Check skill integrity for the copy that issued each call, offer to remove legacy global skills, and log Bridge calls to the output channel.
Fixed
- Prefer an ELF with debug info during auto-detection, so a newer Release build no longer leaves the variable list showing
DWARF_MISSING. - Fix mouse drags under WSLg for the floating value card, sidebar splitter, card reorder handles and export marquee.
- Stop exporting a variable named
__proto__with no value as[object Object].
EmberProbe v0.8.8
新增
- 新增 Windows 与 WSL2 Linux 实机冒烟测试矩阵,覆盖烧录、调试、RTOS、采样、变量写入及异常场景。
优化
- 烧录前比较固件与目标 Flash 的 CRC,一致时跳过擦写;按探针能力提高烧录时钟,失败时自动降速重试。
- 缓存 FreeRTOS 类型布局并合并内存读取,加快暂停后的任务面板刷新。
- 采样界面同时显示采集频率与读取吞吐量,更新配置和使用文档,并在 README 顶部添加使用教程入口。
修复
- 修复未开启实时采样时 Agent 无法在调试暂停状态写变量,以及 C++ 对象含指针或 STL 成员时普通成员无法写入的问题。
- 完善变量写入校验、固件不一致确认和失败回读提示;窄写入优先只修改变量自身字节,减少相邻数据被覆盖的风险。
- 修复调试运行中的写入和一次性读取被采样设置变化误取消的问题,并在停止调试返回前释放探针。
- 修复 Linux 调试 Windows 编译固件时 FreeRTOS 任务列表缺失,以及侧边栏探针刷新和目标配置兼容性问题。
- 修复芯片读取或控制在配置、探针选择或连接预检失败后一直加载的问题;SVD 同步失败不再覆盖芯片结果。
Added
- Add a Windows and WSL2 Linux real-board smoke matrix covering flash, debug, RTOS, sampling, variable writes and failure cases.
Improved
- Compare firmware and target Flash CRCs to skip unchanged writes; raise the programming clock for capable probes and retry at the previous speed on failure.
- Cache FreeRTOS type layouts and combine memory reads for faster task-panel refresh while paused.
- Show acquisition rate and read throughput together, update setup and usage documentation, and add a tutorial shortcut at the top of the README.
Fixed
- Allow Agent variable writes while debugging is paused with live sampling off, and allow plain C++ members to be written when their containing object also has pointer or STL members.
- Strengthen write validation, firmware-mismatch confirmation and read-back errors; prefer natural-width writes to preserve neighbouring data.
- Prevent sampling-setting changes from cancelling running-debug writes and one-shot reads; release probe ownership before debug stop returns.
- Restore FreeRTOS tasks when debugging Windows-built firmware on Linux, and fix sidebar probe refresh and target-configuration compatibility.
- Recover chip-read and control buttons after configuration, probe-selection or preflight failures, and keep SVD synchronization errors separate from chip results.
EmberProbe v0.8.7
新增
- Agent 烧录支持可选的 24 小时工作区授权,并报告磁盘 ELF 与最近烧录固件的一致性;
mcu-variables --list新增--json-array输出。
优化
- CSV 导出移除数据来源选择,默认导出所选变量从开始采样或上次清空历史以来的全部采样点;冻结不改变导出范围,保留时间筛选。
- 变量列表以可读名称和来源文件区分同名项,输入有歧义时就地选择;ELF/DWARF 诊断跟随界面语言切换。
- 改进波形窗口布局、分隔栏和采样帧率控件;Windows J-Link 驱动问题使用常驻诊断与修复入口。
- Agent 调试诊断同时适用于 EmberProbe 内置调试器和 Cortex-Debug,明确需要原生会话的操作。
修复
- 修复跨文件同名 static、匿名命名空间及 C++ mangled 变量的身份、布局、读写与观察列表保存问题,避免静默访问错误地址。
- 修复采样中切换频率时重新预热和实测频率更新迟缓的问题;清空历史后旧导出不会误用新数据。
- 修复无可靠序列号、Windows 序列号别名、多类探针选择,以及 Linux 不可读 USB 设备和 macOS 26 USB 枚举问题。
- 修复 CubeMX 在线组件错误日志误判、临时副本清理和链接范围检查。
- 修复内置调试器在 C/C++ 帧中访问命名空间全局变量、匿名命名空间对象和文件限定成员路径的问题。
Added
- Optional 24-hour workspace permission for Agent flashing, firmware-consistency reporting against the last programmed image, and
--json-arrayoutput formcu-variables --list.
Improved
- Simplify CSV export to all samples for selected variables since acquisition began or history was last cleared. Remove source selection, keep time filters, and make export independent of chart freezing.
- Distinguish same-named variables by readable names and source files, offer inline ambiguity choices, and translate existing ELF/DWARF diagnostics when the UI language changes.
- Improve chart layout, splitters and sampling-rate controls; provide persistent Windows J-Link driver diagnostics and repair actions.
- Make Agent debug diagnostics work for both the built-in EmberProbe debugger and Cortex-Debug, with explicit guidance for native-session operations.
Fixed
- Correct identity, layouts, reads, writes and saved watches for cross-file statics, anonymous-namespace objects and mangled C++ variables, preventing silent access to the wrong address.
- Avoid repeated warm-up and delayed measured-rate updates during sampling-rate changes; prevent stale exports from using newly cleared history.
- Correct selection of serial-less probes, Windows serial aliases and additional probe families, unreadable Linux USB inventory entries, and macOS 26 USB metadata.
- Fix CubeMX online-component log triage, temporary-stage cleanup and symbolic-link scope checks.
- Fix built-in debugger access to namespaced globals, anonymous-namespace objects and file-qualified member paths in C and C++ frames.
EmberProbe v0.8.6
新增
- Linux x64 默认路径自动使用内置 xPack OpenOCD:首次离线解压并验证,随后直接复用,无需手动安装或选择 OpenOCD。
优化
- 按预置包 SHA-256 分目录缓存,多个 VS Code 窗口可并发准备并共享运行时,不替换其他窗口正在使用的文件。
- 保留显式路径优先级,包括
/usr/bin/openocd;自动准备不修改用户设置,准备失败时在连接硬件前停止。
修复
- 修复已有系统 OpenOCD 缓存使默认路径继续使用有缺陷构建的问题,避免 Linux CMSIS-DAP HID 序列号匹配时的已知原生崩溃;空路径同样按默认路径处理。
Added
- Automatically use bundled xPack OpenOCD for the Linux x64 default path: extract and verify it offline on first use, then reuse it without manually installing or selecting OpenOCD.
Improved
- Cache runtimes by archive SHA-256 so multiple VS Code windows can prepare and share them without replacing files another window may be using.
- Preserve explicit paths, including
/usr/bin/openocd; automatic preparation leaves user settings unchanged and stops before hardware startup if preparation fails.
Fixed
- Prevent an existing system OpenOCD cache from overriding bundled default selection and triggering the known Linux CMSIS-DAP HID serial-matching crash; treat an empty path as the default too.
EmberProbe v0.8.5
新增
- 内置 Linux x64 xPack OpenOCD 0.12.0-7,可通过侧栏离线安装并配置路径,包含配套脚本、依赖库和许可证。
优化
- 芯片读取的结构化错误诊断保留实际 OpenOCD 可执行路径、退出码和终止信号,便于确认使用的构建并定位故障。
修复
- 明确识别 OpenOCD 原生崩溃,避免误报为普通连接或权限错误;针对 Linux CMSIS-DAP HID 序列号匹配缺陷提供上游修复提示,内置版本包含该修复,并保留精确探针选择。
Added
- Bundle Linux x64 xPack OpenOCD 0.12.0-7 for offline installation and path configuration from the sidebar, including its scripts, runtime libraries and licenses.
Improved
- Retain the actual OpenOCD executable path, exit code and termination signal in structured chip-read errors to identify the build in use and diagnose failures.
Fixed
- Recognize native OpenOCD crashes instead of reporting generic connection or permission failures; point Linux CMSIS-DAP HID serial-matching failures to the upstream fix, include that fix in the bundled build and preserve exact probe selection.


