LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Embedded Linux as RTOS (https://www.linuxquestions.org/questions/linux-software-2/embedded-linux-as-rtos-904696/)

UserS 09-23-2011 04:47 PM

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

jefro 09-24-2011 05:11 PM

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

Tinkster 09-25-2011 01:29 PM

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/


All times are GMT -5. The time now is 06:00 AM.