No output USB to serial nRF Terminal

Hi,

I am not receiving any logs from my nRF9160, I am using nRF Terminal.

My colleague is having no problems receiving logs using their computer and the same usb->serial cable to the board.

My computer discovers the USB, and mounts it to ttyUSB0. I can then use putty / nrfTerminal and connect. But there are no logs, unlike for my colleague.

I have tested this on my two computers, both Ubuntu. My colleague has a Mac.

I have previously successfully been able to read logs, but now I cant...

How can I solve this? What should I do?

We both use the same .hex -file

Parents
  • Hi,

    Could you verify that you're opened the correct comport? For instance, as seen in the image below it is COM6 that transmits the UART log to the terminal. What I want to verify is if the default COM that the Mac finds is the COM that transmits the log, while Ubuntu chooses the other one by default. 

    Could you also verify the baud rate and the other serial settings you choose on Ubuntu?

    Kind regards,
    Andreas

Reply
  • Hi,

    Could you verify that you're opened the correct comport? For instance, as seen in the image below it is COM6 that transmits the UART log to the terminal. What I want to verify is if the default COM that the Mac finds is the COM that transmits the log, while Ubuntu chooses the other one by default. 

    Could you also verify the baud rate and the other serial settings you choose on Ubuntu?

    Kind regards,
    Andreas

Children
  • Hello Andreas,

    This is not a UART port but RTT

    Pins: RxD, TxD GND

    There are not decices in "CONNECTED DEVICES", unless i plug in my JLink but thats not where the logs go

  • Hi again,

    Could you check the following:

    1. The device provider in the VS Code extension:
      1. Open the extension setting and search for "Device Provider". Verify that the Mac and Ubuntu machine has the same version
    2. To my understanding you would require to have either a UART converter on the PC, or JLink. Could you verify if the Mac has this set up?

    PS: You might also want to check if your device is a ttyACMn and not a ttyUSBn (n is a number). The USB on the DK is typically ttyACMn, while ttyUSB suggests that you have a usb to seriel cable. I believe it might be a Linux + RTT to USB adapter problem. Could you state which model of RTT to USB you're using?

    Kind regards;
    Andreas

Related