This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

jLink USB-UART chip on nRF9160dk malfunction

We are currently experiencing malfunction with the big chip on nRF9160dk board, which provides USB-UART and jLink functionality.
After 30 minutes, to a few hours, we either stop receiving data from one or both of the USB-UARTs, or the data is garbled due to lost bytes.

Currently nRF9160 is using a modified version of the GPS sample, which sends a copy of the NMEA strings over UART1, to UART0.RX on nRF52840, while UART0.TX connects to the USB-UART on the computer. All samples and boards are attached to the case, except for the app running on nRF52840, which is provided as a binary image. The app is very simple: read from RX and write to TX. The source code we are using is shown on the video, but relays on a proprietary UART driver, which we cannot provide. The driver is very well tested and uses DMA to insure optimal performance and no drops of packets.

Following all tests from the videos linked below, we were able to exclude both CPUs: 9160 and 52840, as well as the software running on them. This leaves the chip providing USB-UART functionality as the only possible point of failure, confirmed after restarting power to the board.

https://youtu.be/04RJwDOnUE8
https://youtu.be/pwJoxr1ODTk
https://youtu.be/Dc6Hxk1oKuQ

8780.2021-03-17.7z

6303.nRF52840 UART-loopback.hex

3806.nRF52840 UART-loopback.7z

Parents Reply Children
  • Hi Simon!

    I think the issue got resolved for me because I followed your good advice to update the board controller firmware using J-Link Configurator. I currently have JLink_Windows_V754a_x86_64 installed, and I assume the fix is present there. I don't think I have the Command Line Tool installed, unless it comes as part of nRF Connect, the Toolchain Manager or SDK v1.6.1. There is a note in the change log for nRF Command Line Tool v10.14.0 confirming the issue has been resolved:

    - Improved modem serial DFU resilience to UART data loss by introducing re-sending of unacknowledged packages.

    I'm curious if the board controller firmware gets updated automatically when using the Programmer or Segger Embedded Studio IDE which comes with the SDK?

    Thank you for help! We can mark this case as resolved.

Related