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

CCS & PIC16F946

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



Joined: 10 Oct 2005
Posts: 4

View user's profile Send private message

CCS & PIC16F946
PostPosted: Thu Feb 23, 2006 9:43 am     Reply with quote

I have a large program code for PIC16F946. Until the code size reaches 25% of program memory everything is ok, but after this limit (Memory usage: ROM=25% RAM=17% - 18%) any more code lines I add crushes the whole code and the program gets locked, doesn't respond any inputs. The lines I added can't do this, there is a wrong CCS Compiler and PIC16F946. Any code can do this, even trying to clear an output like this:

Code:
#bit park = 0x7.7
.
.
.
  park = 0;


I think compiler can't address its memory correctly. Do you have any idea about this problem? Does CCS Compiler really support PIC16F946?


I'm using:

IDE version 3.243
PCB version 3.243
PCM version 3.243
PCH version 3.243

MPLAB IDE v.7.30

Microchip ICD 2 programmer
treitmey



Joined: 23 Jan 2004
Posts: 1094
Location: Appleton,WI USA

View user's profile Send private message Visit poster's website

PostPosted: Thu Feb 23, 2006 10:52 am     Reply with quote

Do a search in the forum (option up above by the CCS)
for #device *=16
This might be your problem
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