×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

C/CPP compiler for PIC Microcontrollers.

C/CPP compiler for PIC Microcontrollers.

C/CPP compiler for PIC Microcontrollers.

(OP)
Can anyone reccomend a C or C++ compiler to program PIC Microcontrollers with? (specifically the 16FXX/18FXX series of chips) Ideally, i would like to compile the C/C++ code down to hex, assembly and/or binary.

Up to now, ive been using PicBasic as a language and i wish to branch out.

Thank you.

RE: C/CPP compiler for PIC Microcontrollers.

I have used the CCS C compiler:

http://www.ccsinfo.com/picc.html


From the newsgroups, comp.arch.embedded.piclist and alt.microcontrollers.8bit  this was advertised recently:

----------------------------------------------------------
http://www.hitech.com.au/products/piclite/piclite.html

HI-TECH Software is pleased to announce the release of a totally free ANSI C compiler to support selected Microchip devices. The HI-TECH PICC Lite compiler is a freeware version of our industrial-strength PICC compiler and supports the 16F877, 16F877A, 12F675, 12F629, 16F627, 16C84, 16F84 and 16F84A devices.

Differences from the full versions are: there is no source code supplied for the library routines; the compiler comes with no printf() support for longs or floats; two ram banks of the 16F627, 16F877, 16F877A are supported for general purpose ram; Code size for the 16F877 and 16F877A is limited to 2048 words.

HI-TECH Software has provided this freeware PICC Lite compiler, as a low-cost tool for hobbyists and students, however the licence allows its use for commercial purposes as well. It is ideal as a teaching tool for an introduction into the 'C' language and embedded programing, on a Microchip device. The selected processors were chosen for this compiler due to their popularity.
----------------------------------------------------------

RE: C/CPP compiler for PIC Microcontrollers.

CCS C compiler is the best. been using it for last 6 yrs.

RE: C/CPP compiler for PIC Microcontrollers.

CCS is very good and has a nice compiled code when your done. Everything else I've ever touched for the PIC family has been as buggy as a watermelon left on a picnic table.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources