LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-09-2012, 10:28 AM   #1
jayanthyk192
LQ Newbie
 
Registered: Aug 2012
Posts: 1

Rep: Reputation: Disabled
usb camera driver for microcontroller


Hi,

I need to get images from a USB camera using an ARM7 microcontroller which has a USB port built in. Currently I'm using OpenCV to get images and then working on it. But now I need to run it on my microcontroller. So, is there any way to port the usb drivers provided in OpenCV to my microcontroller?. The microcontroller has a USB host, full speed. please help.

I posted the same question in another website, they told me to use an OS for microcontroller, but I don't need the fully utility of the OS, all i need is to get RGB data from camera. Please help me port the drivers to my microcontroller.

Thank you.
 
Old 08-09-2012, 05:10 PM   #2
ilesterg
Member
 
Registered: Jul 2012
Location: München
Distribution: Debian, CentOS/RHEL
Posts: 587

Rep: Reputation: 72
Quote:
Originally Posted by jayanthyk192 View Post
Hi,

I need to get images from a USB camera using an ARM7 microcontroller which has a USB port built in. Currently I'm using OpenCV to get images and then working on it. But now I need to run it on my microcontroller. So, is there any way to port the usb drivers provided in OpenCV to my microcontroller?. The microcontroller has a USB host, full speed. please help.

I posted the same question in another website, they told me to use an OS for microcontroller, but I don't need the fully utility of the OS, all i need is to get RGB data from camera. Please help me port the drivers to my microcontroller.

Thank you.
You have to find a way to communicate with the camera, using USB of course. Python (PyUSB I think) could do the job, if I correctly understand what you want.
 
Old 08-09-2012, 06:00 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
As I understand the question the OP wants to do some bare metal programming as in the links below. As suggested it would be easier if a real OS was running since you do not have to worry about start up initialisation or writing input/output or worry about any low level routines etc.

http://balau82.wordpress.com/2010/02...ogram-for-arm/
http://eetimes.com/design/embedded/4...etting-Started
 
  


Reply



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
How to get a camera driver? Ant1 Linux - Software 9 03-25-2011 03:18 PM
How to make Linux driver for usb pc camera??? PeterJIn Linux - Newbie 3 05-27-2009 08:35 AM
Searching SBC/DSP board/microcontroller; 4ADC/1kHz/USB Host Yoreki Linux - Embedded & Single-board computer 7 05-14-2009 01:36 PM
USB Logitech STX Camera | sytem startup camera active problem delta function Slackware 0 08-06-2006 04:23 PM
SPCA50X USB Camera Linux Driver Oualid Linux - Hardware 2 10-04-2004 04:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:07 AM.

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
Open Source Consulting | Domain Registration