making blackmagic probe from stm32 chip board
kalregus Wed Jan 18, 2017 9:49 pm
I am trying to program NRF51822, and here, on this forum i’ve found recipe to make black magic probe out of stlink board (http://www.stm32duino.com/viewtopic.php?t=122). Because that thread is closed, i decided to make a new one. Unfortunatelly i can not find some answers in that closed thread.
First thing – i bought boards like this:
https://drive.google.com/file/d/0B02vrP … sTlJz/view
You can see there (from bottom) – uart converter (1), sth like maple mini stlink board (2), board with wires – also stlink, but different vendor (probably stmicroelectronics board or its clone – 3), also nrf51822 chip (4) and nrf51 DK motherboard by waveshare (5).
I found some tutorials on YT how to compile bin, but since i am windows user i cant (or dont know how to prepare those bin).
First of all i connected board 2 to windows – it hasnt been found (device manager says “Unknown device”). Even installing STlink v2 drivers didnt helped it
Next i connected board 3 – windows found it easily. After starting Stlink Utility i could connect to that board, and update firmware. Also, after connecting board 2 to board 3 via swd i could connect it.
I started to search bin of black magic probe which wasnt attached to
http://www.stm32duino.com/viewtopic.php?t=122
Fortunately i found them here:
http://builds.blacksphere.co.nz/blackmagic/
downloaded stlink file and programmed it to board 3 with board 2, after erasing whole chip.
I see that everything is flashed correctly (from address 0x08000000 memory looks like downladed bin), but still flashed chip (2) isnt recognized by system – it is still Unknown device even if i downladed BMP drivers from
I hope all those links will help someone which would encounter same problems as i did.
And now comes time for question:
What am i doing wrong? Is the bin file wrong? Or maybe my stlink board i am trying to flash is damaged? I also consider that i have some vendor-driver recognition problems. Or maybe there is something else? Please advice.
Kalreg.
Also useful links are:
https://github.com/blacksphere/blackmagic
https://www.deltanova.co.uk/electronics/arm/blackmagic/
https://github.com/RickKimball/blackmag … _coreboard
