Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 02, 2024, 02:30:29 02:30


Login with username, password and session length


Pages: [1]
Print
Author Topic: PICos18 porting to CCS compiler  (Read 4917 times)
0 Members and 1 Guest are viewing this topic.
xgnetto
Newbie
*
Offline Offline

Posts: 9

Thank You
-Given: 1
-Receive: 0


« on: September 06, 2007, 07:49:02 07:49 »

Hi, somebody can port successfully picos18 to compile with ccs pic compiler ?

bye
xgnetto
Logged
foxelec
Newbie
*
Offline Offline

Posts: 22

Thank You
-Given: 11
-Receive: 12


« Reply #1 on: September 07, 2007, 11:51:52 11:51 »

hi friend,

Seems to be difficult, but why don't you start by using the included CCS RTOS functions ?

foxelec
Logged
xgnetto
Newbie
*
Offline Offline

Posts: 9

Thank You
-Given: 1
-Receive: 0


« Reply #2 on: September 10, 2007, 05:44:24 17:44 »

CCS RTOS is cooperative multitasking, i must make a project with preemptive multitasking.

bye
xgnetto
Logged
Zaphod Beeblebrox
Active Member
***
Offline Offline

Posts: 139

Thank You
-Given: 25
-Receive: 89



« Reply #3 on: September 10, 2007, 07:27:07 19:27 »

I doubt there is somebody able to easily port PICos18 to CCS, it's too complex problem. Even the author of the system wasn't able to port PICos18 to Hi-Tech PICC-18, which is from my point of view more compatible with Microchip C-18, see:
Quote
Anyway, good luck if you try to do that.
« Last Edit: September 10, 2007, 07:28:49 19:28 by Zaphod Beeblebrox » Logged

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

Posts: 83

Thank You
-Given: 10
-Receive: 39


« Reply #4 on: September 10, 2007, 08:38:27 20:38 »

Why to port it since
1- it already works fine under C18 from Microchip
2- C18 is better compiler and by far less buggy than CCS compiler
3- Even if you arg that CCS has more drivers, most of them will be not usable with the preemptive kernel since they use blocking schemes that are mostly incompatible with RTOS logic. And in another way, I think that PICOS018 provides already a very nice set of drivers that respects PICOS18 preemption strategy, and it's easier to translate CCS drivers to C18 instead of PICOS18 to CCS.

Regards
Logged
foxelec
Newbie
*
Offline Offline

Posts: 22

Thank You
-Given: 11
-Receive: 12


« Reply #5 on: September 10, 2007, 08:53:40 20:53 »

hi friends,

xgnetto, ok now i understand your needs but i think bluex is right, using ccs (with a new preemptive kernel) you'll need to re-write all the drivers . Using C18 seems to be simple.

foxelec
Logged
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