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

Discussion about USB over Ethernet driver

Hello Everyone,

i'm reading the USB over Ethernet from the below link

http://www.keil.com/pack/doc/mw/USB/html/dev_cdc_ncm.html.

i'm trying to build the software in the similar manner with few changes. but i'm not getting the following things.

1. who is acting as server and who is acting as client ?

2. whether it is possible to change the IP address ?if YES then how to change it ?

3. whether USB over Ethernet is acting as the DHCP server and client configuration. if YES please explain how?.

Parents
  • CDC NCM is actually replacing the physical Ethernet cable the same way CDC ACM (Virtual COM port) is replacing the serial UART cable.

    CDC NCM allows embedded device to connect to USB Host (generally PC) with USB cable instead of Ethernet cable, and nothing else.

    The example that you specified http://www.keil.com/pack/doc/mw/USB/html/dev_cdc_ncm.html actually implements a bridge between USB and Ethernet, so that example uses USB to connect to the USB Host (Ubuntu driven) and it connects to a Ethernet network via Ethernet connector on embedded board, and it just transfers packets from USB to Ethernet and vice versa.

    As far as that example goes you can look that board as Ethernet cable.

Reply
  • CDC NCM is actually replacing the physical Ethernet cable the same way CDC ACM (Virtual COM port) is replacing the serial UART cable.

    CDC NCM allows embedded device to connect to USB Host (generally PC) with USB cable instead of Ethernet cable, and nothing else.

    The example that you specified http://www.keil.com/pack/doc/mw/USB/html/dev_cdc_ncm.html actually implements a bridge between USB and Ethernet, so that example uses USB to connect to the USB Host (Ubuntu driven) and it connects to a Ethernet network via Ethernet connector on embedded board, and it just transfers packets from USB to Ethernet and vice versa.

    As far as that example goes you can look that board as Ethernet cable.

Children