Files
十七 ebef6a8694 feat: complete assembly mesh relay control path
- synchronize STM8 application and external flash layout updates\n- add assembly bootloader and assembly application test projects\n- add UART1 interrupt receive ring buffer\n- parse JDY-28M Mesh outer frames and source addresses\n- add CRC-16/MODBUS validation\n- implement relay control command 0x01 and response 0x81\n- support unicast and broadcast relay control frames\n- update host protocol, OTA documents, and serial tools
2026-11-05 16:12:51 +08:00

804 B
Raw Permalink Blame History

STM8S003F3P6TR Bootloader

这是独立于应用程序的 STM8S003F3P6TR Bootloader 工程。

当前地址规划:

0x8000 ~ 0x83FF  Bootloader,1KB
0x8500 ~ 0x9FFF  Application,6.75KB

当前版本完成的基础功能:

  • 复位后初始化最小硬件环境;
  • 读取应用程序首字节,判断应用程序是否存在;
  • 通过跳转入口启动应用程序;
  • 看门狗保护;
  • 仅为后续 W25Q64 升级标志读取、CRC16/MODBUS 校验和应用程序写入预留接口。

OTA 分包接收、Mesh 通信、W25Q64 下载写入属于主程序,不属于本工程。

注意:当前版本是 Bootloader 基础框架,尚未接入完整的 JDY-28M OTA 下载协议和 W25Q64 驱动。实物烧录前必须先确认应用程序已经按照 0x8400 重新链接。