You are here

Programming NRF51822 Module with ST-Link v2

4 posts / 0 new
Last post
koralle
Offline
Last seen: 3 years 4 days ago
Joined: 2018-05-01 17:25
Posts: 5
Programming NRF51822 Module with ST-Link v2

Hey everybody, I am trying to figure out, how to flash benjamins software on a nrf51822 module.

Still being kind of a Tech-Noob, I am stuck with this and don't have any idea how to proceed.

Can someone point me in the right direction?

lock
Offline
Last seen: 1 year 10 months ago
VESC Original
Joined: 2017-08-02 00:26
Posts: 3

I'd never flashed anything before the nrf51822 and didn't have any real troubles doing so...

Would double check your wiring against what is in the repo, then I'd probably suggest to try flashing from Ubuntu inside a VM (instead of cygwin?).

If all that fails I recently saw that Flipky has a reasonably cheap offering.

 

TechAUmNu
Offline
Last seen: 2 months 3 weeks ago
Joined: 2017-09-22 01:27
Posts: 575

Either SWDIO and SWCLK are switched, or you are on the wrong pins.

 

Also blimey those nrf modules look great! Proper cable and everything. I might supply those with my new revision..... :D  (Someone needs to tell them to use less solder though)

koralle
Offline
Last seen: 3 years 4 days ago
Joined: 2018-05-01 17:25
Posts: 5

Turns out it was a driver problem. When I tried it on proper installed ubuntu instead of the new Windows store ubuntu app, it worked flawlessly.

Thanks boyz