RTOS

Post your requests and ideas on the future development of mikroBasic PRO for dsPIC30/33 and PIC24.
Author
Message
pandra
Posts: 34
Joined: 04 Apr 2009 02:09

RTOS

#1 Post by pandra » 27 Sep 2010 03:03

some kind of RTOS

rmteo
Posts: 1330
Joined: 19 Oct 2006 17:46
Location: Colorado, USA

Re: RTOS

#2 Post by rmteo » 27 Sep 2010 15:23

Not sure about BASIC but for C, there are several RTOS's (pre-emptive and co-operative) available including several free ones.
Why pay for overpriced toys when you can have
professional grade tools for FREE!!! :D :D :D

pandra
Posts: 34
Joined: 04 Apr 2009 02:09

Re: RTOS

#3 Post by pandra » 28 Sep 2010 21:02

for sure, but there is just one for mikroC pro (cooperative), not for pic24f...
other tnkernel, freertos ... ... ... are for other compilers, not for mikroC...

User avatar
slavisa.zlatanovic
mikroElektronika team
Posts: 1321
Joined: 07 Apr 2009 09:39

Re: RTOS

#4 Post by slavisa.zlatanovic » 29 Sep 2010 15:29

Hi!

Find more info here.
There is in our plans to develop our own RTOS for all our compilers.
Best regards
Slavisa

pandra
Posts: 34
Joined: 04 Apr 2009 02:09

Re: RTOS

#5 Post by pandra » 29 Sep 2010 23:44

Hi Slavisa

I have used OSA for PIC18 and MikroC, but there is no OSA for pic24xxxxx. More info:
http://www.pic24.ru/doku.php/en/osa/ref ... hat_is_osa

It is nice to make your solution for RTOS - this will make excelent Mikroelektronika's tools
even better. I hope this will happen soon.

Do you have some term, even for beta?

rmteo
Posts: 1330
Joined: 19 Oct 2006 17:46
Location: Colorado, USA

Re: RTOS

#6 Post by rmteo » 30 Sep 2010 00:58

pandra wrote:Hi Slavisa

I have used OSA for PIC18 and MikroC, but there is no OSA for pic24xxxxx.
Yes there is - you just have to use MPLAB C30. Or use SALVO - which is what I use for Cortex M3, plus a whole bunch of others.
Why pay for overpriced toys when you can have
professional grade tools for FREE!!! :D :D :D

testerplus
Posts: 32
Joined: 27 Sep 2008 22:39
Location: Russia, SPb
Contact:

Re: RTOS

#7 Post by testerplus » 30 Sep 2010 07:14

pandra wrote:I have used OSA for PIC18 and MikroC, but there is no OSA for pic24xxxxx.
Hello, pandra.
I am an autor of OSA. I have in plans to port OSA for PIC24 for mikroC PRO compiler in the next month.

User avatar
slavisa.zlatanovic
mikroElektronika team
Posts: 1321
Joined: 07 Apr 2009 09:39

Re: RTOS

#8 Post by slavisa.zlatanovic » 30 Sep 2010 13:07

Hi testerplus!

This is great news!
:shock:
Best regards
Slavisa

pandra
Posts: 34
Joined: 04 Apr 2009 02:09

Re: RTOS

#9 Post by pandra » 01 Oct 2010 02:15

hallo to all :-)

I know that is OSA port for mplab(c30), but reason to speak here is to use OSA port with mikro compilers c, pascal, basic .....

testerplus - thanks for your time to port OSA to pic24. I am glad to use OSA on PIC24 as soon as you can fix it.
It can be nice to port tnkernel to mikroC, but (my humble opinion) that you have to put a lot of workaround
to implement - if it possible at all. mikroC has some specific solutions that make difficulties to easy pot freertos or
OSA !? This is just my opinion. In any case, I am looking forward to see OSA port for pic24 mikroC. I'll be glad to make beta testing according to my knowleage ...
Sorry about topic, maby it is better to initiate discusion on mikroC for pic24 ...

Thanks for your time

Best regards Dragan (pandra)

testerplus
Posts: 32
Joined: 27 Sep 2008 22:39
Location: Russia, SPb
Contact:

Re: RTOS

#10 Post by testerplus » 01 Oct 2010 09:18

pandra wrote:I know that is OSA port for mplab(c30), but reason to speak here is to use OSA port with mikro compilers c, pascal, basic .....
OSA can't be ported to pascal or basic beacause of some language features.
It can be nice to port tnkernel to mikroC, but (my humble opinion) that you have to put a lot of workaround to implement - if it possible at all. mikroC has some specific solutions that make difficulties to easy pot freertos or OSA !? This is just my opinion.
TNKernel is not my OS. Firstly it was developed by Yury Tomkin (see http://www.tnkernel.com) for the ARM controllers. Port to PIC24/dpPIC was performed by Alexander Borisov. I met with him and I am shure that he will not work on port for mikroC.

Besides, at this time there are some difficulties to port any RTOS to mikroC. There should be found some workarounds to solve some points.
Sorry about topic, maby it is better to initiate discusion on mikroC for pic24 ...
Well, I think forum's administrators will move this topic as a whole into the "microC PRO for PIC24/dsPIC" forum, since only C is discussed.

Toley
Posts: 922
Joined: 03 Sep 2008 16:17

Re: RTOS

#11 Post by Toley » 06 Oct 2010 02:03

Hello testerplus,

I would also be very interested by a RTOS for MikroC Pro for dsPIC. Maybe you can start a new topic in the MikroC section and tell us if you still consider this can be possible.
Serge T.
Learning is an endeless process but it must start somewhere!

testerplus
Posts: 32
Joined: 27 Sep 2008 22:39
Location: Russia, SPb
Contact:

Re: RTOS

#12 Post by testerplus » 06 Oct 2010 09:27

Toley wrote:Hello testerplus,

I would also be very interested by a RTOS for MikroC Pro for dsPIC. Maybe you can start a new topic in the MikroC section and tell us if you still consider this can be possible.
Hi, Toley!

At this time I try to workaround some calling conventions to prevent temporary data loss on context switching. I will add the new topic in "mikroC PRO dsPIC" section only when OSA beta-version will be ready. I hope it will be within october 2010.

pandra
Posts: 34
Joined: 04 Apr 2009 02:09

Re: RTOS

#13 Post by pandra » 07 Oct 2010 00:40

testerplus: go for it :-)!
looking forward
OSA for pic18 had solved so many problems to me, so, I am counting days to see OSA for pic 24.
Thanks in advance, testrplus!

Best regards

pandra
Posts: 34
Joined: 04 Apr 2009 02:09

Re: RTOS

#14 Post by pandra » 01 Apr 2011 10:17

RTOS for PIC24 is ready !!!!!!!

All compilers are supported !

pandra
Posts: 34
Joined: 04 Apr 2009 02:09

Re: RTOS

#15 Post by pandra » 01 Apr 2011 17:44

But only today :-( (1.4.)

No joke, we need RTOS. Developers, please ......... !

Post Reply

Return to “mikroBasic PRO for dsPIC30/33 and PIC24 Wish List”