PC Installation Guide for CCS Development Tools

We use Custom Computer Services (CCS) software development tools to compile and build embedded programs that control the custom printed circuit boards found in the lab. The PIC18 family microcontroller and variants of the SX microcontroller are the main programmable units used to drive the circuit boards. All of the necessary CCS development tools can be found in DRBIO's ftp site under the directory labeled CCS_Compilers.

Installing PIC C Compiler
Download and unpack the zip file labeled CCS_PIC_USB.zip. It contains the installers for the PIC C compiler and the accompanying C compiler reference manual. Double-click on ideutilsupd.exe and an install wizard will walk you through the Integrated Development Environment (IDE) Utilities Setup program. If you are running on Windows 7 and happen to get an error message like the one below,
choose the Reinstall using recommended settings option. Once this completes successfully, double-click on the other installer pcwhupd.exe. A new setup wizard will complete installation of the IDE C compiler for the PIC18 microcontroller.
A brand new PIC C Compiler icon should appear on your desktop. Double-click on the icon and an IDE session will open. Select the appropriate opcode setting for the target microcontroller, i.e. the PIC18 family chips normally correspond to PCH 16-bit opcode. You can also select it by specifying a target chip; click on the button labeled Lookup Part found at the top toolbox, this will display the Select Target Chip dialog box.
Installing SX C Compiler
Download and unpack the zip file labeled SX_Compiler.zip. Change into the sub-directory SXC. Find the installation file labeled update and double-click it. This will walk you through the installation wizard for the SX-C program.
When you see a dialog asking confirmation for interfacing to MPLAB 5, select No. You should see a new desktop icon labeled SX C Compiler. Double-click on the new icon to open the IDE. Make sure that the combo box at the top toolbox displays Scenix SX.
Select the menu item Options->Include Dirs... and add a new directory to the existing search list.
If you're running on 32-bit operating system, add C:\Program Files\SX-C\Examples to the search list. On 64-bit system, add C:\Program Files (x86)\SX-C\Examples
Installing SX-Key/Blitz Program
Download and unpack the zip file labeled Setup-SX-Key-Editor-v3.3.0-R2.zip. Double-click on the installation file Setup-SX-Key-Editor-v3.3.0-R2. This will start a setup wizard for the SX-Key software. The SX-Key/Blitz hardware consists of a programmer device unit, a 4-pin programming interface and a standard serial port connector (DB9):

The 4-pin interface connects to the SX and the DB9 is attached to the PC through a serial cable. Once the hardware connections are established, the SX-Key software takes a HEX file output generated from the SX C Compiler and loads it onto the SX chip. The figure below shows a typical device setting used for flashing the SX microcontroller on our current scancard PCB: