What I understand, in the LKR file below, the first line defines the access ram area, and further down from the MAP file, that area is fully used. Thanks for the thought. ACCESSBANK NAME=accessram START=0x0 END=0x7F #IFDEF _DEBUGDATASTART DATABANK NAME=gpr0 START=0x80 END=_DATAEND DATABANK NAME=dbgspr START=_DEBUGDATASTART END=_DEND PROTECTED #ELSE //no debug DATABANK NAME=gpr0 START=0x80 END=0xFF #FI ACCESSBANK NAME=accesssfr START=0xF80 END=0xFFF PROTECTED #DEFINE _SPECIALSIZE 0x40 - _DEBUGDATALEN #DEFINE _STACKSIZE _SPECIALSIZE / 2 #IFDEF _CRUNTIME SECTION NAME=CONFIG ROM=config #IFDEF _DEBUGDATASTART STACK SIZE=_STACKSIZE RAM=gpr0 #ELSE STACK SIZE=0x40 RAM=gpr0 #FI #FI ================================================= SIGN 0x000000 data extern C:\MCC18\src\traditional\math\cmath18.asm __FPFLAGSbits 0x000001 data extern C:\MCC18\src\traditional\math\cmath18.asm __FPFLAGS 0x000001 data extern C:\MCC18\src\traditional\math\cmath18.asm __REMB3 0x000002 data extern C:\MCC18\src\traditional\math\aarg.asm __AARGB7 0x000002 data extern C:\MCC18\src\traditional\math\aarg.asm __REMB2 0x000003 data extern C:\MCC18\src\traditional\math\aarg.asm __AARGB6 0x000003 data extern C:\MCC18\src\traditional\math\aarg.asm __REMB1 0x000004 data extern C:\MCC18\src\traditional\math\aarg.asm __AARGB5 0x000004 data extern C:\MCC18\src\traditional\math\aarg.asm __AARGB4 0x000005 data extern C:\MCC18\src\traditional\math\aarg.asm __REMB0 0x000005 data extern C:\MCC18\src\traditional\math\aarg.asm __AARGB3 0x000006 data extern C:\MCC18\src\traditional\math\aarg.asm __AARGB2 0x000007 data extern C:\MCC18\src\traditional\math\aarg.asm __AARGB1 0x000008 data extern C:\MCC18\src\traditional\math\aarg.asm __AARGB0 0x000009 data extern C:\MCC18\src\traditional\math\aarg.asm __AEXP 0x00000a data extern C:\MCC18\src\traditional\math\aarg.asm __BARGB3 0x00000b data extern C:\MCC18\src\traditional\math\barg.asm __BARGB2 0x00000c data extern C:\MCC18\src\traditional\math\barg.asm __BARGB1 0x00000d data extern C:\MCC18\src\traditional\math\barg.asm __BARGB0 0x00000e data extern C:\MCC18\src\traditional\math\barg.asm __BEXP 0x00000f data extern C:\MCC18\src\traditional\math\barg.asm __TEMPB3 0x000010 data extern C:\MCC18\src\traditional\math\temparg.asm __TEMPB2 0x000011 data extern C:\MCC18\src\traditional\math\temparg.asm __TEMPB1 0x000012 data extern C:\MCC18\src\traditional\math\temparg.asm __TEMP 0x000013 data extern C:\MCC18\src\traditional\math\temparg.asm __TEMPB0 0x000013 data extern C:\MCC18\src\traditional\math\temparg.asm __tmp_0 0x000014 data static C:\MCC18\src\pmc_common\Timers\t1read.c __tmp_0 0x000014 data static C:\MCC18\src\pmc_common\USART\uopen.c __tmp_0 0x000014 data static D:\data\BANKS ROAD\WELL SENSORS\C PROGRAM\3-9-09-B\WELL SENSOR-3-9-09-B.C __tmp_1 0x00001b data static D:\data\BANKS ROAD\WELL SENSORS\C PROGRAM\3-9-09-B\WELL SENSOR-3-9-09-B.C a_temperature 0x0000c0 data extern D:\data\BANKS ROAD\WELL SENSORS\C PROGRAM\3-9-09-B\WELL SENSOR-3-9-09-B.C c 0x0000c4 data extern D:\data\BANKS ROAD\WELL SENSORS\C PROGRAM\3-9-09-B\WELL SENSOR-3-9-09-B.C ReadArray 0x0000c5 data extern D:\data\BANKS ROAD\WELL SENSORS\C PROGRAM\3-9-09-B\WELL SENSOR-3-9-09-B.C pReadArray 0x0000dd data extern D:\data\BANKS ROAD\WELL SENSORS\C PROGRAM\3-9-09-B\WELL SENSOR-3-9-09-B.C read_index 0x0000df data extern D:\data\BANKS ROAD\WELL SENSORS\C PROGRAM\3-9-09-B\WELL SENSOR-3-9-09-B.C w 0x0000e0 data extern D:\data\BANKS ROAD\WELL SENSORS\C PROGRAM\3-9-09-B\WELL SENSOR-3-9-09-B.C start_character 0x0000e2 data extern D:\data\BANKS ROAD\WELL SENSORS\C PROGRAM\3-9-09-B\WELL SENSOR-3-9-09-B.C adc_data 0x0000e3 data extern D:\data\BANKS ROAD\WELL SENSORS\C PROGRAM\3-9-09-B\WELL SENSOR-3-9-09-B.C padc_data 0x0000e9 data extern D:\data\BANKS ROAD\WELL SENSORS\C PROGRAM\3-9-09-B\WELL SENSOR-3-9-09-B.C w_temp 0x0000eb data extern D:\data\BANKS ROAD\WELL SENSORS\C PROGRAM\3-9-09-B\WELL SENSOR-3-9-09-B.C status_temp 0x0000ec data extern D:\data\BANKS ROAD\WELL SENSORS\C PROGRAM\3-9-09-B\WELL SENSOR-3-9-09-B.C bsr_temp 0x0000ed data extern D:\data\BANKS ROAD\WELL SENSORS\C PROGRAM\3-9-09-B\WELL SENSOR-3-9-09-B.C fcs_low 0x0000ee data extern D:\data\BANKS ROAD\WELL SENSORS\C PROGRAM\3-9-09-B\WELL SENSOR-3-9-09-B.C fcs_high 0x0000ef data extern D:\data\BANKS ROAD\WELL SENSORS\C PROGRAM\3-9-09-B\WELL SENSOR-3-9-09-B.C prom 0x0000f0 data static C:\MCC18\src\traditional\startup\c018i.c curr_byte 0x0000f3 data static C:\MCC18\src\traditional\startup\c018i.c curr_entry 0x0000f5 data static C:\MCC18\src\traditional\startup\c018i.c data_ptr 0x0000f7 data static C:\MCC18\src\traditional\startup\c018i.c check_char 0x0000fa data extern D:\data\BANKS ROAD\WELL SENSORS\C PROGRAM\3-9-09-B\WELL SENSOR-3-9-09-B.C watchdog_flag 0x0000fb data extern D:\data\BANKS ROAD\WELL SENSORS\C PROGRAM\3-9-09-B\WELL SENSOR-3-9-09-B.C punit_id 0x0000fc data extern D:\data\BANKS ROAD\WELL SENSORS\C PROGRAM\3-9-09-B\WELL SENSOR-3-9-09-B.C PORTAbits 0x000f80 data extern C:\MCC18\src\traditional\proc\p18F1320.asm ================================================= Tamas Rudnai wrote: > You may can try to use the access ram area however... > > Tamas > > > On Wed, May 27, 2009 at 5:16 PM, Carl Denk wrote: > > >> Thanks guys, I have confirmed that the 1320 just doesn't have enough >> data memory. I was able to place the one array where I wanted with a >> size of 2 and make successfully, but after studying the MAP file, I have >> come to the conclusion that data memory from 0x00 to 0xFF is being fully >> utilized. That Memory Usage gauge sure is misleading. There are a few >> other things in the mechanical area I can possibly do to help the >> situation. The pressure reducing valve after the offending sensor was >> changed out late winter. The new one may have a different sized orifice >> causing peaks in the pressure. >> >> :) >> -- >> http://www.piclist.com PIC/SX FAQ & list archive >> View/change your membership options at >> http://mailman.mit.edu/mailman/listinfo/piclist >> >> > > > > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist