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

migrate from 73 to 76

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







migrate from 73 to 76
PostPosted: Thu Jun 12, 2008 1:52 pm     Reply with quote

Hi,

I need to migrate from 16LF73 to 16LF76 (need more RAM).

However, after changing 16f73.h to 16f76.h, the compiling info tells me the ROM percentage decreased, but RAM percentage doesn't not decrease!
(my CCS compiler version is 3.1.0.27)
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Jun 12, 2008 2:05 pm     Reply with quote

Add the line shown in bold below, to enable use of all RAM in the 16F PICs.
This is not needed in 18F PICs.
Quote:
#include <16F76.h>
#device *=16



Also, that's not your compiler version. Look here to see the format
of the version numbers:
http://www.ccsinfo.com/devices.php?page=versioninfo
The version is given at the top of the .LST file, which will be in your
project directory after a sucessful compilation.
16LF73
Guest







thanks
PostPosted: Thu Jun 12, 2008 2:30 pm     Reply with quote

Thanks for your quick reply.
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