SW500008 Microchip Technology, SW500008 Datasheet - Page 374

PICC-18 STD

SW500008

Manufacturer Part Number
SW500008
Description
PICC-18 STD
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC18r
Datasheets

Specifications of SW500008

Supported Families
PIC18
Core Architecture
PIC
Software Edition
Standard
Kit Contents
Software And Docs
Mcu Supported Families
PIC18
Tool Function
Compiler
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
PIC18 Series
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
015
778-1001
778-1001
the program. If a code psect must be split into two or more small psects, this requies splitting a
function into two or more smaller functions (which may call each other). These functions may need
to be placed in new modules.
is less dramatic. The program may need to be rewritten so that it needs less variables. Section
5.10.2.2
a compiled stack. (If the string Call grpah: is not present in the map file, then the compiled
code uses a hardware stack.) If a data psect needs to be split into smaller psects, the definitions
for variables will need to be moved to new modules or more evenly spread in the existing modules.
Memory allocation for auto variables is entirely handled by the compiler. Other than reducing the
number of these variables used, the programmer has little control over their operation. This applies
whether the compiled code uses a hardware or compiled stack.
look in the map file for the ranges of unused memory.
In the CODE segment, there is 0x1c (0x25f-0x244+1) bytes of space available in one block and 0x30
available in another block. Neither of these are large enough to accomodate the psect text which
is 0x34 bytes long. Notice, however, that the total amout of memory available is larger than 0x34
bytes.
(492) psect is absolute: *
This psect is absolute and should not have an address specified in a -P option. Either remove the
abs psect flag, or remove the -P linker option.
(493) psect origin multiply defined: *
The origin of this psect is defined more than once. There is most likely more than one -p linker
option specifying this psect.
360
Psects containing code can be reduced by using all the compiler’s optimizations, or restructring
Psects containing data may be reduced when invoking the compiler optimizations, but the effect
For example, after receiving the message:
Can’t find 0x34 words (0x34 withtotal) for psect text in segment CODE (error)
UNUSED ADDRESS RANGES
has information on interpreting the map file’s call graph if the compiler you are using uses
CODE
RAM
00000244-0000025F
00001000-0000102f
00300014-00301FFB
Error and Warning Messages
(Linker)
(Linker)

Related parts for SW500008