>
> Hi!
>
> We are working with MPLAB-C17 v2.20, MPLINK v1.10.05, Linker, and the
> latest version of MPLAB IDE (3.99.06). Also we are using Rice 2.30.01 with
> the RICE17A emulator. Our target processor is the PIC17C752.
>
> My general question is if anyone has a really good linker file tutorial
> which is a tad more explicit than the one provided by Microchip... ie:
> explains exactly how pragma statements and linker files interact.
>
> Also, if anyone has any good examples of pragma usage with certain memory
> modules I would greatly appreciate it.
>
> We thought we had this linker file nightmare licked with section
> declaration and related pragma directives... but sometimes we still get
> errors such as:
> >Error - could not resolve symbol 'IdentecPIV' in file '.\PORT.O'.
> >Errors : 1
> >Warnings : 0
> >
> ...When port.c (contains main() ) calls the function IdentecPIV() and both
> IdentecPIV() and main() have the same pragma statement: "#pragma code
> eprom" where "eprom" is a section defined in the linker file!!!
>
> CODEPAGE NAME=page START=0x28 END=0x1FFF
> SECTION NAME=eprom ROM=page
>
> If you have any suggestions or similar problems which you have found a
> solution for then please email me back.
>
> Thanks for your time.
> Chris Eh?
>
> Chris Adamson, Programmer
> Identec Solutions
>
.....cadamsonKILLspam
@spam@identec.com
> phone: 1-250-860-6567