Can one actually debug with an nrf9160DK? Or is it printf debugging with a terminal or RTT? In VS Code, I can get my nrf9160DK to show up as a Connected Device.
Thanks
Can one actually debug with an nrf9160DK? Or is it printf debugging with a terminal or RTT? In VS Code, I can get my nrf9160DK to show up as a Connected Device.
Thanks
Yes - can not.
Attached are some images - VS Code (no device connected) & device manager. The DK maps as 3 CDC COM ports, a J-Link device and a Thumb drive, so I am sure my cable is working.
Thanks
I see. What version of the DK do you have? There should be a sticker on the DK with some numbers, like 1.0.0, 2021.11.
And what do you get when running "nrfjprog -i" in a terminal with the DK connected?
Regards,
Elfving
I see. What version of the DK do you have? There should be a sticker on the DK with some numbers, like 1.0.0, 2021.11.
And what do you get when running "nrfjprog -i" in a terminal with the DK connected?
Regards,
Elfving
Dirk - If you need a new DK let me know as I have some here in Atlanta that I can bring over to you.
The sticker on the board is PCA10090 1.1.0 2023.11 960013264
I purchased this DK form Digi-Key last week.
I get an Error when I try to send the nrfjprog -i
I have an older DK from a few years ago:
PCA10090 1.0.0 2020.50 960085721
but is doesn't connect in VS Code either.
DirkH said:I get an Error when I try to send the nrfjprog -i
My apologies, I meant a command line terminal, like cmd or powershell in Windows. If nrfjprog is an unrecognized command, it might be that you haven't installed the nRF Command Line Tools.
DirkH said:I have an older DK from a few years ago:
Do you have other DKs that do connect to VSC? Have any DKs showed up in VSC on this computer earlier?
Regards,
Elfving
I tried the nrfjprog -i from a command line and it returned 960013264 which is on the label on the back of the board.
Clearly, some processes are communicating with the board.
I have 64 bit windows, and I installed all 64 bit versions of the tools. Should I try installing 32 bit tools.
I don't have any other DKs to try.
I re-installed all the software. Now I can detect the DK in VS Code and debug. I think I needed to select 32 & 64 bit versions when installing nRF Connect for Desktop.