Difference between revisions of "PIC MCUs: Software"

From Mech
Jump to navigationJump to search
m
Line 1: Line 1:
The CCS C Windows IDE is a software package that includes a source code editor, a C compiler, and an interface with a programming device (such as the ICD-U40). Together, these three components make up an Integrated Development Environment, or IDE. The general purpose of the IDE is to allow the user to create and edit a source code in C, then compile and program that code into a PIC microcontroller.
There are many different combinations of tools that allow you to program and interact with PIC microcontrollers. For any combination, however, there are a few required components (usually called an Integrated Design Environment or IDE as a whole):
<ol>
<li> Programmer
<li> C Compiler
<li> Source Code Editor
</ol>
<br>


==Install and Setup==
The CCS C Windows IDE combines a Source Code Editor and C Compiler, and interfaces easily with the CCS ICD-U40 Programmer (this combination of tools is used in ME 333/433). Also, as the name suggests, the ICD-U40 is an "'''I'''n '''C'''ircuit '''D'''ebugger", which allows for the user to have in-depth, step-by-step control of the running of their program. Debugging is dicussed further [[Debugging in CCS Windows IDE|here]].
Installing the CCS C Windows IDE is quite straightforward. Simply run the setup file from the C Compiler installation disk, and follow the on screen instructions. At a certain point in the installation, the installer will request a directory to be used for program storage. The default will be C:\Program Files\PICC\Projects , however you may wish to change this depending on where you would like your projects to be stored.

The PCWH Student Materials package includes a student version of the Windows IDE C Compiler, along with an introductory manual on [[C Programming|C programming]]. Install the IDE software from the disk provided. As it is a student version, this software is limited to two devices: the PIC18F4520 and the PIC18F252.

Revision as of 10:01, 26 June 2007

The CCS C Windows IDE is a software package that includes a source code editor, a C compiler, and an interface with a programming device (such as the ICD-U40). Together, these three components make up an Integrated Development Environment, or IDE. The general purpose of the IDE is to allow the user to create and edit a source code in C, then compile and program that code into a PIC microcontroller.

Install and Setup

Installing the CCS C Windows IDE is quite straightforward. Simply run the setup file from the C Compiler installation disk, and follow the on screen instructions. At a certain point in the installation, the installer will request a directory to be used for program storage. The default will be C:\Program Files\PICC\Projects , however you may wish to change this depending on where you would like your projects to be stored.