Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 10, 2024, 07:40:59 19:40


Login with username, password and session length


Pages: [1]
Print
Author Topic: Multitasking for PIC16F876  (Read 5883 times)
0 Members and 1 Guest are viewing this topic.
robban
Senior Member
****
Offline Offline

Posts: 265

Thank You
-Given: 34
-Receive: 38


Warrior


WWW
« on: July 15, 2006, 06:11:04 06:11 »

Here it comes...Smiley
 
http://rapidshare.de/files/25884574/FreeRTOSV4.0.4.rar.html
Logged

Code Warrior
freddyg
Junior Member
**
Offline Offline

Posts: 85

Thank You
-Given: 3
-Receive: 2


« Reply #1 on: July 15, 2006, 07:36:36 19:36 »

Why put it on Rapidshare when it is FREE Huh?  :confused:

I see it is only supported on the PIC18 processors. Have you ported it to the PIC16?
(I can't access Rapidshare so I can't see what is in the RAR file, so appologies if you have made enhancements)

To quote from the website...
"FreeRTOS.org is a portable, open source, mini Real Time Kernel - a free to download and royalty free RTOS that can be used in commercial applications"

Simply go to http://www.freertos.org and download it.

Freddy
« Last Edit: July 15, 2006, 07:42:15 19:42 by freddyg » Logged
robban
Senior Member
****
Offline Offline

Posts: 265

Thank You
-Given: 34
-Receive: 38


Warrior


WWW
« Reply #2 on: July 15, 2006, 10:01:04 22:01 »

Several members have complained about problems when compiling FreeRTOS. That's why I made the effort. The FreeRTOS can be used on PIC 12:s for that matter... Less is more!
This example is compiled using HI-TECH PICC with a pic16F876 as target.
I used TextPad but it should really be better using MPLAB, but since MPLAB uses absolute
paths, it's better to distribute it this way with all the files in the same folder.
If You have compiled the PIC18 example in the FreeRTOS folder, congratulations! Personally, I think it's a mess...
Logged

Code Warrior
Zaphod Beeblebrox
Active Member
***
Offline Offline

Posts: 139

Thank You
-Given: 25
-Receive: 89



« Reply #3 on: July 15, 2006, 10:20:35 22:20 »

I found out that the only usable RTOS for PIC16 and lower is Salvo. Anyway, I recommend to use PIC18 instead and PICOS18. PICOS18 really rocks...
Logged

Black holes are where the God divided by zero...
Don't panic!
robban
Senior Member
****
Offline Offline

Posts: 265

Thank You
-Given: 34
-Receive: 38


Warrior


WWW
« Reply #4 on: July 15, 2006, 11:57:03 23:57 »

You're absolutely right about Salvo. The output for PIC18 and higher is very strange...
I will try the PICOS18 and see what's happening. Anyway, I have always been a fan of small footprint systems, and since multitasking makes better use of MCU capabilities, my favourite constellation is PIC12:s and the CC5x compiler(found elsewhere in this forum). Call me cheap, my treat...
By the way, have You downloaded the PICOS18 hexfiles and whatched the action?
Logged

Code Warrior
robban
Senior Member
****
Offline Offline

Posts: 265

Thank You
-Given: 34
-Receive: 38


Warrior


WWW
« Reply #5 on: July 16, 2006, 02:36:27 02:36 »

Zaphod!
 
I would be happy if You uploaded a working MPLAB C18project using PIC18OS.
The .BAT file I got doesn't produce the right object files. I assume You have the project in C:\PICOS18.
Thanx in advance
Logged

Code Warrior
freddyg
Junior Member
**
Offline Offline

Posts: 85

Thank You
-Given: 3
-Receive: 2


« Reply #6 on: July 16, 2006, 09:55:08 09:55 »

Thanks robban.

Freddy.
Logged
Zaphod Beeblebrox
Active Member
***
Offline Offline

Posts: 139

Thank You
-Given: 25
-Receive: 89



« Reply #7 on: July 16, 2006, 05:09:44 17:09 »

OK, Robban,
I'm leaving for a holiday today. When I get back to my office I'll check out my PICOS18 MPLAB project and send it here Wink
See you all in 3 weeks Smiley
Logged

Black holes are where the God divided by zero...
Don't panic!
robban
Senior Member
****
Offline Offline

Posts: 265

Thank You
-Given: 34
-Receive: 38


Warrior


WWW
« Reply #8 on: July 16, 2006, 07:48:58 19:48 »

I'll guess You can hitch-hike through the Universe in 3 weeks...Smiley
Logged

Code Warrior
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC