Re: PIC Development Help - compiler and IDE





Howard Henry Schlunder wrote:

> "js1180" <spastula@xxxxxxxxxxx> wrote in message
> news:1129254708.6ff4ae6e3352ecfbdb3a17b35ff36f85@xxxxxxxxxxx
> >I am just starting to learn PIC programming. I have some experience with
> >Motorola processors so it's not brand new to me. I was wondering what C
> >compilers are best for PIC's, what are you guys using. I was also looking
> >for an IDE. I am especially interested in low cost products. I have the
> >PICKit 2 (USB interface) and the MP Labs IDE. Unfortunately I am having
> >some compatibility issues:
> >
> > 1) The MP Labs IDE does not support the PICKit 2. I have to code in the
> > IDE, then switch to the basic PIC programming to write the file. No
> > programming or debugging can be done with the IDE.
>
> You can use MPLAB SIM in the IDE to simulate your code. If you get into
> really complicated projects that require debugging in circuit with various
> peripherals running, you should buy the MPLAB ICD2, which will interface
> directly with MPLAB IDE. You'd then be able to program your PIC and debug
> real time without switching applications.
>
> > 2) The Pic lite compiler I have does not support the chip I am using -
> the
> > PIC16F690. Maybe the solution is to create a header file for the specific
> > chip. Maybe you know a site that has files like this.
>
> The HI-TECH PICC-Lite compiler was purposely crippled so it could be
> released for free. If you want a C compiler for that particular chip, you
> should buy the HI-TECH PICC compiler.
>
> Personally, I don't recommend that you program PIC16's in C. The PIC16
> architecture isn't optimized for C code. Hand written asm code will likely
> run faster and take less space. If you are bent on using C, I would
> recommend using a PIC18 part instead, which was designed with C in mind.
> (The PICKit 2 may not be able to program PIC18s yet) Also, if you used a
> PIC18 part, you could download and use the Microchip MPLAB C18 C compiler,
> which is a very good C compiler. The free version of C18 disables the
> procedurable abstraction optimization, which is of no consequence unless you
> are completely out of FLASM memory. Otherwise, the free version is
> uncrippled and supports all current and future PIC18s.
>
> Although I've never used PICC-Lite, my guess is that you would have to
> compile for one of the PICs that are supported in addition to modifying the
> header file.
>
> > I was surprised that the package I ordered did not have compatible
> > products, all the items were bundled together in a kit.
>
> The PICKit 2, true to it's name, is a starter kit. PICC-Lite is a 3rd party
> product, so it strikes me as reasonable that it does not support the
> PIC16F690, despite there being a copy of it on the CD. Also, the PICKit 2
> is very new. While it may not be supported in MPLAB IDE yet, full source
> code for the host application and the internal firmware is available, so one
> day it may be interfaceable directly to MPLAB.

I use Hi-Tech C on PIC16's the results are acceptable. Not Very cheap however.



.



Relevant Pages

  • Re: PIC Development Help - compiler and IDE
    ... >PICKit 2 and the MP Labs IDE. ... then switch to the basic PIC programming to write the file. ... You can use MPLAB SIM in the IDE to simulate your code. ... The HI-TECH PICC-Lite compiler was purposely crippled so it could be ...
    (comp.arch.embedded)
  • Re: PIC Development Help - compiler and IDE
    ... >PICKit 2 and the MP Labs IDE. ... works from inside mplab. ... Getting started with mplab and C18 compiler ... then switch to the basic PIC programming to write the file. ...
    (comp.arch.embedded)
  • Using the Net Beans IDE for Java program development.
    ... using the operating system command line method. ... Net Beans IDE. ... I so happend to have an SDK (command line java compiler) from a CD I got ... because it seems to be good in theory, to have an integrated programming ...
    (comp.lang.java.help)
  • The new Net Beans IDE Java developer software. Good in theory
    ... you get a new interactive programming environemt ... using the operating system command line method. ... Net Beans IDE. ... I so happend to have an SDK (command line java compiler) from a CD I got ...
    (comp.lang.java)
  • Re: PICs in general, PIC language questions, pic hardware questions
    ... >> I also remember my CCS compiler, which did a servicable job most of the ... >> 2) What is involved with in circuit programming, ... > Can program and debug all flash pics from inside mplab ... > using a pic (also have boards for the new microchip spi to ethernet ...
    (comp.robotics.misc)