WeActStudio.MiniDebugger icon indicating copy to clipboard operation
WeActStudio.MiniDebugger copied to clipboard

Flashing firmware on DAPLink version

Open 8785benjamin opened this issue 7 months ago • 2 comments

Hello How can I upload a new version of the firmware on the DAPLink version of the mini-debugger ? The PCB (v1.0) doesn't have the connector P1 shown on WeAct-MiniDebugger_V10_SchDoc.pdf with SWDIO_S and SWCLK_S pins to connect an external SWD debugger. The README.md in the folder firmware/DAPLink says :

Use emulator to burn stm32f103xb_bl_crc.hex
Use emulator to burn stm32f103xb_if_crc.hex

But with no more explanations on how the emulator to use to burn the firmware.

The STM32 version doesn't have the problem since the embedded firmware allows to connect to STUpgrade utility from STM.

Best regards

8785benjamin avatar Apr 28 '25 10:04 8785benjamin

You will have to use another flash to flash it via SWD either another DAP-Link or ST-Link should work.

The P1 port that is on the schematic is exposed on the bottom side of the PCB using the four though hole connections.

https://github.com/WeActStudio/WeActStudio.MiniDebugger?tab=readme-ov-file#debugger-port

If you look at the image they show the associated SWD connections. I was able to flash mine to the ST-Link firmware using a DAP-Link

Fythios avatar May 07 '25 07:05 Fythios

Thanks a lot, Fythios. I didn't catch that the 4 holes located behind the main connector on the bottom side of the PCB was the debug connector. The picture you mentionned is clearer since it explains the functions of the 4 holes.

Thanks again !

8785benjamin avatar May 07 '25 10:05 8785benjamin