No exact or substring matches. trying for part
PICList
Thread
'Can't find space for psect xtemp in segment BANK0 '
1998\11\16@192753
by
silicontao_roy
|
I am programming a PIC 16c77 with MPLab and HI-Tech C compiler.
I am running out of ROM space. I should have about 3k of ROM left but I
tried to add another function and the compiler died.
I have included the return values from the compiler to show what is
happening.
I read the manual for Hi-Tech and it says the this often happens when using
the -A option, as I am not. It is as if the compiler is not putting enough
functions into bank1, 2, or 3. Does anyone have a solution for this?
/*===============================================================
This is before I add the function
===============================================================*/
Building DHMAIN.HEX...
Compiling DH_MAIN.C:
Command line:
"C:\HT-PIC\BIN\PICC.EXE -W1 -X -GMicrochip -O -D24 -DXTAL_FREQ=8MHZ -E -16C7
7 -C C:\PROGS\D&H\DH_MAIN.C"
Enter PICC -HELP for help
Linking:
Command line:
"C:\HT-PIC\BIN\PICC.EXE -GMicrochip -INTEL -E -16C77 -oDHMAIN.HEX
DH_MAIN.OBJ "
Enter PICC -HELP for help
Memory Usage Map:
Program ROM: $0000 - $003A $003B (59) words
Program ROM: $003C - $081C $07E1 (2017) words
Program ROM: $081F - $0FFF $07E1 (2017) words
Program ROM: $1181 - $17FF $067F (1663) words
Bank 0 RAM: $0020 - $0068 $0049 (73) bytes
Bank 0 RAM: $0070 - $007D $000E (14) bytes
Bank 1 RAM: $00A0 - $00B3 $0014 (20) bytes
Bank 2 RAM: $0110 - $0149 $003A (58) bytes
Bank 3 RAM: $0190 - $01D6 $0047 (71) bytes
Build completed successfully.
/*===============================================================
This is after I add the function
===============================================================*/
Building DHMAIN.HEX...
Compiling DH_MAIN.C:
Command line:
"C:\HT-PIC\BIN\PICC.EXE -W1 -X -GMicrochip -O -D24 -DXTAL_FREQ=8MHZ -E -16C7
7 -C C:\PROGS\D&H\DH_MAIN.C"
Enter PICC -HELP for help
Linking:
Command line:
"C:\HT-PIC\BIN\PICC.EXE -GMicrochip -INTEL -E -16C77 -oDHMAIN.HEX
DH_MAIN.OBJ "
Enter PICC -HELP for help
::Can't find space for psect xtemp in segment BANK0 (error)
::psect xtemp not specified in -p option (first appears in
C:\HT-PIC\LIB\pic422-c.lib: btemp12.obj) (warning)
MPLAB is unable to find output file "DHMAIN.HEX".
Build failed.
Roy Souther
spam_OUTsilicontao_royTakeThisOuT
technologist.com
More... (looser matching)
- Last day of these posts
- In 1998
, 1999 only
- Today
- New search...