|
|
View previous topic :: View next topic |
Author |
Message |
kristofvl
Joined: 21 Jun 2004 Posts: 3
|
is there a 16f684.h device header? |
Posted: Mon Jun 21, 2004 8:22 am |
|
|
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
|
|
Posted: Mon Jun 21, 2004 1:09 pm |
|
|
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
|
16f684 |
Posted: Tue Jun 22, 2004 4:20 am |
|
|
Thanks for your help, I'll go for the upgrade,
Kristof. |
|
|
|
|
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
|