View previous topic :: View next topic |
Author |
Message |
amarac
Joined: 09 Mar 2006 Posts: 3
|
CCS/MPLab/PicStart Plus PIC 877 undocumented include file |
Posted: Thu Mar 09, 2006 12:59 pm |
|
|
Hi all,
I am using MPLab and CCS with PicStart Plus to program a Pic 877. I was told that there is a file you have to include in the project or workspace that is not documented anywhere in order for the programmer to work. Does anyone know what the file name is and where to include it in the workspace?
Problem: C file compiles in CCS with no errors, but build always fails.
Any help appreciated!!! |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Thu Mar 09, 2006 1:49 pm |
|
|
There is no undocumented include file needed. Post the error message
that you get from MPLAB. Also post your versions of MPLAB and CCS. |
|
|
amarac
Joined: 09 Mar 2006 Posts: 3
|
|
Posted: Thu Mar 09, 2006 4:01 pm |
|
|
This is the output from MPLab:
Clean: Deleting intermediary & output files
Clean: Done
Executing: "C:\PICC\Ccsc.exe" picc1.c
No errors
Halting build on first failed translation as user preferences indicates
BUILD FAILED: Thu Mar 09 17:17:13 2006
The MPLab version is 6.60
CCS version is 3.124 |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Thu Mar 09, 2006 4:39 pm |
|
|
Go to the Project menu in MPLAB and then to "Select Language Toolsuite".
Make sure that the Active Toolsuite is:
Quote: | CCS C Compiler for PIC12/14/16/18 |
If it's not listed, then install the CCS plug-in. Download it from here:
http://www.ccsinfo.com/download.shtml#MPLAB6 |
|
|
amarac
Joined: 09 Mar 2006 Posts: 3
|
|
Posted: Thu Mar 09, 2006 5:29 pm |
|
|
I tried that. It said that the CCS compiler was not installed and could not do anything else. I tried installing it in C:\Program Files\PICC as well as C:\PICC where the Ccsc.exe file is. No luck. |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Thu Mar 09, 2006 5:33 pm |
|
|
If I run my archived install file for PCM cs. 3.124, the setup
screen wants to install the files into c:\Program Files\Picc
You shouldn't install them into c:\Picc. That's the old install
location for version 2.734 and earlier. Modern versions go
into c:\Program Files\Picc |
|
|
|