Sonsivri

Electronics => Pic C Languages => Topic started by: DreamCat on June 06, 2010, 05:41:09 05:41



Title: Can somebody tell me is there gcc compiler for PIC18LFXXX?
Post by: DreamCat on June 06, 2010, 05:41:09 05:41
I got a few hand-set, want to learn PIC program,
this hand-set include a FT232BM, a 120*90 lcm, PIC18LF6720 chip and x1226 RTC, etc.
:D

can somebody recommand a develope tool?
I like gcc.


Title: Re: Can somebody tell me is there gcc compiler for PIC18LFXXX?
Post by: spasbyspas on June 06, 2010, 07:45:24 07:45
Hello! There is similar to GCC for PIC18, and he says SDCC.
http://sdcc.sourceforge.net/

Unfortunately busy updated more than a year! I do not know whether busy abandoned as a project?!
At the moment, perhaps only commercial environments evolve and maintained all the range of PIC18. For a smooth transition to the future of the GCC in support PIC18, might well be oriented MPLAB C18.


Title: Re: Can somebody tell me is there gcc compiler for PIC18LFXXX?
Post by: Xwing on June 06, 2010, 08:52:26 08:52
Hi, Dreamcat.
I am a professional developer in embedded environment, for PIC18 my advice is to use MPLAB and the Microchip C18.
The C18 is an excellent compiler with good support and an extensive library of open source applications, has regular updates with new features and support for the latest models PIC18.


Title: Re: Can somebody tell me is there gcc compiler for PIC18LFXXX?
Post by: Sideshow Bob on June 06, 2010, 09:37:20 09:37
Since Microchip took over HI-Tech. They only focus on the Micrchip range. All you need can be found here http://www.sonsivri.com/forum/index.php?topic=935.msg69111#msg69111 and in the Sticky


Title: Re: Can somebody tell me is there gcc compiler for PIC18LFXXX?
Post by: pissant on June 06, 2010, 12:45:37 12:45
C18 (as well as C30 and C32) are built on GCC so those compiler will be familiar to you if you've used GCC in the past. If you dig around the Microchip website a bit, you can find the source code for those compilers (mostly) but missing the libraries. You can move the libraries across from the Microchip version although that is against their license. At the end of the day, it will be just easier to download and use the Microchip compilers.


Title: Re: Can somebody tell me is there gcc compiler for PIC18LFXXX?
Post by: Sideshow Bob on June 06, 2010, 02:18:20 14:18
It can be somewhat confusing. But at the current moment Microchip have two compiler series. So for PIC18FXXXX you can choose either this
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en542861
or this
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en010014
I think the one from HI-Tech is the best.


Title: Re: Can somebody tell me is there gcc compiler for PIC18LFXXX?
Post by: DreamCat on June 06, 2010, 05:05:42 17:05
I'm a newbie for PIC..

AVR is too expensive now, so I decide learn a few mcu. such as PIC STM8, in our country there is a company product STC51, but I don't like it..

ok, I decide chose HI-TECH.

Posted on: June 06, 2010, 05:13:35 17:13 - Automerged

I downloaded "HI-TECH HCPIC18-pro-9.64.5502.exe" and installed . but where is its IDE?


Title: Re: Can somebody tell me is there gcc compiler for PIC18LFXXX?
Post by: Sideshow Bob on June 06, 2010, 05:17:02 17:17
I'm a newbie for PIC..

AVR is too expensive now, so I decide learn a few mcu. such as PIC STM8, in our country there is a company product STC51, but I don't like it..

ok, I decide chose HI-TECH.

Posted on: June 06, 2010, 05:13:35 17:13 - Automerged

I downloaded "HI-TECH HCPIC18-pro-9.64.5502.exe" and installed . but where is its IDE?
The IDE is in MPLAB. You can download MPLAB for free at www.microchip com. The best thing for a beginner is to start with toolbar project->project wizzard. In step two select the "HI-TECH Universal Toolsuite" As active toolsuite. Hope this help. If you installed the C compiler before MPLAB I would have reinstalled the C compiler after MPLAB just in case


Title: Re: Can somebody tell me is there gcc compiler for PIC18LFXXX?
Post by: kcsoft on June 06, 2010, 11:48:44 23:48
but where is its IDE?
Here's another tool I use all the time. Its an editor for HI-TECH compilers (picc,picc18 and dspicc).
Light, fast and easy to use. Single exe, no installation. Does this sound like advertising? No really.. you should try it out.
http://pickit2.isgreat.org/download/PICCEditor.zip (copy/paste in browser address if you get some message instead of the file)


Title: Re: Can somebody tell me is there gcc compiler for PIC18LFXXX?
Post by: ALLPIC on June 07, 2010, 04:28:32 04:28
SDCC will be used as free compiler. Will work well


Title: Re: Can somebody tell me is there gcc compiler for PIC18LFXXX?
Post by: DreamCat on June 07, 2010, 06:49:02 06:49
lol, I thought "HI-TECH HCPIC18-pro-9.64.5502.exe" include IDE...

next I will start read PIC18LF6720 datasheet, read long english document is very hard for me.


Title: Re: Can somebody tell me is there gcc compiler for PIC18LFXXX?
Post by: Sideshow Bob on June 07, 2010, 10:00:24 10:00
You have always Google translate http://translate.google.com/
If you find you language on this site. You can upload documents also like pdf files.
A good start will be the document .........\HI-TECH Software\PICC-18\PRO\9.64\docs\quickstart.pdf