| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| joe Guest
 
 
 
 
 
 
 
			
			
			
			
			
			
			
			
			
 
 | 
			
				| compiler version? |  
				|  Posted: Wed Jun 29, 2005 10:45 pm |   |  
				| 
 |  
				| 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
 
 
 
 
 
 
 
			
			
			
			
			
			
			
			
			
 
 | 
			
				|  |  
				|  Posted: Wed Jun 29, 2005 10:46 pm |   |  
				| 
 |  
				| 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
 
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Wed Jun 29, 2005 10:55 pm |   |  
				| 
 |  
				| 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
 
 
 
 
 
 
 
			
			
			
			
			
			
			
			
			
 
 | 
			
				|  |  
				|  Posted: Thu Jun 30, 2005 12:13 am |   |  
				| 
 |  
				| 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
 
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Thu Jun 30, 2005 12:26 am |   |  
				| 
 |  
				| Your version of the compiler doesn't support the 12F683. Probably the best thing is to upgrade the compiler.
 |  | 
	
		|  | 
	
		| joe Guest
 
 
 
 
 
 
 
			
			
			
			
			
			
			
			
			
 
 | 
			
				|  |  
				|  Posted: Thu Jun 30, 2005 1:29 am |   |  
				| 
 |  
				| 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
 
 
 
 
 
 
 
			
			
			
			
			
			
			
			
			
 
 | 
			
				|  |  
				|  Posted: Thu Jun 30, 2005 1:33 am |   |  
				| 
 |  
				| I dun really want to spend the $99 on the one year upgrade...hmmm. |  | 
	
		|  | 
	
		| Mark 
 
 
 Joined: 07 Sep 2003
 Posts: 2838
 Location: Atlanta, GA
 
 
			      
 
 | 
			
				|  |  
				|  Posted: Thu Jun 30, 2005 5:04 pm |   |  
				| 
 |  
				| 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: 1968
 Location: Norman, OK
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Thu Jun 30, 2005 5:24 pm |   |  
				| 
 |  
				| 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
 
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Thu Jun 30, 2005 5:45 pm |   |  
				| 
 |  
				| 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
 
 
 
 
 
 
 
			
			
			
			
			
			
			
			
			
 
 | 
			
				|  |  
				|  Posted: Thu Jun 30, 2005 7:13 pm |   |  
				| 
 |  
				| 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..
  |  | 
	
		|  | 
	
		| joe Guest
 
 
 
 
 
 
 
			
			
			
			
			
			
			
			
			
 
 | 
			
				|  |  
				|  Posted: Thu Jun 30, 2005 7:14 pm |   |  
				| 
 |  
				| 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..
  |  | 
	
		|  | 
	
		| C-H Wu Guest
 
 
 
 
 
 
 
			
			
			
			
			
			
			
			
			
 
 | 
			
				| F629/F675 to F683 migration |  
				|  Posted: Thu Jun 30, 2005 10:01 pm |   |  
				| 
 |  
				|  	  | 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 ?
   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
 
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Thu Jun 30, 2005 11:57 pm |   |  
				| 
 |  
				| 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 
 
 
 
 
 
 
 
			
			
			
			
			
			
			
			
			
 
 | 
			
				|  |  
				|  Posted: Sat Jul 02, 2005 10:44 am |   |  
				| 
 |  
				|  	  | 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 !
  |  | 
	
		|  | 
	
		|  |