• AVR Freaks

Helpful ReplyUSB Ehternet Emulation, RNDIS Question

Author
arsalan_elec
New Member
  • Total Posts : 2
  • Reward points : 0
  • Joined: 2012/03/03 08:52:05
  • Location: IRAN
  • Status: offline
2012/03/03 09:15:25 (permalink)
0

USB Ehternet Emulation, RNDIS Question

Hi All,
Its my first Post in this forum, i,m newbie in PIC microcontrollers too. 
i done a project with DSPIC33E that has some ADC filterring and want to show this measurements and  result to end user , and i want end user can do some configuration to device too. i want to use Adobe flash as UI because its very simple to draw graphical objects like curve(to show something like ADC outout) in it. unfurtunatley the Flash doesn't support  USB connectivity. but fortunately support TCP socket. 
i have two way to connect UI to PIC . first using RNDIS to connect board to computer then to Flash, Second is Using embedded web hosting on DSPIC and  RNDIS to use webBrowser to connect to device.
my question is:
how can i connect USB microcontroller to pc Via RNDIS? 

i found "USB RF Modem" topic in archive From dear mzoran but its source is not reachable now (since 2008).any information be helpful for me.
sorry for my English.
thanks in advance
#1
chinzei
Super Member
  • Total Posts : 2250
  • Reward points : 0
  • Joined: 2003/11/07 12:39:02
  • Location: Tokyo, Japan
  • Status: offline
Re:USB Ehternet Emulation, RNDIS Question 2012/03/04 03:18:17 (permalink)
0
i found "USB RF Modem" topic in archive From dear mzoran but its source is not reachable now (since 2008).

It is a pity to hear that mzoran's site was closed. I remember I've downloaded his work, but I can't find it. Somewhere deep in my archive.
Dario, do you keep mzoran's RNDIS source code?
 
 
unfurtunatley the Flash doesn't support  USB connectivity. but fortunately support TCP socket.

Flash Air has ability to run usual .exe file as its child process, and it communicates with the process over stdin/stdout (*1)
Using this function, you may implement USB communication much easier.
But I'm not sure this function is available on the original Flash.
 
(*1)Interacting with a native process
http://www.adobe.com/devnet/air/flex/quickstart/articles/interacting_with_native_process.html
 
Tsuneo
#2
DarioG
Allmächtig.
  • Total Posts : 54081
  • Reward points : 0
  • Joined: 2006/02/25 08:58:22
  • Location: Oesterreich
  • Status: offline
Re:USB Ehternet Emulation, RNDIS Question 2012/03/04 08:18:54 (permalink)
0
I *may* have it but am not sure, will search for it.
Do you remember its name, by chance?

GENOVA :D :D ! GODO
#3
chinzei
Super Member
  • Total Posts : 2250
  • Reward points : 0
  • Joined: 2003/11/07 12:39:02
  • Location: Tokyo, Japan
  • Status: offline
Re:USB Ehternet Emulation, RNDIS Question 2012/03/04 08:33:25 (permalink)
0
In this post, mzoran said it's XE1205-RNDIS project
http://www.microchip.com/forums/fb.ashx?m=340948
I believe the zip file name of his work included XE1205
 
Tsuneo
#4
DarioG
Allmächtig.
  • Total Posts : 54081
  • Reward points : 0
  • Joined: 2006/02/25 08:58:22
  • Location: Oesterreich
  • Status: offline
Re:USB Ehternet Emulation, RNDIS Question 2012/03/04 12:43:30 (permalink)
0
all right, thank you, will check tomorrow

GENOVA :D :D ! GODO
#5
DarioG
Allmächtig.
  • Total Posts : 54081
  • Reward points : 0
  • Joined: 2006/02/25 08:58:22
  • Location: Oesterreich
  • Status: offline
Re:USB Ehternet Emulation, RNDIS Question 2012/03/04 12:47:31 (permalink) ☄ Helpful
+2 (1)
easier than I thought, it's here
http://cyberdyne.homeip.n./public/xe1205-rndis.zip
Smile

GENOVA :D :D ! GODO
#6
chinzei
Super Member
  • Total Posts : 2250
  • Reward points : 0
  • Joined: 2003/11/07 12:39:02
  • Location: Tokyo, Japan
  • Status: offline
Re:USB Ehternet Emulation, RNDIS Question 2012/03/04 18:54:48 (permalink)
0

Many thanks, Dario!!

Tsuneo
#7
DarioG
Allmächtig.
  • Total Posts : 54081
  • Reward points : 0
  • Joined: 2006/02/25 08:58:22
  • Location: Oesterreich
  • Status: offline
Re:USB Ehternet Emulation, RNDIS Question 2012/03/05 01:03:10 (permalink)
0
Smile yvw

GENOVA :D :D ! GODO
#8
Ian.M
Super Member
  • Total Posts : 13225
  • Reward points : 0
  • Joined: 2009/07/23 07:02:40
  • Location: UK
  • Status: offline
Re:USB Ehternet Emulation, RNDIS Question 2012/03/05 01:28:04 (permalink) ☄ Helpful
0
And if you want his original PingPong CDC page, (for the hardware details) its on Wayback:
http://web.archive.bibalex.org/web/20071214164912/www.raccoonrezcats.com/rfmodem.html
#9
arsalan_elec
New Member
  • Total Posts : 2
  • Reward points : 0
  • Joined: 2012/03/03 08:52:05
  • Location: IRAN
  • Status: offline
Re:USB Ehternet Emulation, RNDIS Question 2012/03/06 09:01:16 (permalink)
0
thanks DarioG and all other guys,
i think its very useful to embed web hosting with rich flash application on these small gadgets. the flash software can be very small because its vector base program so we can build very user-friendly with rich graphic UI software under 1kbyte,
i'l review that project and collect my questions, i want your guidance guys!
#10
amit.gholam
New Member
  • Total Posts : 10
  • Reward points : 0
  • Joined: 2013/05/23 23:36:11
  • Location: 0
  • Status: offline
Re:USB Ehternet Emulation, RNDIS Question 2013/05/23 23:46:45 (permalink)
0
Hi Dario G,  I want to develop a USB RNDIS based embedded WEB Server using PIC32MX795F512L.
I completed USB CDC class and  trying RNDIS. Please guide me how should i progress.
I have the PIC32MX795F512L USB and Ethernet starter kit. I am new to PIC.
#11
DarioG
Allmächtig.
  • Total Posts : 54081
  • Reward points : 0
  • Joined: 2006/02/25 08:58:22
  • Location: Oesterreich
  • Status: offline
Re:USB Ehternet Emulation, RNDIS Question 2013/05/24 00:00:02 (permalink)
0
Ehm, I never finished that project... Smile
Will be glad to help if I can

GENOVA :D :D ! GODO
#12
chinzei
Super Member
  • Total Posts : 2250
  • Reward points : 0
  • Joined: 2003/11/07 12:39:02
  • Location: Tokyo, Japan
  • Status: offline
Re:USB Ehternet Emulation, RNDIS Question 2013/05/24 10:10:03 (permalink)
+2 (1)
amit.gholam:
I want to develop a USB RNDIS based embedded WEB Server using PIC32MX795F512L...
I have the PIC32MX795F512L USB and Ethernet starter kit.

I'm not sure, if you would have really an exact idea or not.

a) For an embedded WEB Server, just the Ethernet part of the starter kit works. No USB/RNDIS concerns. Rather, USB mass-storage may be better, to share the web pages with a PC.

b) RNDIS connects an Ethernet controller to host over USB. The starter kit should work as a USB-Ethernet dongle, but as no web server.

c) Lastly, you may virtualize Ethernet connection over USB/RNDIS, like a virtual COM port. Not just for Ethernet connection, you may also virtualize everything on the network, web server, DHCP, DNS, etc.
http://www.microchip.com/forums/fb.ashx?m=522045
In this option, the Ethernet controller on the starter kit is useless.

Which option do you mean by "USB RNDIS based embedded WEB Server" on the Ethernet starter kit?

Tsuneo
#13
amit.gholam
New Member
  • Total Posts : 10
  • Reward points : 0
  • Joined: 2013/05/23 23:36:11
  • Location: 0
  • Status: offline
Re:USB Ehternet Emulation, RNDIS Question 2013/05/26 23:23:07 (permalink)
0
Thanks Chinzei for reply,
I am interested in 'C'  option.
 
Regards,
Amit
#14
amit.gholam
New Member
  • Total Posts : 10
  • Reward points : 0
  • Joined: 2013/05/23 23:36:11
  • Location: 0
  • Status: offline
Re:USB Ehternet Emulation, RNDIS Question 2013/05/27 04:01:43 (permalink)
0
hi,
 
I am interested in 'C'  option.
#15
Jump to:
© 2019 APG vNext Commercial Version 4.5