CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

PCWH Help !!!

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Zaki



Joined: 30 Nov 2005
Posts: 8

View user's profile Send private message

PCWH Help !!!
PostPosted: Wed Feb 08, 2006 3:47 am     Reply with quote

ok i have an mplab ide v.7.22 and i have a pcwh ver. 3.6.0.10 .. well i tried as usuall with the pch .. just opening teh main file , compiling it .. but then i get a very weird error

~~~~Invalid option : +M
what does that mean ?
how do i deal with it ??
jma_1



Joined: 08 Feb 2005
Posts: 147
Location: Wisconsin

View user's profile Send private message

PostPosted: Wed Feb 08, 2006 12:23 pm     Reply with quote

+M
Generate a symbol file (.SYM)

Unfortunately, I do not use MPLAB. Perhaps the wrong version of the compiler is being used (PIC16 vs PIC18)?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Feb 08, 2006 1:13 pm     Reply with quote

Quote:
i have a pcwh ver. 3.6.0.10 ..

That's not the real compiler version. You got that number by
right-clicking on the .EXE file and viewing the Properties.
The real version will be a number like 3.148, or 3.242, etc.

Can you post the real version ?

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
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Feb 09, 2006 11:49 am     Reply with quote

Also, you can get the "+M" error if you use an older version of the CCS
compiler with a recent version of MPLAB. You might have to use
MPLAB vs. 5.70.40 to fix this problem. Either that, or upgrade the
compiler.

You can download the old version of MPLAB here:
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en023073


You can have MPLAB vs. 5.70.40 and vs. 7.xx installed on your system
at the same time. They don't conflict with each other.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group