Re: Newbie Pic Programming question....

From: Rolavine (rolavine_at_aol.com)
Date: 10/21/04


Date: 21 Oct 2004 06:48:39 GMT


>From: Spehro Pefhany
>On Wed, 20 Oct 2004 17:34:09 -0700, the renowned WhoCares
><What@Why.com> wrote:
>
>>I bought a Superpro LX universal programmer before i new anything
>>about programming. I've decided to try a pic16f84a pic to experiment
>>with, as it seemed to be popular.
>>
>>It came with a program that is used to burn the pics but it only
>>accepts source code, I believe. I think what i need is the program
>>where i can type in the commands and such. I believe it is written in
>>C or something and then converted to source code...right?
>>Thanks
>
>I've never heard of your programmer, but anyhow, you generally need a
>.hex file, which can be produced by an assembler. Download and MPLAB
>from Microchip and install to get started. It's a quick 40M or so
>download.
>
>
>http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=14
06&dDocName=en019469&part=SW007002
>
Spehro gave you good advice. You can use the mplab program to create an
assembly language program in a provided text editior. This program can also
simulate the operation of the processor running your program. If your just
learning then you actually don't need to even burn a chip at all.

To be able to write in a higher level language you will need a compiler
program. If you want to program in C you will have to get a C compiler for the
PIC processors. I can't remember what outfit provides a free small compiler but
it is for the 16f84 chip so your in luck.

Rocky



Relevant Pages

  • Re: LPC2101 development kit, which one?
    ... >In article, Spehro Pefhany ... I think Keil is based on the GCC compiler, ... >At one time Keil did an IDE and simulator with an GCC ...
    (comp.arch.embedded)
  • Re: Learning to use PICS
    ... Spehro Pefhany wrote in message ... > the instructions for some reason. ... It seems that the Hitech C compiler has noticed an optimisation in the "for ... loop" that the XCSB compiler missed, ...
    (sci.electronics.basics)
  • Re: Learning to use PICS
    ... Spehro Pefhany wrote in message ... > the instructions for some reason. ... It seems that the Hitech C compiler has noticed an optimisation in the "for ... loop" that the XCSB compiler missed, ...
    (sci.electronics.design)
  • Re: Max232 or MAx3232
    ... Spehro Pefhany wrote: ... Actually, IIRC, it was the ST ... >version of that chip. ... I've seen the MAX232 smoke under a hot plugging situation. ...
    (sci.electronics.design)