View previous topic :: View next topic |
Author |
Message |
Jimharris Guest
|
PCW IDW vers 3.214 and MPLAB IDE vers 7.0 integration |
Posted: Thu Feb 10, 2005 7:48 am |
|
|
I am trying to use PCW IDE with MPLAB IDE and I am not sure that it
has integrated properly. I compile the ex_usb_mouse.c example with
apparent success. i.e. hex file is generated, etc. but when I program
the 16C765 it appears that the hex file is not the file that is loaded to
my PIC-Mate II programmer.( Nothing works)
The C765 does not have a clock running ( I don't see an oscillation at the OCS1 and OSC2 pins) and so I am guessing that the
configuration bits have not been programmed.
How can I tell which *.hex file is being loaded when I program the part?
I know this sounds like a MPLAB question but I am not sure that
MPLAB and PCW are talking, how do I confirm this?
What is the proper way to transition to MP LAB after PCW finishes a compile?
Thanks, Jim |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Thu Feb 10, 2005 7:58 am |
|
|
I compile inside the MPLAB IDE. Then you don't have to worry about it. I don't know anything about "integrating" CCS IDE into MPLAB. You can have MPLAB invoke the compiler though. If you are just trying to program with MPLAB, then you will have to set the device type and then goto the File menu and use the Import menu item and select the proper hex file. |
|
|
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
|
|
Posted: Thu Feb 10, 2005 9:10 am |
|
|
From the release notes: Quote: | 3.215 PCW not recognizes MPLAB 7.0 |
I have no clue what this means, but it might help you. |
|
|
TWyn Guest
|
stuck after compile with CCS |
Posted: Mon Feb 14, 2005 6:13 am |
|
|
I have the same problem, the compiler works OK,
but don't know how to get back to MPLAB 7.
MPLAB halted on first failed and my osc stops too!!!!
I must be very silly
Please post the solution if you figure it out. |
|
|
TWynne
Joined: 14 Feb 2005 Posts: 1
|
MPLAB and CCS integration issue |
Posted: Mon Feb 14, 2005 7:27 pm |
|
|
>>How can I tell which *.hex file is being loaded when I program the part?
I know this sounds like a MPLAB question but I am not sure that
MPLAB and PCW are talking, how do I confirm this?
What is the proper way to transition to MP LAB after PCW finishes a compile?
-- I have the same issue, the oscillator did not work and PCW did not transition back to MP LAB,
I change the tool suite from CCS compiler to >> CCS compiler for PIC12,16,18 and the compiler works great. |
|
|
prajeesh Guest
|
MPLAB 7 integration |
Posted: Wed Apr 12, 2006 8:40 am |
|
|
Hi all,
i have CCS C compiler version 3.1.0.23, is it possible to integrate this in to MPLAB 7.31...
please post ur valuable replies...
thanks,
prajeesh |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
|
prajeesh Guest
|
MPLAB7 integration |
Posted: Wed Apr 12, 2006 8:45 am |
|
|
hi all,
am using MPLAB 7.31 and CCSC copiler version 3.1.0.23. while building the project a warning is diaplayed mentioning "failed to load". But the build was successful.
the build options shows "the comiler version is too old for this MPLAB". is there any solution for this..
please post ur replies...
thanks,
prajeesh |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Wed Apr 12, 2006 8:52 am |
|
|
I believe they changed the COFF format for support for C18 v3.0. If you check the readme file for the IDE:
Quote: | If your language tools do not work correctly after installing this version of MPLAB IDE, go to our website or third party website to get the latest version of your language tool. If you have purchased the tool, contact your sales rep for an upgrade. |
So here are 2 options:
1. Use an older version of MPLAB
2. Upgrade the Compiler |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Wed Apr 12, 2006 9:55 am |
|
|
That version number is from the Windows property box, that you
can see by right-clicking on the compiler icon.
What is your real compiler version ? It will be a number like
3.191, or 3.245, etc.
There are at least three ways to find it:
1. Compile a test file, and look at the top of the .LST file, which will
be in your project folder. It will show the version.
2. Click on Start/Programs, and then find the entry for CCS.
It might be called "PIC-C". Then click on the icon for "Compiler Version".
2. Open a DOS window and go to c:\Program Files\Picc
and run this command line: CCSC +v |
|
|
|