SW500009 Microchip Technology, SW500009 Datasheet - Page 358

HI-TECH FOR DSPIC/PIC24

SW500009

Manufacturer Part Number
SW500009
Description
HI-TECH FOR DSPIC/PIC24
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC24 & DsPICr
Datasheet

Specifications of SW500009

Supported Families
PIC24
Core Architecture
PIC, DsPIC
Software Edition
Standard
Kit Contents
Software And Docs
Tool Type
Compiler
Mcu Supported Families
PIC24 MCUs And DsPIC DSCs
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
DSPIC3X/PIC24
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
025
778-1003
778-1003
the program. If a code psect must be split into two or more small psects, this requires 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.11.1
a compiled stack. (If the string Call graph: 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 accommodate the psect text which
is 0x34 bytes long. Notice, however, that the total amount of memory available is larger than 0x34
bytes.
(492) attempt to position absolute psect "*" is illegal
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) origin of psect "*" 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.
344
Psects containing code can be reduced by using all the compiler’s optimizations, or restructuring
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
UNUSED ADDRESS RANGES
has information on interpreting the map file’s call graph if the compiler you are using uses
(error)
CODE
RAM
00000244-0000025F
00001000-0000102f
00300014-00301FFB
Error and Warning Messages
(Linker)
(Linker)

Related parts for SW500009