View previous topic :: View next topic |
Author |
Message |
mkr
Joined: 08 Aug 2006 Posts: 49
|
Salvo vs UCOS RTOS |
Posted: Fri Aug 18, 2006 7:20 am |
|
|
Good Morning All,
I am in the evaluation process of porting either Salvo or UCOS rtos. I know that CCS does not support either of these rtos so I had to go with MPLAB tools. So what realy do I need to do the porting. Here are what I think which is needed...
Software tools
1) MPLAB IDE
2) MPLAB compiler C18
3) RTOS (salvo or ucos)
Hardware
1)The target board (In my case its the 18f8722 based board)
2)In Circuit Emulator (to download code to the target)
Anything else. Has any one ported Salvo or UCOS on 18f8xxx device. Where could I find an article to get started.
Your suggestion and replys greatly appreciated _________________ Thanks
mkr |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Fri Aug 18, 2006 11:12 am |
|
|
CCS has their own RTOS in the compiler.
UCOS is not free. You have to pay.
Salvo is not free, you have to pay. There is a light version that is however. Not sure what you are talking about porting when they have support for C18?
FreeRTOS is already ported to the C18 compiler. |
|
|
mkr
Joined: 08 Aug 2006 Posts: 49
|
Some queries |
Posted: Fri Aug 18, 2006 1:07 pm |
|
|
What I meant by porting is that, by modifying few header files for salvo and ucos to accomadate C18 compiler. The porting is successfull when I call OS_functions in my code and compiling by C18 compiler. I hope you got my point.
What do you actually mean by port. It confuses me atleast for now.
How can I make use of CCS RTOS. Is it just by calling rtos functions. I did not try FreeRTOS because I already the full version of salvo and ucos with license.
Hope I am clear and could throw some light into my queries. _________________ Thanks
mkr |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
Re: Some queries |
Posted: Fri Aug 18, 2006 1:10 pm |
|
|
mkr wrote: | What I meant by porting is that, by modifying few header files for salvo and ucos to accomadate C18 compiler. The porting is successfull when I call OS_functions in my code and compiling by C18 compiler. I hope you got my point.
What do you actually mean by port. It confuses me atleast for now.
How can I make use of CCS RTOS. Is it just by calling rtos functions. I did not try FreeRTOS because I already the full version of salvo and ucos with license.
Hope I am clear and could throw some light into my queries. |
Salvo already supports the C18 compiler. There is nothing to port. Porting is taking the code that works on one compiler/device and making it work on another compiler/device. |
|
|
mkr
Joined: 08 Aug 2006 Posts: 49
|
Superb...thanks for that |
Posted: Fri Aug 18, 2006 1:15 pm |
|
|
I will go ahead with my compilation with salvo. How about the software and hardware tools I need to do this. Please refer to my previous post...
Software tools
1) MPLAB IDE
2) MPLAB compiler C18
3) RTOS (salvo or ucos)
Hardware
1)The target board (In my case its the 18f8722 based board)
2)In Circuit Emulator (to download code to the target)
Do I require all the above or did I leave something _________________ Thanks
mkr |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Fri Aug 18, 2006 1:20 pm |
|
|
That's enough to write code, compile, and download to the target board. The ICD will do source code debugging but you'll need other tools if you are trying to debug hardware. |
|
|
|