LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices

Reply
 
Search this Thread
Old 04-13-2010, 05:24 AM   #1
LinuxNewman
Member
 
Registered: Apr 2009
Posts: 42

Rep: Reputation: 15
[OMAP L-138]creating a USB application working in Linux and windows


Hi All,
I am using OMAP-L138 chip which has ARM 9 core and runs linux. The device which I am making stores some data. I have to retirve that data using USB interface. For this, I have to make an application which communicates with the device drivers provided by the ARM linux(which comes with the OMAP L-138 *) so that we can transfer the data stored in the device to a computer.

My question:
Suppose I make such an application which makes the host Linux computer detect my device connected at its USB port and then transfer the stored data to the computer. Will windows computers be able to detect my device? What should I do so that my device can transfer data to both Linux and Windows pc?

I am totally new in this field. Please correct me if you find anything wrong in my approach.
 
Old 04-15-2010, 01:33 PM   #2
JonathanWilson
Member
 
Registered: Aug 2009
Location: Ilkeston, England
Distribution: ubuntu, xp, embeded
Posts: 79

Rep: Reputation: 1
By setting up and using the USB Gadget driver(s) on the embedded device there are a number of ways to resolve your problem.

You could... set up the gadget as a disk, IP over usb, serial, etc. (This does assume your product has a USB device, MiniUSB, socket)

Then it would not matter what OS was on the host (PC), assuming a driver is available. Then either copy/move the data manually (easy if your device shows up as a disk, similar to the way cameras do) or write a program/script to copy/move the data when the device is plugged in.
 
Old 04-18-2010, 11:25 PM   #3
LinuxNewman
Member
 
Registered: Apr 2009
Posts: 42

Original Poster
Rep: Reputation: 15
Thanks for the help Jonathan. That helps a lot. Now I am going to look how to use USB Gadget drivers. By the way, my device will have a USB OTG port configured in peripheral mode.
 
Old 04-23-2010, 07:12 AM   #4
asprakash
Member
 
Registered: May 2006
Location: Chennai, India
Posts: 74
Blog Entries: 3

Rep: Reputation: 18
Are you using Hawkboard or others?

The board is not like a memory device and you simply copy and paste from your target into host. However you can also retrieve your datas.

Let me know what data you have stored in your target and where you stored?. Flash memory or external memory or others.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
creating windows 7 bootable usb from linux endertux Linux - Software 17 01-23-2014 09:30 PM
windows stops working after linux boots from usb on eee pc rabbit2345 Linux - Laptop and Netbook 4 01-27-2010 11:47 AM
USB Device working faster on Windows then on Linux Reegz Linux - Newbie 4 04-26-2006 05:04 PM
Error in compiling usb-omap.c manjunathk Linux - Software 0 08-11-2005 09:23 AM
how i migrate windows application to Linux base application vandarakalpesh Linux - Software 0 06-26-2004 04:34 AM


All times are GMT -5. The time now is 06:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration