Ik ben aan het programmeren mbv de CC5X compiler in MPLab.
Maar nu krijg ik de volgende error:
Deleting intermediary files... done.
Executing: "C:\ProjectsMPLAB\CC5X.EXE" Volumeregelaar.c -CC -fINHX8M -p16F877A -a -L -Q -V
CC5X Version 3.1C, Copyright (c) B Knudsen Data, Norway 1992-2001
--> FREE edition, 8-16 bit int, 24 bit float, 1k code, reduced optim.
Volumeregelaar.c:
Chip = 16F877A
Warning Volumeregelaar.c 127: Local variables and parameters in uncalled functions are not allocated (25)
(The application contains non-library functions that are not called. Local
variables in these functions (option -wU) are not allocated to save space)
RAM : -------- -------- -------- -------- ===..... ........ ........ ....****
40h: ******** ******** ******** ******** ******** ******** ******** ********
80h: -------- -------- -------- -------- ******** ******** ******** ********
C0h: ******** ******** ******** ******** ******** ******** -------- --------
100h: -------- -------- ******** ******** ******** ******** ******** ********
140h: ******** ******** ******** ******** ******** ******** -------- --------
180h: -------- -------- ******** ******** ******** ******** ******** ********
1C0h: ******** ******** ******** ******** ******** ******** -------- --------
RAM usage: 28 bytes (3 local), 340 bytes free
File 'Volumeregelaar.fcs'
Optimizing - removed 15 instructions (-1 %)
File 'Volumeregelaar.var'
File 'Volumeregelaar.asm'
File 'Volumeregelaar.lst'
File 'Volumeregelaar.cod'
File 'Volumeregelaar.occ'
{
LCD_Vol_Side(); //Write Volume to LCD
^------
Error Volumeregelaar.c 99: Too much code (max address exceeded)
(The application code does not fit into the available space offered
by the device. Code rewriting or selecting another device is required)
Codepage 0 has 1065 word(s) : 52 %
Codepage 1 has 0 word(s) : 0 %
Codepage 2 has 0 word(s) : 0 %
Codepage 3 has 0 word(s) : 0 %
Total of 1065 code words (13 %)
* Estimated CODE SIZE of licensed edition: 862 code words (-203)
*** error(s), no hex file produced.
Error options: -ew: no warning details -ed: no error details -eL: list details
BUILD FAILED: Thu Oct 27 20:25:33 2005
Weten jullie hoe ik dit kan oplossen?
Ja, minder code maken... maar er komt nog aardig wat bij en zo heel erg groot is mijn programma ook weer niet, lijkt me sterk dat dat geheugen nu al vol zit. Dat PICje zit voor 20% ofzo vol als ik bij ICprog hiernaar kijk.
Is dit het limiet van die compiler ofzo?
Van de site van jouw compiler:
"The free edition supports up to 1024 instructions in any single C module"
Ik zie bij jou dat je er 1065 hebt..
EDIT//
Dat wordt dus of betalen, of code inkorten.
[Bericht gewijzigd door DIY op ]
Dus toch die compiler 
Weet iemand een andere (gratis) C Compiler?
Of een goede betaalbare C Compiler?
[Bericht gewijzigd door JuuL op ]
dexter
It's a good day for science!
Bedankt, ik denk dat ik deze eens ga proberen:
http://www.htsoft.com/products/PICClite.php
Deze kan tot 2048 ipv 1024 words.