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

is there a 16f684.h device header?

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



Joined: 21 Jun 2004
Posts: 3

View user's profile Send private message

is there a 16f684.h device header?
PostPosted: Mon Jun 21, 2004 8:22 am     Reply with quote

Hi all,

the website says that the PIC16f684 is supported by PCM, but I can't find the header file in the devices directory; is it 16f684.h ? or should I use another one?

BTW, I'm using PCM v3.08.

Thanks,

Kristof.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Jun 21, 2004 1:09 pm     Reply with quote

Quote:
I can't find the header file in the devices directory; is it 16F684.h ?
I'm using PCM v3.08.

PCM version numbers have 3 digits after the decimal point.
So I'll assume you have vs. 3.080.

I checked the include files for that version, and there is no 16F684.h
file. It first became available with PCM vs. 3.181.

Your main problem is that the header file is not the "keys to the
kingdom". The header file just contains the #define statements
for constants that are used with the CCS library functions.
The real description of the chip is contained in the Devices.dat file.
If you have PCW, then maybe you could use the Device Editor
to add the 16F684 to Devices.dat file. But if you just have the
PCM compiler (not PCW), then you don't have many options.
You probably have to spend the money to buy the "maintenance"
package from CCS, and then upgrade to vs. 3.191 or vs. 3.202.
Those are the two versions availabe for download, here:
http://www.ccsinfo.com/download.shtml

I looked at the Microchip Product Selection Guide, and the closest
device that you have a .H file for might be the 16F676. But it only
has 1K of ROM, and 64 bytes of RAM, which is half the amount in
the 16F684. So you could only use that amount. I'm not sure
what your best choice is, other than to upgrade the compiler.
kristofvl



Joined: 21 Jun 2004
Posts: 3

View user's profile Send private message

16f684
PostPosted: Tue Jun 22, 2004 4:20 am     Reply with quote

Thanks for your help, I'll go for the upgrade,

Kristof.
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