Skip to content

dapboot-v1.20

Latest
Compare
Choose a tag to compare
@devanlai devanlai released this 11 Sep 22:57
· 9 commits to master since this release
3f5f387

Official release of dapboot 1.20 with support for more boards, improvements to the DFU implementation, and more configuration options.

Major changes:
In v1.11 and earlier, the bootloader implementation for STM32F103 targets would expect to be passed a 32-bit command split across the first two 16-bit RTC backup registers. On STM32F103 targets only, the bootloader now instead only looks for a 16-bit command in the first RTC backup register. Existing application firmware that writes to both backup registers will continue to work with versions of dapboot before and after this change.

Internal changes:

  • Allow target configuration of the transfer size via TARGET_DFU_WTRANSFERSIZE (#27)
  • Allow target configuration of the flash programming poll interval / timeout via target_get_timeout() (#27)
  • Add STM32L1 target support (#27)
  • Allow exiting the bootloader via DFU detach request (#28)
  • Update to a slightly less ancient version of libopencm3
  • Allow configuration of the USB VID/PID via USB_VID and USB_PID (#33)
  • Allow configuration of the USB alternate setting number for the DFU interface via USB_DFU_ALTN (#43)
  • Allow configuration of the RTC backup register used to to pass commands to the bootloader and the command word used to trigger the bootloader via REG_BOOT and CMD_BOOT (#42)
    • On STM32F103 targets, use only the first RTC backup register instead of the first two RTC backup registers.
  • Align the DFU manifestation behavior with the spec and allow selection between auto-detach behavior vs manual detach via DFU_WILL_DETACH (#41)
  • Replace target_manifest_app() with target_pre_detach() to allow blinking LEDs or setting flags when rebooting to run new firmware or existing firmware.

New board support:

  • Olimex STM32-H103 (#32)
  • WeAct BluePill Plus - STM32F103C8T6 version: #36 and GD32F303CCT6 version: #40
  • BigTreeTech SKR Mini E3 V2.0 (#44)

Note that within this release, only the bluepill, stlink, and maplemini firmware binaries have been manually tested due to hardware / time limitations. Please perform your own testing of all other firmware builds before deploying them in production.

Thanks to @karlp, @jeanthom, @obra, @iovxw, and @twelho for contributing to this release.