This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Can an STLINK be used with nRFgo Studio?

The JLINK is costs hundreds of dollars, the STLINK is less thank $20 USD (available on ST's Discovery boards). I would really prefer to use the STLINK. Is there a way to program the SoftDevice and the Application without using JLINK? My target is the nRF51422.

  • Thanks for the vote of confidence on the edu verson RK. Yes, I am a hobbyist for the time being. Just a quick question: does Segger J-LInk offer more capability than say, OpenOCD or other cheap SWD supported programmers?

  • 2 answers to that, yes and no. OpenOCD offers compatibility with more programmers and thus more target devices. Segger offers compatibility with a large range of ARM devices. So you'd say there that OpenOCD is 'better'. However OpenOCD's breadth of coverage gives it a steeper learning curve and it requires a bit more tuning to get it to go with some chips. Also support relies on 3rd parties adding it and it's not always correct or fast, and for proprietary emulators, non-existant. Only recently is STLINKv2 supported, after being reverse engineered.

    I like JLink because it's supported, natively, by the IDEs I use, it's multi-platform and I know if the boards I'm using is listed and I plug the JLink into it, it's going to work, and if it's not supported, but is ARM, it soon will be and I don't have to mess with it.

    if you 'get good' at OpenOCD you probably find it just as easy.

  • Thanks RK. OpenOCD looks to be a tool I should get familiar with. Just not at this point as mastering a debugger is not my goal at the moment!

Related