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

PCA 1000(1) JLINK/UART visible on Linux?

Hi, I happily use the JLINK UART interface which show up as COMxx on windows for both the PCA10000 and PCA10001. We are trying to 'see' the same on Linux. Have inatlled the latest J-Link drivers, but can't see a useful /dev/tty... I've tried 'vcom enbable' in jlinkexe... is there something else to do?

thanks.

Parents
  • Hi,

    Under linux, the device will enumerate as a "USB modem" (a subclass of USB CDC), and it should be accessible under /dev/ttyACMx, where x is normally 0 unless you have more of this specific usb class connected to your PC. To see if the enumeration is successful, you can do something like this:

    dmesg | grep SEGGER
    

    It should post something similar to this:

    [   28.805067] usb 1-2: Manufacturer: SEGGER
    

    Note that you may have to be root in order to access the com-port, depending on how your distro is setup. I used "putty" to setup the serial communication.

    Also be sure to read the JLink readme file. You may have to add a udev rule, depending on your system.

    Cheers, Håkon

Reply
  • Hi,

    Under linux, the device will enumerate as a "USB modem" (a subclass of USB CDC), and it should be accessible under /dev/ttyACMx, where x is normally 0 unless you have more of this specific usb class connected to your PC. To see if the enumeration is successful, you can do something like this:

    dmesg | grep SEGGER
    

    It should post something similar to this:

    [   28.805067] usb 1-2: Manufacturer: SEGGER
    

    Note that you may have to be root in order to access the com-port, depending on how your distro is setup. I used "putty" to setup the serial communication.

    Also be sure to read the JLink readme file. You may have to add a udev rule, depending on your system.

    Cheers, Håkon

Children
Related