Repository navigation
PMIC v0.1.8 SUPERSEDED
Pre-releaseSUPERSEDED: Do not use the GD32 asset from this release. Its FW_VER reports the STM32 string 0.1.8-left because of a build-condition error. Use the corrected release once available.
PMIC v0.1.8 engineering prerelease
Exactly two firmware bundles are attached: stm32f103c8_firmware.tar.gz and gd32f503_firmware.tar.gz. Each contains boot.bin/hex, application bin/hex, and SHA256SUMS. Both bundles come from successful CI run 42027546124 at commit 03834dc.
STM32F103C8: FW_VER 0.1.8-left. PA4 is charge red, PA5 charge green, PA6 battery green, and PA7 battery red. The 0.1.8-left application was flashed, read back, and checked at 5 V and 20 V with no battery connected. The release rebuild embeds a different RT-Thread build-time string; charging logic is unchanged. Use SWD at boot 0x08000000 and app 0x08001000. Serial OTA is unsupported.
GD32F503VET6 reference target: FW_VER 0.1.0-gd32. Boot/app/staging/config occupy the first 512 KB of Flash; SRAM is 64 KB. The linked RT-Thread application includes UART identity/status commands, ADC, GPIO, PWM, CH224/TMP100 I2C and internal-Flash OTA. The pinout is software-defined and has no matching verified board. The default CI image forces charging disabled regardless of measured inputs. Do not use it to charge a battery or flash an unverified board. GD32 OTA and runtime behavior have only compile and image-structure evidence, not hardware validation.
Neither image is production-qualified. Loaded charging, current/voltage calibration, charge cutoff, GD32 pinout, and OTA power-loss behavior need board-level validation. The 54 V threshold changes the STM32 lamp, not charge termination; a battery pack with independent cutoff protection is required.