LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 09-01-2010, 03:53 AM   #1
Hildegard
LQ Newbie
 
Registered: Sep 2010
Posts: 2

Rep: Reputation: 0
uC vs Linuxboard


Hello,

I am out of the world of uC and I don't have any experiences with embedded Linux.
At the moment I am working on a bigger projekt which is why I am wondering now if I could use a Linux-Board instead of a uC.

The example/direction of a Board which I am talking about ist a ALIX-Board.
http://shop.varia-store.com/index.ph...abdf6f2f1e9d1d



In the moment I don't think in practical work on a Linux-Board. My questions are just bearing general interest but nevertheless they are important for me.

The device/tool I am developing will be handled via USB and different PC (Windows). It generates I/O-signals with a resolution of 2^16Hz very close to the noise level. Ethernet is not needed as it will cause problems with the security of the department. It will need at least 1GByte remanent storage for application, a display very view operating elements and some ADCs/DACs, too. If I would use a Linux-Board I will do this without further intelligence which I have to program (for instance uC). When I am talking about I/Os then I will probably add them to the mentioned board with a external solution.

There are some good points and some bad about if I should use a Linux-Board or not.
I am especially interested a technical view very close to what is possible and what will be difficult. For me this does not include for example licences, attendance, strategy, ... - These are points that i have already made out.

My questions are:
- How complicated is it to implement a HID-USB-conection for the mentioned purpose.
- How about noise on the I/Os? Are they very stable?
- What about real-time? Is it possible to control I/Os in a secure way like it is possible with microcontrollers?
- Are there any other technical aspects that could be interesting for me?

Thanks in advance for your help and answers!
 
Old 09-01-2010, 11:34 AM   #2
jf.argentino
Member
 
Registered: Apr 2008
Location: Toulon (France)
Distribution: FEDORA CORE
Posts: 493

Rep: Reputation: 50
Quote:
- How about noise on the I/Os? Are they very stable?
Not sure to understand what you're talking about, do you want to generate random digital patterns? What do you mean by "stable", continuous? a fixed generation frequency?
By the way, it depends on the I/O peripheral used, if it's buffered, you can expect a continuous random output flow by using method like double-buffering. If not see point bellow. If you need a stable output frequency, here too it depends on the kind of peripheral, if it use an hardware clock to generate pattern it's OK, if not see point bellow.

Quote:
- What about real-time? Is it possible to control I/Os in a secure way like it is possible with microcontrollers?
Linux itself isn't hard realtime capable, but it's soft realtime with the preemtive option(s) enabled during the kernel compilation. If you need hard realtime, you can add a sub-layer to linux which handle hard real time jobs and let linux doing all other work, take a look to "adeos", "xenomai" etc...

Quote:
- Are there any other technical aspects that could be interesting for me?
some other points that could interest you: take a look at comedi which is an unified driver for the kind of stuff you want to do (if i have understand what you want). My personal opinion about linux is that it can unify your development live since applications written for linux can run from ARM9 to mainframe, it ease it too since you can use a plenty of code already existing etc... But, you have to know how linux work, and the best way to do it is to play with it, install it on your personal computer and look how it boot, how it's organized etc...

A last point, i think your post would be better suited under the "embedded" part of the forum.
 
Old 09-02-2010, 02:57 AM   #3
Hildegard
LQ Newbie
 
Registered: Sep 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Hello jf.argentino!

Yes, I want to generate a random digital pattern.

By "stable" I mean no changes in the Voltage but also the jjittering in the clock-accuracy should be like that of a watch-quartz.

I think I will not need a hard realtime. For me it does not matter when the digital pattern begins exactly. But it is more important that the signal itself is "stable" like mentioned above. Also the assembly of the pattern should be exactly on the same on the I/O like ordered. What I want to say is that there should be no missing or additional pieces in the pattern.

Neither I have used any shell nor I configurated a PC. But I use Linux-Debian on my PC. How long do you think will a person like me need to install and programm a Linux-Board for the purpose of my project?

Will it be possible to complete my project by just learning by doing? I mean this could be a good possibility to play with a lot of little pieces and questions which will lay around me and in my fingers and "to play with it" - just to use your words.

- Hmm, I guess there will be no way to put this thread into a other part of the forum.

Thanks again for your answer!
 
  


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



LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 04:18 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