Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Thread Tools Display Modes
Old 8th February 2008, 09:28 AM   (permalink)
Smile Programming C in MPLAB

Hi,

How can we add the hi tech C or other C compiler engine in MPLAB IDE...

Regards,

Simran..
__________________
Simran..
8051 Specialist..
simrantogether is offline   Reply With Quote
Old 8th February 2008, 09:37 AM   (permalink)
Default

Quote:
Originally Posted by simrantogether
Hi,

How can we add the hi tech C or other C compiler engine in MPLAB IDE...

Regards,

Simran..
Hi-Tech PICC Lite comes with MPLAB now. If you install the latest version of MPLAB, the setup wizard asks you if you want to install that compiler.
When you start a new project you need to select the proper toolsuite.
eng1 is offline   Reply With Quote
Old 8th February 2008, 09:38 AM   (permalink)
Default

I use the free C18 compiler that you can download from Microchip. It does mean you have to switch to the 18 series chips but that isn't a bad thing.

Mike.
Pommie is online now   Reply With Quote
Old 8th February 2008, 09:48 AM   (permalink)
Smile Yes Sir...

Quote:
Originally Posted by Pommie
I use the free C18 compiler that you can download from Microchip. It does mean you have to switch to the 18 series chips but that isn't a bad thing.

Mike.
Actually Sir , I should... but the company requirement is 16f series...

But it is the wonderful option of downloading the C18 compiler...

I just download it now...

Regards,

Simran..
__________________
Simran..
8051 Specialist..
simrantogether is offline   Reply With Quote
Old 8th February 2008, 10:27 AM   (permalink)
3v0
Default

With the CCS compiler for 16F uC you first install the compiler and then run a utility (provided by CCS) that updates MPLAB to make use of the CCS compiler.
3v0 is offline   Reply With Quote
Old 8th February 2008, 01:00 PM   (permalink)
Default

Will the C18 compiler work on PIC16 Family?
__________________
Simplicity rules

Good enought - its perfect ??

2 Gig of free online backup space

Are you a Chemist?
Kryten is offline   Reply With Quote
Old 8th February 2008, 07:57 PM   (permalink)
Default

Quote:
Originally Posted by Kryten
Will the C18 compiler work on PIC16 Family?
No, the clue is in the name!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline   Reply With Quote
Old 11th February 2008, 04:51 PM   (permalink)
Default

Yeh but i downloaded the latest MPLAB and got the Hi-Tech PICC: I think I might have not done something right. Cos i cant seem to get to start programming.

I have choosen Hi-Tech Universal Language as tool suite. And it says PIC16F87 in the bottom toolbar in MPLAB. What have i done wrong. (I was thinking about making a make file that would be universal so that i can choose device later on in ordser to get started with the programming.)
__________________
Simplicity rules

Good enought - its perfect ??

2 Gig of free online backup space

Are you a Chemist?

Last edited by Kryten; 11th February 2008 at 05:01 PM.
Kryten is offline   Reply With Quote
Old 11th February 2008, 05:09 PM   (permalink)
Default

Quote:
Originally Posted by Kryten
Yeh but i downloaded the latest MPLAB and got the Hi-Tech PICC: I think I might have not done something right. Cos i cant seem to get to start programming.
I should have posted before, however, your confusion may stem from the fact that this is NOT the Hi-Tech compiler, this is the CCS PICC compiler for the 12fxx devices, not for 16fxx. If you want the free version of the 16F compiler from CCS, go to their website:
http://www.ccsinfo.com/downloads.php
and download it.
If you want the Hi-Tech free version of their compiler for 16F series, you must go to their site and download it:
http://www.htsoft.com/downloads/demos.php
or the page which explains their mid-range tools:
http://microchip.htsoft.com/products...s/PICClite.php

There is a review of these, and the IAR (less popular) here:
http://www.microchipc.com/reviews/Hi-Tech_C/index.php

Be advised, that the commercial version prices are VERY different. CCS is around a hundred dollars per family, Hi-Tech is around a thousand.
Hi-Tech is, arguably, closer to ANSI, than CCS is.

One of the best deals on a C compiler for mid-range chips is Source Boost. It feels very close to Hi-Tech's offering, yet only costs around fifty dollars:
http://www.sourceboost.com/Products/.../Overview.html
They also provide a free, code limited (like CCS and Hi-Tech) version.

edit:
BoostC Full License US $69.95 no limitations:
Quote:
The full license has unlimited RAM and ROM usage. Suitable for projects of all shapes and sizes. The definite choice of the serious programmer. Non-commercial use.
Quote:
BoostC Pro License US $149.95

The Pro License has unlimited RAM and ROM usage. The correct choice for the professional programmer. This license allows commercial use. The BoostC Pro license also comes with a single user source code license for Novo RTOS.
Hi-Tech promotes SALVO as a RTOS, which is also priced at over a thousand. Boost seems like a very good bargan!

Last edited by BeeBop; 11th February 2008 at 05:14 PM.
BeeBop is online now   Reply With Quote
Old 11th February 2008, 05:30 PM   (permalink)
Default

Are Boost C a stand-alone C programmer/compiler? or "plugin" in MPLAB ?
__________________
Simplicity rules

Good enought - its perfect ??

2 Gig of free online backup space

Are you a Chemist?
Kryten is offline   Reply With Quote
Old 11th February 2008, 06:35 PM   (permalink)
Default

Quote:
Originally Posted by Kryten
Are Boost C a stand-alone C programmer/compiler? or "plugin" in MPLAB ?
Can be used with its own IDE (stand alone) or can be used in MPLab with a plug in.

I would suggest taking them all for a spin to find out which one you like best.
BeeBop is online now   Reply With Quote
Old 11th February 2008, 06:40 PM   (permalink)
Default

Ok thanks BeeBop
__________________
Simplicity rules

Good enought - its perfect ??

2 Gig of free online backup space

Are you a Chemist?
Kryten is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
Programming PICC through MPLAB MatrixPhreak Micro Controllers 25 9th December 2007 03:55 PM
Debugging 877A with MPLAB williB Micro Controllers 10 7th May 2007 03:53 PM
Need help badly on Inchworm and MPLAB thushy Micro Controllers 14 11th March 2007 06:05 PM
ICD2 operating system williB Micro Controllers 47 9th March 2007 10:32 PM
Some Question About Inchworm Ayne Micro Controllers 29 7th March 2007 03:07 AM



All times are GMT. The time now is 02:40 AM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.