This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

USB virtual port and emulation

Hello

I'm working on a CDC USB communication (Atmel ARM9 processor).
On the PC side, I have a virtual comm port.
When my device runs without JTAG/ emulation (UV4), it works fine,
but when I try to debug using JTAG / UV4, all comm ports are declared to be used by another software.
A test communication with a software like hyperterminal is then impossible.

Does the JTAG Ulink2 or µvision / debugger reserve virtual comm ports ?
How can I debug AND test my dialog throughj USB/comm port on the same PC ?

Thanks for your help
Denis

Parents
  • >>Is the Flash Download also set to ULINK2?

    Yes, the target is flashed through the JTAG link, and this is OK.

    >>Which example are you based on? Atmel's?
    I started from the Atmel CDC serial example usb-device-cdc-serial-project-at91sam9xe-ek-keil
    I just want a serial link between my device and a PC.
    the inf file is based on the 6119.inf template, with only a string modified for the name of the connection.

    when the connection is OK, the device is recognized, its names is displayed, and sometimes a test using a terminal software like hyperterminal makes it possible to send and receive some strings.
    But most of the time, the com port is said used, and the test is impossible.

    Denis

Reply
  • >>Is the Flash Download also set to ULINK2?

    Yes, the target is flashed through the JTAG link, and this is OK.

    >>Which example are you based on? Atmel's?
    I started from the Atmel CDC serial example usb-device-cdc-serial-project-at91sam9xe-ek-keil
    I just want a serial link between my device and a PC.
    the inf file is based on the 6119.inf template, with only a string modified for the name of the connection.

    when the connection is OK, the device is recognized, its names is displayed, and sometimes a test using a terminal software like hyperterminal makes it possible to send and receive some strings.
    But most of the time, the com port is said used, and the test is impossible.

    Denis

Children
No data