[SOLVED] Is it possible to use VCOM over Ethernet (J-Link PRO)

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] Is it possible to use VCOM over Ethernet (J-Link PRO)

    Hello,

    I have a target that makes use of the J-Link's Virtual COM Port feature (in particular, Rx.) It works fantastically when the J-Link is attached to a host via the USB interface. However, I'm in a situation now where I'm needing to access the VCOM while the J-Link is connected to the host via the network.

    I've not found anything in the documentation or in any of the tools (nor J-Link Commander) that look to expose that functionality anywhere. Is it there and I'm just missing it?

    I can absolutely understand if the VCOM functionality (as in, full USB CDC-ACM) isn't available via the network, but I do hope there's at least a way to read & write through some other interface. (Be it a TCP (or other) socket, or over the J-Link network protocol itself.)
  • Hi,

    As you correctly pointed out, VCOM uses the USB CDC-ACM class which is USB specific and therefore not available over Ethernet.
    There are J-Link API functions that may be used to access the VCOM channel (of course not concurrently with a terminal application on the host. They are mutually exclusive)
    The J-Link API description is part of the SDK: shop.segger.com/debug-trace-pr…ftware-add-ons/j-link-sdk
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.