From 27b06e4515ac49a14839921cdcfb8fb072f6046e Mon Sep 17 00:00:00 2001 From: hulk Date: Wed, 30 Sep 2026 11:44:52 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=8E=A5=E5=85=A5=20gd32e230f8=5Ffirmw?= =?UTF-8?q?are=5Fmerge=5Ftool=20=E5=AD=90=E6=A8=A1=E5=9D=97=EF=BC=88GD32E2?= =?UTF-8?q?30=20=E5=9B=BA=E4=BB=B6=E5=90=88=E6=88=90+DAPLink=20Flash=20GUI?= =?UTF-8?q?=EF=BC=8C=E7=8B=AC=E7=AB=8B=E4=BB=93=E5=BA=93=E7=AE=A1=E7=90=86?= =?UTF-8?q?=EF=BC=89=EF=BC=9BREADME=20=E5=B7=A5=E5=85=B7=E8=A1=A8/?= =?UTF-8?q?=E7=9B=AE=E5=BD=95=E7=BB=93=E6=9E=84=E4=B8=8E=20agent.md=20?= =?UTF-8?q?=E7=99=BB=E8=AE=B0=E5=AD=90=E6=A8=A1=E5=9D=97=E7=94=A8=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitmodules | 3 +++ README.md | 8 +++++++- agent.md | 5 +++++ gd32e230f8_firmware_merge_tool | 1 + 4 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .gitmodules create mode 160000 gd32e230f8_firmware_merge_tool diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..b4efcc8 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "gd32e230f8_firmware_merge_tool"] + path = gd32e230f8_firmware_merge_tool + url = https://gitea.hulk.wang/hulk/gd32e230f8_firmware_merge_tool.git diff --git a/README.md b/README.md index 5b07082..ac0aeb6 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ | EDID-Viewer 图标 | [EDID-viewer](EDID-viewer/) | Windows 显示器 EDID 只读查看器:活动设备或离线文件的厂家/序列号/分辨率时序、CTA/HDMI/音频/HDR 能力、校验诊断;BIN/HEX 导入,BIN/JSON 报告导出 | 到 [Releases](https://gitea.hulk.wang/hulk/HW-Debug-Tools/releases) 下 `EDID-Viewer-vX.Y.Z-win64.zip`,解压即用;详见 [EDID-viewer/README.md](EDID-viewer/README.md) | | SerialMate 图标 | [SerialMate](SerialMate/) | RS485/串口调试助手:收发 + 协议包解析(帧构成令牌序列/包头/板ID/LEN口径/CRC 全可定制,默认兼容 DLPilot 光机协议)、板型档案一键切换协议参数与命令预设、payload 字符串/HEX 显示、4 通道曲线(弹窗独立、时间窗滑笔回看、悬停读值、暂停渲染)、发送框输入 payload 自动包装组帧(`/` 分隔多条)、HEX 直发与周期发送 | 到 [Releases](https://gitea.hulk.wang/hulk/HW-Debug-Tools/releases) 下 `SerialMate-vX.Y.Z-win64.zip`,解压即用;详见 [SerialMate/README.md](SerialMate/README.md) | | I2C-Inject 图标 | [I2C-Inject](I2C-Inject/) | ⏸ **暂停开发**:LT8619C 寄存器在线读写(RP2040 注入器在 demo 板 I2C 总线上择机注入,避让主控轮询,写后自动读回校验)。代码与固件保留备查 | 暂不提供发布;状态与原理详见 [I2C-Inject/README.md](I2C-Inject/README.md) | +| GD32 固件工具图标 | [gd32e230f8_firmware_merge_tool](gd32e230f8_firmware_merge_tool/) | 🔗 **子模块**(独立仓库独立管理):GD32E230 固件工具——APP/BL 合成补齐(`_UPDATE.bin`/`_BL.bin`)+ DAPLink Flash GUI 烧录(自带 OpenOCD 工具链) | 本仓目录即快捷入口;版本更新与发布在其[原仓库](https://gitea.hulk.wang/hulk/gd32e230f8_firmware_merge_tool)(Releases 下 zip 解压即用);详见 [README](gd32e230f8_firmware_merge_tool/README.md) | ## 环境要求 @@ -50,6 +51,7 @@ HW-Debug-Tools/ │ ├── README.md # 使用说明 │ └── AGENTS.md # 工程档案 ├── I2C-Inject/ # PC 端 GUI + RP2040 固件 + 打包 exe + 图标 + README +├── gd32e230f8_firmware_merge_tool/ # 🔗 git 子模块 → GD32E230 固件工具(独立仓库,见下方备注) ├── LICENSE └── README.md ``` @@ -68,6 +70,10 @@ python publish_gitea.py <工具>-v<版本>-win64.zip --insecure # 上传 Gite ## 备注 - 源码与打包产物(exe、pattern_slots.json)均入库;发布 zip 不入库,只上传 Gitea Release +- `gd32e230f8_firmware_merge_tool/` 是 git 子模块([独立仓库](https://gitea.hulk.wang/hulk/gd32e230f8_firmware_merge_tool), + 代码与发布均在其仓内管理,本仓只锁定指针): + 新克隆后需 `git submodule update --init` 拉取内容; + 跟进其最新版用 `git submodule update --remote gd32e230f8_firmware_merge_tool`,随本仓提交新指针 - 两件工具的寄存器语义(0x606E 位交换 / 0x606D 整组顺序)均经 demo 板逻辑分析仪 双色交叉实测,过程数据与规程存于上游主仓库 `doc/architecture/` -- 更新:2026-09-28 +- 更新:2026-09-30 diff --git a/agent.md b/agent.md index 8f6e56b..16932d3 100644 --- a/agent.md +++ b/agent.md @@ -29,6 +29,11 @@ 自动包装发送。 - **I2C-Inject**:RP2040 固件 + PC GUI,demo 板 I2C 总线择机注入读写寄存器。 **2026-09-25 起暂停开发**,代码与固件保留备查。 +- 子模块引用:`gd32e230f8_firmware_merge_tool/`(2026-09-30 接入,git submodule 指向 + `hulk/gd32e230f8_firmware_merge_tool`)——GD32E230 APP/BL 合成补齐 + (`_UPDATE.bin`/`_BL.bin`)+ DAPLink Flash GUI 烧录。代码、版本与发布均在原仓库 + 独立管理,本仓只锁指针;新克隆 `git submodule update --init` 拉取,跟进上游 + `git submodule update --remote gd32e230f8_firmware_merge_tool` 后随本仓提交新指针。 - 镜像约定:`EDID-viewer` 主目录(`E:\Hulk-Coding\HW-Debug-Tools\EDID-viewer`) 改动后需 robocopy /MIR 同步到 `E:\Hulk-Coding\LT8619C\_Debug\_Tools\EDID-viewer` (排除 .venv/build/__pycache__/.git,zip 不同步)。 diff --git a/gd32e230f8_firmware_merge_tool b/gd32e230f8_firmware_merge_tool new file mode 160000 index 0000000..d776979 --- /dev/null +++ b/gd32e230f8_firmware_merge_tool @@ -0,0 +1 @@ +Subproject commit d776979a5a45c89bcdd9800e59ccd07e1add95e1