Set up a STM32 bluepill as a blackmagic probe for beginner
#5
Well, turns out I had some time to look into this sooner than I thought, and it ended up being pretty simple (but I haven't actually tested it yet). I still don't have an NRF52 device (my Pine Time or the dev board I ordered off AliExpress), but I was able to reduce the binary size and flash my 64k Blue Pill.

I made a fork on GitHub with my changes, and also uploaded a release: https://github.com/JShabtai/blackmagic/r.../nrf52only

I haven't tested it yet since I don't have a device to test with, but I can connect to it with GDB so I'm optimistic. If someone wants to test it, let me know if it works or not.

Also note that many of the blue pill devices have a 10k pull up on the USB line (R10), but this should be 1.5k. This may cause problems for you (https://amitesh-singh.github.io/stm32/20...-pill.html)

Edit: I got my Pine Time and was able to flash some firmware just fine. This build seems to work fine with the 64k blue pill boards Big Grin


Messages In This Thread
RE: Set up a STM32 bluepill as a blackmagic probe for beginner - by jshabtai - 02-05-2020, 01:07 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)