Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Please suggest best RTOS concepts and also hardware so i can start working

Status
Not open for further replies.

amnandu

Member level 2
Joined
Dec 18, 2010
Messages
42
Helped
4
Reputation
8
Reaction score
4
Trophy points
1,288
Activity points
1,614
Hi All..

I am planning to study understanding RTOS and do some hobby projects.

As i understand FreeRTOS is only one available for free on internet.

Please suggest best RTOS concepts and also hardware so i can start working on..

Thanks
Nanda
 

You can download my RTOS for Pic24, Pic33, Pic30 for Microchip from here.

http://embeddedcodesource.com/developer/rj_components/rtos_for_pic24_pic30_and_pic33

Has full source code and example programs to demonstrate its use.

Use the old Mplab IDE to evaluate not the new Mplab X

The example programs are set up to run using the Mplab IDE and Simulator.
So you don't need to implement any hardware to evaluate the functions.
The example programs demonstrate how the rtos functions are used

You can download the x16 compiler from Microchip if you dont have it.
 
Thanks btbass

i have checked the site and downloaded

1. rtos_for_pic24_pic30_and_pic33.zip

2. x16 compiler from https://www.microchip.com/mplabxc16windows

3. MPlab IDE version ??

4. Simulator?? MPLAB® X IDE v2.15 ??

Please confirm points 3 and 4.

Also is there any thing i must know before i start working on it ?? Like concepts etc ?
 

Download MPLAB IDE 8.92 which is the latest version.
The Simulator comes with the IDE.

You do not need anything to do with MPLAB X. Stay away from it.

The example programs should show you how to use the functions.
Use the menu options 'Project/Open' to run the examples.

There is a pdf document in the doc folder that details the implementation.

It is a basic RTOS, but that makes it very easy to use, very small footprint and very fast context switching.

Let me know if you have any problems and how you get on.
 
Last edited:

I have installed MPLAB IDE 8.92 but i cannot build the example_1.mcp file.

I haven't got no compilers installed in the pc.. do i need to go for any compiler like hitech or ccs c??

Please let me know if any free compilers are available...
 

Install the XC16 compiler you have downloaded.
You can use it in free mode.

After installing it, go to 'Project/Set Language Tool Locations' to let MPLAB know where it is.
 

One of the best reference texts for the study of RTOSs is:

Michael J. Pont's Patterns for Time-Triggered Embedded Systems

It has been out-of-print for several years, fortunately Michael Pont has graciously made it available for download in PDF format from the link above.

The code examples were originally written for the 8051 variants, however they can be and have been ported to virtually any microcontroller. It is an exhaustive text, well over a thousand pages, the majority of it covering RTOS concepts and examples.

Pont has also released several videos which cover many of the fundamentals of RTOSs:

SafeTTy Systems - Videos


BigDog
 
Funny you should say that!
I have written a port of the time triggered code for the Pic 16-Bit micros.

Attached is my time triggered framework.
 

Attachments

  • TT_Scheduler.rar
    97.5 KB · Views: 101
Last edited:
Thanks btbass and bigdogguru

shall read a bit of the concepts and try the codes available and see the working in simulator..

Will update once i have questions..
Cheers
 

The above code has an off by one bug!
Attached corrected code.
 

Attachments

  • Scheduler.rar
    97.5 KB · Views: 94
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top