arsalan_elec
New Member
- Total Posts : 2
- Reward points : 0
- Joined: 2012/03/03 08:52:05
- Location: IRAN
- Status: offline
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
|
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)
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
|
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)
I *may* have it but am not sure, will search for it. Do you remember its name, by chance?
|
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)
|
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)
all right, thank you, will check tomorrow
|
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
|
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)
Many thanks, Dario!! Tsuneo
|
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)
 yvw
|
Ian.M
Super Member
- Total Posts : 13273
- 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
|
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)
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!
|
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)
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.
|
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)
Ehm, I never finished that project...  Will be glad to help if I can
|
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)
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=522045In 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
|
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)
Thanks Chinzei for reply, I am interested in 'C' option. Regards, Amit
|
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)
hi, I am interested in 'C' option.
|