Re: Reg: Command handling Via USB driver
Mahendravarman Rajarao (RBEI/EAA10) <Mahendravarman.Rajarao@...>
Hitoggle quoted messageShow quoted text
Thanks for the reply
But as of now with the available zephyr, the USB can work either as DFU flashing or as UART over USB (CDC) and not both functionalities together.
We have a requirement at End of Line, we need to pass commands from a PC to test each interfaces. And finally we need to flash the functional software to the device via DFU flashing.
So only I have a doubt that can we use USB DFU class and expand the driver to handle some more custom commands other than DFU commands to satisfy my requirement.
Please suggest !!
From: Andrei Emeltchenko [mailto:firstname.lastname@example.org]
Sent: Thursday, March 09, 2017 1:47 PM
To: Mahendravarman Rajarao (RBEI/EAA10) <Mahendravarman.Rajarao@in.bosch.com>
Subject: Re: [Zephyr-devel] Reg: Command handling Via USB driver
On Thu, Mar 09, 2017 at 04:54:23AM +0000, Mahendravarman Rajarao (RBEI/EAA10) wrote:
HiIt is easier to use cdc_acm sample in samples/usb/cdc_acm, then your PC already has the driver for it and it appears on your PC as ttyACM or ttyUSB, then you can communicate over serial.
If you want to implement certain USB class like Bluetooth in hci_usb sample you should look here: samples/bluetooth/hci_usb/
For other samples you need AFAIK to have certain driver, like btusb for hci_usb, etc.