Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
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.


  Search this Thread
Old 04-13-2010, 05:24 AM   #1
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
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
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
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.


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 18 07-22-2015 10:47 AM
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 > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 04:39 AM.

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