poxyran
Member
Hi!,
I want to start a project based on one of the examples included in LUFA but I'm having some troubles making it work with my Teensy++ 2.0.
The specific example is the RNDIS Demo.
What I did is this:
1) I cloned the LUFA lib branch from https://github.com/adafruit/lufa-lib
2) I compiled the RNDISEthernet demo from Demos/Device/LowLevel/RNDISEthernet using the Atmel Toolchain from here: http://www.atmel.com/tools/ATMELAVRTOOLCHAINFORLINUX.aspx the one I used was tmel AVR 8-bit Toolchain 3.4.5 - Linux 64-bit
3) Once I had the corresponding .elf file, I generated the .hex file using the following command: avr-objcopy -O ihex -R .eeprom -R .fuse -R .lock -R .signature main.elf main.hex
4) I uploaded the .hex file to the teensy board using the Teensy loader.
But when I plugged it in my Windows 7 SP1 Ultimate x64 nothing happened.
The LUFA doc says:
"""
* Remote Network Driver Interface demonstration application.
* This gives a simple reference application for implementing
* a CDC RNDIS device acting as a simple network interface for
* ethernet packet exchange. RNDIS is a proprietary Microsoft
* standard; this demo will only work on Windows 2000 (manually
* patched with the Microsoft RNDIS hotfix) and above (with no
* manual patches), or on the latest Linux kernels.
*
* Before running, you will need to install the INF file that
* is located in the RNDISEthernet project directory. This will
* enable Windows to use its inbuilt RNDIS drivers, negating the
* need for special Windows drivers for the device. To install,
* right-click the .INF file and choose the Install option. If
* Windows 2000 is used, the Microsoft INF file in the hotfix
* will need to be altered to use the VID/PID of the demo and
* then chosen instead of the LUFA RNDIS INF file when prompted.
*
* When enumerated, this demo will install as a new network
* adapter which ethernet packets can be sent to and received
* from. Running on top of the adapter is a very simple TCP/IP
* stack with a HTTP webserver and TELNET host which can be
* accessed through a web browser at IP address 10.0.0.2:80 or
* through a TELNET client at 10.0.0.2:25. This device also supports
* ping echos via the ICMP protocol.
*
"""
I tried to install the .inf provided by the project but is doen't work, it produce an error: "The INF file you selected does not support this method of installation".
So, I tried it on a Linux box (Ubuntu 14.04 LST x64) but is doesn't worked either. No other network interface is created.
The question is: What I'm doing wrong?. I feel very frustrated.
Btw, I posted the same issue in the LUFA support mailing list but no one answered.
I want to start a project based on one of the examples included in LUFA but I'm having some troubles making it work with my Teensy++ 2.0.
The specific example is the RNDIS Demo.
What I did is this:
1) I cloned the LUFA lib branch from https://github.com/adafruit/lufa-lib
2) I compiled the RNDISEthernet demo from Demos/Device/LowLevel/RNDISEthernet using the Atmel Toolchain from here: http://www.atmel.com/tools/ATMELAVRTOOLCHAINFORLINUX.aspx the one I used was tmel AVR 8-bit Toolchain 3.4.5 - Linux 64-bit
3) Once I had the corresponding .elf file, I generated the .hex file using the following command: avr-objcopy -O ihex -R .eeprom -R .fuse -R .lock -R .signature main.elf main.hex
4) I uploaded the .hex file to the teensy board using the Teensy loader.
But when I plugged it in my Windows 7 SP1 Ultimate x64 nothing happened.
The LUFA doc says:
"""
* Remote Network Driver Interface demonstration application.
* This gives a simple reference application for implementing
* a CDC RNDIS device acting as a simple network interface for
* ethernet packet exchange. RNDIS is a proprietary Microsoft
* standard; this demo will only work on Windows 2000 (manually
* patched with the Microsoft RNDIS hotfix) and above (with no
* manual patches), or on the latest Linux kernels.
*
* Before running, you will need to install the INF file that
* is located in the RNDISEthernet project directory. This will
* enable Windows to use its inbuilt RNDIS drivers, negating the
* need for special Windows drivers for the device. To install,
* right-click the .INF file and choose the Install option. If
* Windows 2000 is used, the Microsoft INF file in the hotfix
* will need to be altered to use the VID/PID of the demo and
* then chosen instead of the LUFA RNDIS INF file when prompted.
*
* When enumerated, this demo will install as a new network
* adapter which ethernet packets can be sent to and received
* from. Running on top of the adapter is a very simple TCP/IP
* stack with a HTTP webserver and TELNET host which can be
* accessed through a web browser at IP address 10.0.0.2:80 or
* through a TELNET client at 10.0.0.2:25. This device also supports
* ping echos via the ICMP protocol.
*
"""
I tried to install the .inf provided by the project but is doen't work, it produce an error: "The INF file you selected does not support this method of installation".
So, I tried it on a Linux box (Ubuntu 14.04 LST x64) but is doesn't worked either. No other network interface is created.
The question is: What I'm doing wrong?. I feel very frustrated.
Btw, I posted the same issue in the LUFA support mailing list but no one answered.