Unknown USB protocoll ascii

Hi all,

I tried to build the current devel branch with standard settings in Firmware/tup.config and it compiles well.
For my use case I need the ASCII protocoll over USB, so I changed the CONFIG_USB_PROTOCOL to ascii as described in the developer-guide.

I got:
$ make -j4

  1. updated variant: tup.config
    [ ] 100%
    tup error [string “Tupfile.lua”]:51: unknown USB protocol
    stack traceback:
    [C]: in function ‘error’
    [string “Tupfile.lua”]:51: in main chunk
    [ ] 100%
    *** tup: 1 job failed.
    make: *** [all] Fehler 1

In Tupfile.lua is no ascii defined. What should I use to send ASCII commands through a virtual com - USB connection?

Thanks / Zennix

Apologies, the documentation is out of date. We have 2 interfaces on the ODrive now: the native and the CDC interface. This means both protocols are running concurrently by default, and hence the option was removed. You can leave the option set to the native protocol: the ascii is available on the other interface.

I updated the documentation just now.

Hi Oskar,

thank you.
I will try. What are the settings for the terminal session: 115000 8 n 1 ?

Greetings / Zennix

The settings doesn’t matter because it’s not an actual serial port, it’s a USB CDC device. But sure you can use the ones you state.