Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 03, 2016, 03:27:05 03:27


Login with username, password and session length


Pages: [1]
Print
Author Topic: hitec PIC C, CCS and microchip C18 compiler difference  (Read 5013 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, 03:55:51 03: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: 41

Thank You
-Given: 151
-Receive: 12


« Reply #1 on: November 24, 2007, 03:05:47 15: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
*
 Muted
Offline Offline

Posts: 10

Thank You
-Given: 27
-Receive: 0


« Reply #2 on: November 24, 2007, 03:46:47 15: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: 3
-Receive: 41


« Reply #3 on: November 24, 2007, 04:09:34 16: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, 09:26:52 21: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: 3
-Receive: 41


« Reply #5 on: November 25, 2007, 09:04:30 09: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, 11:56:29 23:56 by fagari » Logged
digitalmg
Junior Member
**
Offline Offline

Posts: 70

Thank You
-Given: 50
-Receive: 56


« Reply #6 on: November 25, 2007, 11:21:02 11: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: 64

Thank You
-Given: 24
-Receive: 5


« Reply #7 on: November 26, 2007, 04:26:14 16: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, 02:12:47 02: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, 01:08:03 01: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
**
 Muted
Offline Offline

Posts: 35

Thank You
-Given: 16
-Receive: 45


« Reply #10 on: November 28, 2007, 12:52:47 12: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: 61

Thank You
-Given: 43
-Receive: 11



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

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

Posts: 48

Thank You
-Given: 44
-Receive: 28


« Reply #12 on: November 29, 2007, 07:44:15 07: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 17, 2007, 12:02:39 00: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 18, 2007, 12:33:02 00: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: 12

Thank You
-Given: 1
-Receive: 3


« Reply #15 on: December 22, 2007, 11:46:36 23: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: 9

Thank You
-Given: 8
-Receive: 0


« Reply #16 on: December 23, 2007, 11:59:01 11: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
*
 Muted
Offline Offline

Posts: 10

Thank You
-Given: 27
-Receive: 0


« Reply #17 on: April 17, 2008, 04:34:38 16: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