J-Link Base not showing anything and debug not working VS Code

Hi,

I am currently developing a software for a custom board with nRF9160 chip.

The code is tested and works on nrf9160DK. The debugging works and the device is showing all information from logs.

The problem comes when I move to my custom board and I try to upload code from my J-Link Base.

There the code uploads but you cannot see any log information on the port of the J-Link.

Also when I try to debug the code I get the following message:

and I cannot seem to fix it.

For trying to see the log I go to NRF Terminal, select the COM port that the device is on and choose 115200 8n1.

Also tried with putty with 9600 but still the connection is established but nothing comes on the screen,

Any suggestions on why the J-Link is not functioning as intended?

  • Q1: Could you try to use the nRF9160-DK as an external debugger (see here for hardware setup: https://infocenter.nordicsemi.com/topic/ug_nrf91_dk/UG/nrf91_DK/hw_debug_out.html?cp=2_0_4_3_11)?

    Then enter debug mode, ie. not a UART terminal.

    I have tried this before also. With the DK debugger I can't even upload code to the device. 

    These are the errors that I get in Terminal:

    Q2: Have you tried the same procedure on a newer installation of NCS, lets say v2.2.0?

    I haven't tried with newer versions. 

    Q3: Could you share details about your JLink Base debugger? Which version of JLink is it? That should be on a sticker on the backside of the debugger.

    Version 11.0.

  • Hi,

     

    Svetlio141 said:
    I have tried this before also. With the DK debugger I can't even upload code to the device. 

    What is the VDD_IO voltage of your custom board?

    On the nRF9160-DK it is default set to 1.8V, via the DIP-switch in the lower left corner marked "VDD IO".

    If your custom design uses 3V, please change the position on the nRF9160-DK to match this.

     

    Kind regards,

    Håkon

  • The VDD_IO is 1.8V.

  • And this is also corresponding to what your custom board is powered and setup with?

  • I'm sorry, my last message was not really clear.

    Both the VDD_IO and the custom board setup is 1.8 V.

« 2 3 4 5 6 »