Creating application with different tasks, Qt or anything else?

Hi I want to blink my led, do a serial communication, update my display at the same time in beagleboard xm.(multitasking).

I am using Sitara SDK, I havent got previous experience with using ccsv5 or Sitara. Is it possible to accomplish this task?

I am using the u-boot and kernel provided with the latest sitara. How to do multitasking thereafter? Should I use Qt or something? Or could you suggest me anything else?

Also how to do debugging?

Regards

Badri Narayanan@nithin <badri89@gmail.com> [12-10-03 07:12]:

Hi I want to blink my led, do a serial communication, update my display at
the same time in beagleboard xm.(multitasking).

I am using Sitara SDK, I havent got previous experience with using ccsv5 or
Sitara. Is it possible to accomplish this task?

I am using the u-boot and kernel provided with the latest sitara. How to do
multitasking thereafter? Should I use Qt or something? Or could you suggest
me anything else?

Also how to do debugging?

Regards

--

Hi Badri,

simplest attempt would be to create an application for each task (UNIX
way: On eapplication for a certain task) and do communication between
the applaications via rpc/pipes or such.

If you want one application only use fork/exec to create concurrent
tasks.

The multitasking itsself is handled by the linux kernel (scheduling).

HTH!
Best regards,
mcc

Hi meino,

Thanks for your quick reply.

What I have previously attempted is I created executable of qt, and I made a script for autologin and autostart that application.

That means Is it like I can use RTSC provided from ti?

Could you show me any example projects or something implemented like this?

Thank you once again

badri narayanan <badri89@gmail.com> [12-10-03 07:36]:

Hi meino,

Thanks for your quick reply.

What I have previously attempted is I created executable of qt, and I made
a script for autologin and autostart that application.

That means Is it like I can use RTSC provided from ti?

Could you show me any example projects or something implemented like this?

Thank you once again

> Badri Narayanan@nithin <badri89@gmail.com> [12-10-03 07:12]:
> > Hi I want to blink my led, do a serial communication, update my display
> at
> > the same time in beagleboard xm.(multitasking).
> >
> > I am using Sitara SDK, I havent got previous experience with using ccsv5
> or
> > Sitara. Is it possible to accomplish this task?
> >
> > I am using the u-boot and kernel provided with the latest sitara. How to
> do
> > multitasking thereafter? Should I use Qt or something? Or could you
> suggest
> > me anything else?
> >
> > Also how to do debugging?
> >
> > Regards
> >
> > --
> >
> >
>
> Hi Badri,
>
> simplest attempt would be to create an application for each task (UNIX
> way: On eapplication for a certain task) and do communication between
> the applaications via rpc/pipes or such.
>
> If you want one application only use fork/exec to create concurrent
> tasks.
>
> The multitasking itsself is handled by the linux kernel (scheduling).
>
> HTH!
> Best regards,
> mcc
>
>
> --
>
>
>

--
Badri Narayanan@Nithin

--

Hi Badri,

no, sorry, I cant give you examples here.
the fork()/exec() system call is part of any UNIX system and base of
UNIX system programming. It is included in the C-library. For that
you dont need any other library.

RTSC is a real time approach. This something totally different.
Real time programming means that a certain task has been finished
in a predefined time.

It looks like you are comparing apples with houses :wink: (no punt
intended!).

For UNIX programming and fork()/exec() look here:
http://www.osix.net/modules/article/?id=641

Be prepared that if you want real multitasking combined with real time
programming on a system, which does not compare to "real PCs"
(again no punt intended!), you will have to solve several <hrrmmmm>
challenges....
Especially when audio/video recording/playback is
involved.

HTH!
Best regards,
mcc

ok thankyou mr.meino. I will try with what you have suggested and ll report back!!