I have a project I'm working on that requires me to program a PIC micro controller, but I have never done so before so I have a few questions. The PIC micro controllers I have are the 16F690 and the 16F873. I would like to program these in C to avoid the headache of assembly. The programmer I have is the PICKIT 2.
When I installed MPLAB to program the chip, it doesn't look like it came with the toolset to program these chips in C.
My questions are (before I spend any money), if I by the CCS PCW or PCM compiler, will this work with MPLAB? Also, I need to program these chips with a hex file. Do these compilers generate a hex file so I can program my chips? The compiler I have now just generates an assembly file that I cannot use.
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Tue Mar 18, 2008 6:58 pm
Quote:
The PIC micro controllers I have are the 16F690 and the 16F873.
The cheapest way to get a CCS compiler for those two PICS is to buy
the PCM "command line" compiler. It will integrate with MPLAB.
Quote:
Do these compilers generate a hex file so I can program my chips ?
Yes, the PCM compiler will generate a HEX file when it compiles your
C source file.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum