Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 26, 2024, 12:09:39 00:09


Login with username, password and session length


Pages: [1]
Print
Author Topic: hitec PIC C, CCS and microchip C18 compiler difference  (Read 7492 times)
0 Members and 1 Guest are viewing this topic.
edi14_10
Junior Member
**
Offline Offline

Posts: 45

Thank You
-Given: 2
-Receive: 7


« on: November 24, 2007, 02:55:51 02:55 »

I'm a new learner in using C to program the PIC microcontroller. what is the difference HItecPIC C, CCS and C18. if i have a source code written in hitec pic c, can i use ccs or c18 to compile it?
Logged
maiasj
Junior Member
**
Offline Offline

Posts: 48

Thank You
-Given: 225
-Receive: 12


« Reply #1 on: November 24, 2007, 02:05:47 14:05 »

Hi-Tech is ANSI C. CSS hava a lot of pre-built fuctions. The source code don't compile directly on other compiler but it's easy to translate.
Logged
cddx
Newbie
*
Offline Offline

Posts: 10

Thank You
-Given: 27
-Receive: 0


« Reply #2 on: November 24, 2007, 02:46:47 14:46 »

Hi-Tech is for pernaitional user and more expensive, CSS is good for beginer
Logged
fagari
Junior Member
**
Offline Offline

Posts: 35

Thank You
-Given: 4
-Receive: 41


« Reply #3 on: November 24, 2007, 03:09:34 15:09 »

Hi-tech and Microchip C18 s ansi C languages and you must know everything about hardware.

CCS is good for beginer. CCS have many build in function and make everything for you.
Also learnig is easy.
Logged
aj49m
Active Member
***
Offline Offline

Posts: 102

Thank You
-Given: 36
-Receive: 41


« Reply #4 on: November 24, 2007, 08:26:52 20:26 »

hitech:
advantage: 100% complaints standart ANSI C
disadvantage: poor documentation and high price for home applicattion, difficult Learning for beginer.

c18:
advantage: 100% complaints standart ANSI C, very documentation for supplier Microchip
disadvantage: ¿difficult Learning for beginer?. student version lot redundant code in assembly.

ccs:
advantage: Wide very documentation for red, forums... function built-in to transfer data strings (ej:printf), other how SPI, LCD, delays counter... Easy learning for beginer. low price

disadvantage: is not full ANSI C, bugs (compiler update very frecuently)
Logged
fagari
Junior Member
**
Offline Offline

Posts: 35

Thank You
-Given: 4
-Receive: 41


« Reply #5 on: November 25, 2007, 08:04:30 08:04 »

in CCS.

You can change source code very easy for difrent PIC model (PIC 12, PIC16, PIC 18 and PIC24).

I use CCS C version 3.249 many for big project and I did'nt find any problem.

I think ; CCS Bugs is strategy for marketing and legal use.
« Last Edit: November 25, 2007, 10:56:29 22:56 by fagari » Logged
digitalmg
Junior Member
**
Offline Offline

Posts: 96

Thank You
-Given: 136
-Receive: 109


« Reply #6 on: November 25, 2007, 10:21:02 10:21 »

If you want to use only PIC is simple to learn CCS ,but if you want to use dsPIC,PIC32 or ARM for example learn compiler wich use ANSI C. IAR,KEIL compiler use ANSI C
Logged
chyun3
Junior Member
**
Offline Offline

Posts: 65

Thank You
-Given: 43
-Receive: 6


« Reply #7 on: November 26, 2007, 03:26:14 15:26 »

if u lack of time, go for CCS, because u don't need to study the MCU register stuff...

if u got plenty of time, go for C18, HiTech, MikroC, and u will become more professional MCU programmer...
Logged
planet69
Newbie
*
Offline Offline

Posts: 26

Thank You
-Given: 5
-Receive: 8


« Reply #8 on: November 27, 2007, 01:12:47 01:12 »

it is recommended to use CCS for smaller projects as it's much easier to use and with its user-forum in active state, one can just dig some answers out 
Logged
codekey
Guest
« Reply #9 on: November 28, 2007, 12:08:03 00:08 »

I bought HiTech and tried for couple days, then tried C18. Deleted HiTech and have been using C18 for several years now. C18 is not hard to learn.
Logged
cristi
Junior Member
**
Offline Offline

Posts: 35

Thank You
-Given: 16
-Receive: 46


« Reply #10 on: November 28, 2007, 11:52:47 11:52 »

If you work with embedded systems or want to become a professional programmer you have to learn C. If you know ANSI C you can use HITECH or Microchip C18 and you can move anytime to other controller.

Cristi
Logged
vovchik02
Junior Member
**
Offline Offline

Posts: 62

Thank You
-Given: 43
-Receive: 13



« Reply #11 on: November 29, 2007, 05:47:49 05:47 »

C18-beter optimise for PIC18, have low number of bug, Hi-Tech use kvasy-steck by temporary variable.
Logged
Memoly
Junior Member
**
Offline Offline

Posts: 49

Thank You
-Given: 44
-Receive: 39


« Reply #12 on: November 29, 2007, 06:44:15 06:44 »

I easly ported my application developed in hitech PICC18 to motorola(freescale) in codewarrior.
This is the power of ansi-c.
Logged
gold24k
Guest
« Reply #13 on: December 16, 2007, 11:02:39 23:02 »

I have read that ccs c is not a good language when it comes to outputing tight code. Hitech C is supposed to compile the tightest code, I think that the MPLABS C18 would be very competitive with Hitech C for Pic18 stuff.

An ANSI C compliant compiler does not make the most sense when it comes to PICs. ANSI C was developed initially for computers and not microcontrollers. The bread and butter functions "printf/scanf" in C does not mean a whole lot when applied to Microcontrollers. But it seems that the best high level compilers for almost any MCU platform seems to be in C, by best I mean output the tightest code.
Logged
Trump
Guest
« Reply #14 on: December 17, 2007, 11:33:02 23:33 »

Hm... I use C18 and CCS for Pics and Code Warrior for Freescale... The advantage of the C18, imo, is the fact that I fast recompile some functions for PIC and Freescale with almost no modifications. For professional reasons I have to use C18, but CCS is better... In freelancer works i always use CCS...
Logged
arslanweb
Newbie
*
Offline Offline

Posts: 13

Thank You
-Given: 1
-Receive: 4


« Reply #15 on: December 22, 2007, 10:46:36 22:46 »

I use Hi-Tech, if you have learn the PIC hardware good, than the Hi-Tech is the best. If your hardware knowledge is not good than CCS help you with the IDE interface. But the CCS codes are not ANSI-C standart.
Logged

kev
Newbie
*
Offline Offline

Posts: 8

Thank You
-Given: 12
-Receive: 0


« Reply #16 on: December 23, 2007, 10:59:01 10:59 »

I've tried the free version of CCS and think it's great. What I really want to do tho' is play with an SD card but can't find any saple CCS code. Can someone help please.
Logged
cddx
Newbie
*
Offline Offline

Posts: 10

Thank You
-Given: 27
-Receive: 0


« Reply #17 on: April 17, 2008, 03:34:38 15:34 »

things change, Picc18 from hitech is poor than C18 from microchip, Now the best choice is C18.
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