EEVblog Electronics Community Forum
A Free & Open Forum For Electronics Enthusiasts & Professionals
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
This topic
This board
Entire forum
Google
Bing
Home
Help
Search
About us
Links
Login
Register
EEVblog Electronics Community Forum
»
Electronics
»
Microcontrollers
»
SEGGER's IP over USB
« previous
next »
Print
Search
Pages: [
1
]
Go Down
Author
Topic: SEGGER's IP over USB (Read 2460 times)
0 Members and 1 Guest are viewing this topic.
purfield
Regular Contributor
Posts: 54
SEGGER's IP over USB
«
on:
September 10, 2020, 04:32:48 pm »
I'm working on a project that uses a microcontroller and it would benefit from something like this:
https://www.segger.com/products/connectivity/emusb-device/add-ons/ip-over-usb/#resource-usage
It's a software stack by SEGGER that allows a microcontroller to run a web server connected over USB to a host. The only problem is that the pricing from SEGGER is a bit hard to swallow (looks like maybe $10k?)
Has a similar approach ever been implemented with open source?
Logged
ajb
Super Contributor
Posts: 2615
Country:
Re: SEGGER's IP over USB
«
Reply #1 on:
September 10, 2020, 05:42:38 pm »
That's kinda neat. I doubt there's an existing complete alternative, but you can get partway there with LWIP and any existing web server library that is designed to work with it. That leaves the USB side of things, which presumably uses CDC-ECM and appropriate class drivers? I wonder how many MCU vendors include CDC-ECM in their USB frameworks. XMOS has an appnote for IP over USB that may help:
https://www.xmos.com/download/AN00131:-USB-CDC-ECM-Class-for-Ethernet-over-USB(2.0.2rc1).pdf
Logged
ehughes
Frequent Contributor
Posts: 409
Country:
Re: SEGGER's IP over USB
«
Reply #2 on:
September 10, 2020, 06:35:58 pm »
Well, if it is for commercial work then that cost is worth it.
tinyUSB has a good device stack.
https://github.com/hathach/tinyusb/tree/master/examples/device
It has a USB device example to implement network + a webserver.
Logged
hans
Super Contributor
Posts: 1643
Country:
Re: SEGGER's IP over USB
«
Reply #3 on:
September 10, 2020, 07:21:44 pm »
The architecture picture says it all; the Segger solution relies on USB-ECM
I think there are plenty of "examples" around for microcontorllers such as the STM32 and the like:
https://github.com/search?q=usb+ecm&type=Repositories
edit:
Also interesting keywords are CDC-ECM and RNDIS (although I believe that's a different protocol/standard entirely)
«
Last Edit: September 11, 2020, 06:47:25 am by hans
»
Logged
purfield
Regular Contributor
Posts: 54
Re: SEGGER's IP over USB
«
Reply #4 on:
September 10, 2020, 10:53:24 pm »
Awesome, thanks for the tips everybody!
Logged
theatrus
Frequent Contributor
Posts: 352
Country:
Re: SEGGER's IP over USB
«
Reply #5 on:
September 11, 2020, 06:51:22 am »
I'm glad we've moved on from RNDIS
Logged
Software by day, hardware by night; blueAcro.com
JoeyG
Regular Contributor
Posts: 117
Country:
Re: SEGGER's IP over USB
«
Reply #6 on:
September 12, 2020, 09:29:47 am »
Or something ready made
https://www.microchip.com/wwwproducts/en/LAN7500
Logged
RRCXUD
Newbie
Posts: 1
Country:
Re: SEGGER's IP over USB
«
Reply #7 on:
September 12, 2020, 09:42:10 am »
If you are using STM32, ST USB library supports both ECM and RNDIS.
https://github.com/STMicroelectronics/stm32_mw_usb_device
You can find webserver over RNDIS examples in their cube packages.
Logged
Print
Search
Pages: [
1
]
Go Up
« previous
next »
Share me
Smf
EEVblog Electronics Community Forum
»
Electronics
»
Microcontrollers
»
SEGGER's IP over USB
There was an error while thanking
Thanking...
EEVblog Main Site
EEVblog on Youtube
EEVblog on Twitter
EEVblog on Facebook
EEVblog on Odysee