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

Stack to Host HTML webpage via USB device

I've seen wifi routers host html webpages over ethernet cables. This eliminates the need for a PC app/software and the device can be configured using a PC web browser.
I want to do something similar, but NOT using ethernet. I'm using Nuvoton NANO120LE3BN which has USB device. Is it possible to host a html webpage when the M0-cortex is connected to a PC/MAC as a USB device.
Does Keil have a stack for doing this?
If we do this do we need a driver on the PC ( Windoews 7/8 or MAC OSX)?

Parents
  • Ethernet over USB (Gadget)

    blackfin.uclinux.org/doku.php:usb-gadget:ethernet

    The USB peripheral will enumerate to the host as an Ethernet device, using the "usbnet" driver with Linux hosts or Microsoft's RNDIS driver with Windows hosts. Set it up like any other two-host Ethernet link; bridging it to the LAN from the USB host may be the easiest way to run. Linux hosts do this with CONFIG_BRIDGE and tools like “brctl”. Windows XP hosts have a GUI for bridging; it comes up when the RNDIS driver creates a second network link.

Reply
  • Ethernet over USB (Gadget)

    blackfin.uclinux.org/doku.php:usb-gadget:ethernet

    The USB peripheral will enumerate to the host as an Ethernet device, using the "usbnet" driver with Linux hosts or Microsoft's RNDIS driver with Windows hosts. Set it up like any other two-host Ethernet link; bridging it to the LAN from the USB host may be the easiest way to run. Linux hosts do this with CONFIG_BRIDGE and tools like “brctl”. Windows XP hosts have a GUI for bridging; it comes up when the RNDIS driver creates a second network link.

Children