Hey all,
I'm working with the nRF51822 (nRF51dk) on a mac running high sierra, and I've been following this tutorial to try to get started. But when I try to make flash
code onto the board, I keep getting ERROR: There is no debugger connected to the PC.
. I can see the board show up on my desktop as MBED when I plug it in, so I know my computer's recognizing the device as something. It just seems like it's seeing it as the wrong thing.
I used this same board a couple of years back, with an earlier version of macOS, and I was able to get everything working then, but I also used mbed.org and their cloud compiling stuff to generate hex files that I could just drop into the board, so this approach is a bit different. I'm connecting over a standard usb (usb C converting to A).
Could it be that I formatted my board for a different type of flashing when I was using mbed? I remember doing something like that. Anyway, I haven't been able to connect at all, and I'm a bit stuck. Any advice would be appreciated. Oh, and I've downloaded and installed the latest jlink software and documentation pack, so that's not the issue.
EDIT: I followed Gaute Gamnes' advice here and got the devkit to display as jlink when plugged in. Yay! However, now I'm getting a different error when I try to flash code on. ERROR: Cannot connect to any nRF device. Please make sure a device is connected to the debugger and supplied.