Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I really like F3 and F4 discovery boards. You can re-flash dedicated stm32f1 with blackmagic probe (instead of ST-Link) and bridge UART to it to get really awesome development board.

After this is done you'll get /dev/ttyACM0 and ACM1 for GDB interface and UART bridge. From GDB you can connect to it directly with 'target extended-remote /dev/ttyACM0' (no need for OpenOCD middleware).

https://wiki.base48.cz/STM32#Running_BMP_on_Discovery_boards



What is the advantage of blackmagic probe over plain ST-Link?

Genuine question, I've never used the ST-Link for more than flashing the image and some debugging, so what am I missing?


It implements GDB stub directly so you don't need to run OpenOCD to be able to attach to it from GDB.

Also UART bridge is nice but this might be supported newer in ST-Link too. I haven't used STLink for a while - flashing all the stuff with blackmagic right away.


Quite sure they do have the UART bridge now, but the black magic probe looks interesting. Thanks for the link.


I'm curious about the uses of the UART bridge. I've only used small chips with few pins to spare, so I've always used RTT or semihosting for logging. Is there an advantage to doing that using the UART instead? Or is the UART bridge for something else entirely?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: