nRF5340DK VCOM only works with putty

Hey guys,

an issue I was postponing but need to solve for an upcoming management demonstration: I can only connect to the nRF5340DK VCOM with putty.

Using Hterm or the Matlab serial port functionality, which is what I need for the demo, will shut down the Jlink cpu. LED5 will turn off, and the Jlink CDC UART port disappears from the device manager.

I tried DTR/RTS pins on and off, to no avail. This solved the problem here nRF52 DK - USB CDC ACM Example not working with HTerm/Qt - Nordic Q&A - Nordic DevZone - Nordic DevZone (nordicsemi.com) e.g., which is similar I guess.

The Jlink cpu seems to reset upon Hterm or Matlab serial connecting. The nRF5340 is still up and going, as indicated by LEDs signaling new received packets.

Any idea?

Thank you,

Uli

Parents Reply
  • Too bad - though Hterm is working now, it's still not working with Matlab. So the USB port has got an influence, but even more so the application. The IF CPU will go into a mode where it also cannot be flashed. Sometimes this state even persists through a hard power toggle.

    Fortunately hub4com in combination with com0com is also working now, and I can forward the data to a virtual port. The virtual port and Matalb are working :)

Children
  • ubat said:
    Fortunately hub4com in combination with com0com is also working now, and I can forward the data to a virtual port. The virtual port and Matalb are working :)

    Happy to hear you found a work-around.

    ubat said:
    The IF CPU will go into a mode where it also cannot be flashed

    Can you please please elaborate? Does the device show when you issue nrfjprog --ids ?

Related