This is version 8.30.00.00 MPLAB, downloaded last weekend. Yes, I did have a major problem with the memory gauge on the earlier versions, it showed "-" total data and no green arcs, etc. I have tried various mods to the linker, pragmas, with little success, following examples, non of which were exactly what my situation was. If I'm reading the map file correctly, it's pretty much continuous for the full 256 bytes of data memory of the 1320. To me that says, I have no memory left to use. :( Thanks everyone for the help, keep the stuff coming. :) Alan B. Pearce wrote: >> I have an 18F1320 with a C18 program and MPLAB (latest version). >> > ... > >> I thought the gauge info was generated at link time, and should >> include all the memory used. >> Is this a MPLAB error? >> > > It could be, if you cannot match the map file info with the gauge. You say > you are running the latest version, but don't say what the actual version > is. The version after 8.15a (ver 8.20 IIRC) did have a problem with the > gauge, but it was a major problem, not a sneaky one like you list. I believe > it was fixed in 8.30. > > Otherwise, as others have said, you need to check how you allocate things > for the linker. > > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist