LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Closed Thread
  Search this Thread
Old 09-23-2011, 04:47 PM   #1
UserS
LQ Newbie
 
Registered: Sep 2011
Posts: 4

Rep: Reputation: Disabled
Embedded Linux as RTOS


Hello all

I need some help mainly directions as this will be my first usage of Linux. So far used only Windows

So I wanted to buy one netbook 1.6 GHz processor (probably ATOM or so) ( http://en.wikipedia.org/wiki/Netbook ).

On this netbook I would like to install Linux as RTOS and use other Laptop or PC to program netbook over ethernet connection.

But I need some specific approach. For example I make program for motor control on my PC and I want to download it to netbook over ethernet. After download, program runs, then I want to be able to connect online to this program on netbook to view exact execution of program (all variables etc) in real time which means as I look program in online mode all variables in front of me are displayed as values.

After looking program I notice some mistake in software and I want to correct it WITHOUT stopping program execution. So I correct program, redownload software to netbook which is some kind of "target board". So linux should after downloading new modified program, in next cycle take this modified program to continue running. This will cause no stoppage of execution which is important. I have used C programming language and breakpoints cause stoppage of execution which I dont want.

By this story it is not hard to guess I was involved in industrial automation. This is the way how is done there.

This is intended for home automation projects. Siemens PLCs or some other cost a lot so I need alternative.

I have used STEP 7 so far but I saw very good program called CODESYS for writing program.

http://www.3s-software.com/index.sht...ick_start_test

I am mainly interested if possible so called CFC (Continuous Function Chart) programming. That is a graphical very powerful way of programming

http://www.3s-software.com/index.shtml?en_CoDeSys_CFC

I dont know if all of this is possible but I need some reference from where to start. Like which linux to use (must be RTOS).

Thank you in advance
 
Old 09-24-2011, 05:11 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,984

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
The better choice is to use vxworks or qnx.

Linux has both free and commercial real time choices but it isn't heavily tested in all situations. I doubt you'd need real time for home automation. Real time has been in and out of the kernel for the last few years. I think it is back in but I'd try it with a simple linux install first. Then maybe if I had faults, I'd switch back to a real time.

It really would matter what you are controlling. Are you using some sort of serial control or IP based control devices or is this a MMI to a plc?

http://www.ibm.com/developerworks/li...al-time-linux/ for some info

Last edited by jefro; 09-24-2011 at 05:14 PM.
 
Old 09-25-2011, 01:29 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

http://www.linuxquestions.org/questi...ftware-904614/
 
  


Closed Thread



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
LXer: Linux-friendly DSP RTOS gains TCP/IP stack LXer Syndicated Linux News 0 12-08-2006 01:54 PM
LXer: Commercial embedded Linux distro, RTOS ABI rev'd LXer Syndicated Linux News 0 09-19-2006 02:21 AM
LXer: LynuxWorks Increases Linux Application support for LynxOS RTOS LXer Syndicated Linux News 0 09-19-2006 01:33 AM
LXer: Telecom-in-a-box Solution Combines Linux And RTOS With HA ... LXer Syndicated Linux News 0 05-02-2006 10:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:07 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
Open Source Consulting | Domain Registration