www.8devices.com
|
|
|
Page 1 of 1
|
[ 5 posts ] |
|
USB device mode and endian of the cpu
Author |
Message |
mute86
Joined: 27 Oct 2012, 14:35 Posts: 3
|
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.
|
27 Oct 2012, 14:53 |
|
|
gedass
Joined: 07 Dec 2011, 16:01 Posts: 525 Location: Lithuania
|
Currently Carambola use little endian.
Attachments:
Carambola_endian.JPG [ 29.65 KiB | Viewed 2923 times ]
|
27 Oct 2012, 15:13 |
|
|
mute86
Joined: 27 Oct 2012, 14:35 Posts: 3
|
awesome thanks. now is it possible to set up Carambola as a usb device?
|
27 Oct 2012, 15:17 |
|
|
gedass
Joined: 07 Dec 2011, 16:01 Posts: 525 Location: Lithuania
|
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%.
|
27 Oct 2012, 15:36 |
|
|
mute86
Joined: 27 Oct 2012, 14:35 Posts: 3
|
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.
|
27 Oct 2012, 20:13 |
|
|
|
Page 1 of 1
|
[ 5 posts ] |
|
Who is online |
Users browsing this forum: No registered users |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|