You are reading a single comment by @fanoush and its replies. Click here to read the full conversation.
  • I happen to have one of those STLINK V2 clones, so all I need is the usb female cable adapter.
    Time to cut some old USB extension. :)

  • Time to cut some old USB extension. :)

    https://www.espruino.com/Bangle.js2+Technical#swd
    Don't know right now which of green and white USB wires is SWD data vs clock, just try both ways, it won't hurt, red, black should be 5V, GND as usual but you can of course test against the connector (and the table in the link above). STLINK has 5V pin so you can connect it for charging too.

    With ST firmware it should work in openocd like this openocd -d2 -f interface/stlink-v2.cfg -f target/nrf52.cfg

About

Avatar for fanoush @fanoush started