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
Posted: Thu Feb 23, 2006 10:52 am
Do a search in the forum (option up above by the CCS)
for #device *=16
This might be your problem
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