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 support@ccsinfo.com

compiler version?
Goto page 1, 2  Next
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
joe
Guest







compiler version?
PostPosted: Wed Jun 29, 2005 10:45 pm     Reply with quote

i cant compile using my mplab v6.3 for PIC12F683. i believe should be the compiler version as it works ok for PIC12F629.

my ccsc.exe version is 3.5.0.91

Do anyone know whats the problem? How do i check the compiler version properties?
joe
Guest







PostPosted: Wed Jun 29, 2005 10:46 pm     Reply with quote

just to add on...
i try to search for 12F683.h and it was not even in my device folder..
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Jun 29, 2005 10:55 pm     Reply with quote

There are at least three ways to find the compiler version.

1. Compile a test file, and look at the top of the .LST file.
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

The version will be a number in this format: 2.734, or 3.191, or 3.226, etc.
joe
Guest







PostPosted: Thu Jun 30, 2005 12:13 am     Reply with quote

thanks for the info..
my pcb ver 3.173
pcm ver 3.173

so what do i need to do to be able to compile PIC12F638?
thanks
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Jun 30, 2005 12:26 am     Reply with quote

Your version of the compiler doesn't support the 12F683.
Probably the best thing is to upgrade the compiler.
joe
Guest







PostPosted: Thu Jun 30, 2005 1:29 am     Reply with quote

So the only thing that i can do is to upgrade to the current one..?
Is there any other way out, cos i only need to compile that chip and no extra features needed.
joe
Guest







PostPosted: Thu Jun 30, 2005 1:33 am     Reply with quote

I dun really want to spend the $99 on the one year upgrade...hmmm.
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Thu Jun 30, 2005 5:04 pm     Reply with quote

Then you dun really want to compile the code then! Don't want to spend the money, then write in asm or use another pic.
dyeatman



Joined: 06 Sep 2003
Posts: 1912
Location: Norman, OK

View user's profile Send private message

PostPosted: Thu Jun 30, 2005 5:24 pm     Reply with quote

Deleted...

Last edited by dyeatman on Thu Jun 30, 2005 8:42 pm; edited 1 time in total
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Jun 30, 2005 5:45 pm     Reply with quote

The 12F683 is twice as capable as the 12F675/12F629,
so I'm sure that's why he wanted to use it. But his
version of the compiler doesn't support it.
Here is a short summary of the differences:
Code:

Feature         PIC12F675      PIC12F683
Max Prog. Mem.   1024          2048
SRAM             64            128
Data EEPROM      128           256
Timers (8/16)    1/1           2/1
CCP              N             Y
Int Osc freq     4 MHz         32 KHz - 8 MHz
Clock switching  N             Y
joe
Guest







PostPosted: Thu Jun 30, 2005 7:13 pm     Reply with quote

Thanks for the reply..

i need the improved 629 .. thus i went for a 683... becos i am quite new to firmware programming and so on.. i immediately placed an order for 683 to realise that i cant compile it on my usual version..

so i guess [wallet-$99].
Thanks anyway for the replies especially PCM programmer.. Smile
joe
Guest







PostPosted: Thu Jun 30, 2005 7:14 pm     Reply with quote

Thanks for the reply..

i need the improved 629 .. thus i went for a 683... becos i am quite new to firmware programming and so on.. i immediately placed an order for 683 to realise that i cant compile it on my usual version..

so i guess [wallet-$99].
Thanks anyway for the replies especially PCM programmer.. Smile
C-H Wu
Guest







F629/F675 to F683 migration
PostPosted: Thu Jun 30, 2005 10:01 pm     Reply with quote

PCM programmer wrote:
The 12F683 is twice as capable as the 12F675/12F629,
so I'm sure that's why he wanted to use it. But his
version of the compiler doesn't support it.
Here is a short summary of the differences:
Code:

Feature         PIC12F675      PIC12F683
Max Prog. Mem.   1024          2048
SRAM             64            128
Data EEPROM      128           256
Timers (8/16)    1/1           2/1
CCP              N             Y
Int Osc freq     4 MHz         32 KHz - 8 MHz
Clock switching  N             Y


PCWH -> Tools -> Device Editor -> 12F675

Can't we use Device Editor to create a new chip ? Confused
and/or just copy/edit the device header C:\Program Files\PICC\Devices\12F675.h to make our own 12F683.h
or just modify the 12F675.h along with Device Editor

I don't think $99 is a necessary unless 3.173 has bug with F675.

Best wishes

C-H Wu
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Jun 30, 2005 11:57 pm     Reply with quote

He mentioned his versions of PCB and PCM, and he said he uses MPLAB to
compile. He also said the upgrade was $99, which is the price for the
PCM maintenance. So I assumed that he doesn't have PCW or PCWH.
You only get the Device Editor with those products. You don't get it
with just plain PCM or PCH.
Guest








PostPosted: Sat Jul 02, 2005 10:44 am     Reply with quote

PCM programmer wrote:
He mentioned his versions of PCB and PCM, and he said he uses MPLAB to
compile. He also said the upgrade was $99, which is the price for the
PCM maintenance. So I assumed that he doesn't have PCW or PCWH.
You only get the Device Editor with those products. You don't get it
with just plain PCM or PCH.


OOOPs, you are right ! Embarassed
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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