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

Flashing ST-LINK on Debugger - Size limitation

Open quevedounicamp opened this issue 8 months ago • 1 comments

I tried to flash the STLinkV2.J28.M18.bin on the mini debugger. However, my CubeProgrammer says that the binary exceeds FLASH limits of the MCU. The schematics shows that the MCU is a STM32F102CB, which has 128kB FLASH. The .bin file has 207kB. Is there a ST-LINK binary that fits this MCU?

quevedounicamp avatar Apr 13 '25 20:04 quevedounicamp

You might want to double check the file downloaded as the STLinkV2.J28.M18.bin file is 128kb (size is 0x20000). I was able to flash this to the mini debugger (APM32F103CBT6) using a different DAP-Link to change the firmware from DAP-Link to the ST-Link .

For me it was easier to convert this from a bin to hex and offset the output by 0x08000000 (start program memory) since I had to use a different program to flash it (as STM32CubeProgrammer does not recognize a DAP-Link)

Fythios avatar May 07 '25 07:05 Fythios