Searching \ for 'Pragma Statements, Linker Files, and Memory Module' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/mems.htm?key=memory
Search entire site for: 'Pragma Statements, Linker Files, and Memory Module'.

Truncated match.
PICList Thread
'Pragma Statements, Linker Files, and Memory Module'
1998\07\28@190751 by Chris Adamson

flavicon
face
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
spam_OUTcadamsonTakeThisOuTspamidentec.com
phone: 1-250-860-6567

1998\07\28@201833 by Smargiassi

flavicon
face
So I not the only one.  I have been working on the link file for a few
weeks.  Will right later when I am better informed.

Paul Smargiassi

Chris Adamson wrote:
{Quote hidden}

1998\07\28@203547 by Peter Schultz

flavicon
face
Hi,
I just arived back from the MASTER'S 98 seminar. I took a C17 class just to
see how it is. I find it pretty difficult to use .
Sometimes even the Microchip guys have trouble to find out what is going on.
We have lot of trouble to compiling and linking. Most of the time caused by
not using the correct library model (small,.....) or in the project setup
files was missing.
I hope this help,
Good luck,
Peter

1998\07\29@004953 by Eric Smith

flavicon
face
Peter Schultz <schupetspamKILLspamDVP.COM> wrote:
> I just arived back from the MASTER'S 98 seminar. I took a C17 class just to

When and where was this Master's 98 seminar announced?  The first I heard of
it was when Andy Warren asked if he could use a snippet of my code, and I
was not able to find any info about it on the Microchip web site :-(

1998\07\29@130204 by Peter Schultz

flavicon
face
I think it was not advertised. Thru reps they try to collect working
professionals, from whom they will benefit later ( some big order or
commitment beside Microchip ). Just for support this theory, in the RF
class, the leader of the presentation said, this can be done only with PIC
because the rest of the 8 bit micros are too slow. When I said how about
Atmel AVR, they try to make a fun of me, saying hey You are in the wrong
seminar. By the way they really impressed me the way they are doing bussines
and how they did this seminar. Also they give out lot of important info.

{Original Message removed}

1998\07\29@151135 by James Grosbach

picon face
The pragmas and linker script entries listed below should work just fine. They
will locate the section named 'eprom' into page 0 of the target.

The linker error described means that the linker isn't able to find the
IdentecPIV() symbol in any of the modules passed to it. As a first step, check
to make sure that the file which contains IdentecPIV() is a member of the
project being built. Keep in mind that the compiler and linker are case
sensitive, so the symbols IdentecPIV() and identecPIV(), for example, are
distinct.

   Jim Grosbach
   Microchip Technology

____________________Reply Separator____________________
Subject:    Pragma Statements, Linker Files, and Memory Modules Oh my!
Author: .....PICLISTKILLspamspam.....MITVMA.MIT.EDU (Chris Adamson)
Date:       7/28/98 4:07 PM

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
EraseMEcadamsonspam_OUTspamTakeThisOuTidentec.com
phone: 1-250-860-6567
------------------------- Original message header:
>MAIL FROM:<owner-piclistspamspam_OUTMITVMA.MIT.EDU>
>RCPT TO:<@spam@james.grosbachKILLspamspamccmail.Microchip.COM>
>DATA
>Received: from prometheus.Microchip.COM (KILLspamfirewall-userKILLspamspamprometheus-gate.Microchi
p.COM [198.175.253.129]) by titan.Microchip.COM (8.6.12/8.6.12) with SMTP id QAA
06862 for <RemoveMEJames.GrosbachTakeThisOuTspamMicrochip.COM>; Tue, 28 Jul 1998 16:07:21 -0700
>Received: by prometheus.Microchip.COM; id AA01885; Tue, 28 Jul 98 16:36:08 MST
>Received: from vms.dc.lsoft.com(206.241.13.27) by prometheus.Microchip.COM via
smap (3.2) id xma001633; Tue, 28 Jul 98 16:35:36 -0700
>Received: from PEAR.EASE.LSOFT.COM (206.241.12.19) by VMS.DC.LSOFT.COM (LSMTP f
or OpenVMS v1.1b) with SMTP id <spamBeGone12.FF91A945spamBeGonespamVMS.DC.LSOFT.COM>; Tue, 28 Jul 1998
19:06:34 -0500
>Received: from MITVMA.MIT.EDU by MITVMA.MIT.EDU (LISTSERV release 1.8c) with NJ
E id 2610 for TakeThisOuTPICLISTEraseMEspamspam_OUTMITVMA.MIT.EDU; Tue, 28 Jul 1998 19:07:51 -0400
>Received: from MITVMA (NJE origin SMTP@MITVMA) by MITVMA.MIT.EDU (LMail V1.2b/1
.8b) with BSMTP id 6352; Tue, 28 Jul 1998 19:06:01 -0400
>Received: from *unknown [207.194.80.200] by mitvma.mit.edu (IBM VM SMTP V2R4a)
via TCP with SMTP ; Tue, 28 Jul 1998 19:05:59 EDT
>X-Warning: mitvma.mit.edu: Could not confirm that host  [207.194.80.200] is zeu
s.cnx.net
>Received: from cadamson.cnx.net (unverified [209.53.89.97]) by zeus.cnx.net (Ro
ckliffe SMTPRA 2.1.5) with SMTP id <RemoveMEB0000264551spamTakeThisOuTzeus.cnx.net> for <PICLIST@MITVM
A.MIT.EDU>; Tue, 28 Jul 1998 16:05:23 -0700
{Quote hidden}

------------------------- End of message header.

More... (looser matching)
- Last day of these posts
- In 1998 , 1999 only
- Today
- New search...