devanlai / dapboot

DFU Bootloader for STM32 chips
Other
338 stars 111 forks source link

Add support for the BigTreeTech SKR MINI E3 V2.0 board and STM32F103RC #44

Closed twelho closed 3 years ago

twelho commented 3 years ago

Culmination of my bug hunting and feature implementation round started in #41. Depends on #41, #42 and #43.

The BigTreeTech SKR MINI E3 V2.0 (GitHub) is a 3D printer motherboard based on the STM32F103RC with 256 KiB of flash. Out of the box it has a MOSFET controlling the USB pullup wired to the SWCLK pin, which makes attaching a debugger very difficult. The USBMOD target variant has pullup control disabled for people that feel adventurous enough to desolder some components from their board to fix this issue, there is a more in-depth explanation in the USBMOD config.h. Both targets have a high memory variant which has been tested and confirmed working with the Klipper firmware by specifying "no bootloader" in its memory offset configuration menu.

This PR is likely going to fail CI before at least #42 is merged, but full functionality with the Klipper firmware and KIAUH requires all three previous PRs.

image