Page 1 of 1

SB-11: Salvo: Out of Common RAM when Linking to PIC18 Library

PostPosted: Sat Oct 20, 2001 9:01 am
by Salvo Tech Support
Applies To

Salvo v2.2.0.

Description of Problem

Users of the standard and freeware PIC18 libraries may encounter a problem when linking large programs. Specifically, the linker has run out of space in the Common RAM (also called Access RAM) area:

Error[000] : Can't find 0x1D words for psect intsave_regs in segment COMRAM

The v2.2.0 PIC18 libraries were generated with OSLOC_ALL set to near, i.e. all of Salvo's variables are placed in Common RAM. In a large application with multiple interrupt sources and complex callgraphs, there may not be enough room in the Common RAM for Salvo's variables.

Suggested Workaround

Upgrade to Salvo v2.2.1.

Fixed In

Salvo 2.2.1.

[This message has been edited by Salvo Tech Support (edited January 13, 2002).]