8devices Community https://www.8devices.com/community/ |
|
USB device mode and endian of the cpu https://www.8devices.com/community/viewtopic.php?f=1&t=240 |
Page 1 of 1 |
Author: | mute86 [ 27 Oct 2012, 14:53 ] |
Post subject: | USB device mode and endian of the cpu |
Hello, I am looking to use the Carambola for a project and have two questions. Firstly I noticed in the dev board schematics there is a usb host/device mode jumper. Is there a example code of using a Carambola as a usb device that communicates with a pc in Control or Interrupt mode (Going to use the usb so an app on a pc can be used to configure the network)? Secondly what endian mode the cpu is in? As I am thinking of using node.js which needs the cpu in little endian mode. |
Author: | mute86 [ 27 Oct 2012, 15:17 ] |
Post subject: | Re: USB device mode and endian of the cpu |
awesome thanks. now is it possible to set up Carambola as a usb device? |
Author: | gedass [ 27 Oct 2012, 15:36 ] |
Post subject: | Re: USB device mode and endian of the cpu |
I don't know openwrt support usb slave mode or no.We have never used Carambola in this mode. Carambola's hardware support usb slave 100%. |
Author: | mute86 [ 27 Oct 2012, 20:13 ] |
Post subject: | Re: USB device mode and endian of the cpu |
just had a read up on its in default linux kernel. I will probably using the GadgetFS mode which transfers data by reading and writing to a device file. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |