Searching \ for '[PIC] udata not recognised by linker for 16F874' 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/microchip/memory.htm?key=data
Search entire site for: 'udata not recognised by linker for 16F874'.

Exact match. Not showing close matches.
PICList Thread
'[PIC] udata not recognised by linker for 16F874'
2007\10\07@162332 by Wed

picon face

I am new to relocatable code. As I have moved a project that compiles for the
PIC16F84 to the PIC16F874A, this new error has popped up:

error: linker script has no definition that matches the type of section
".udata"
Error code: 256

I have read the datasheet, and searched for the word "udata" in the piclist
archive. There were matches, but I didn't identify my problem among them.

Best regards!
--
View this message in context: www.nabble.com/-PIC---udata-not-recognised-by-linker-for-16F874-tf4584556.html#a13086815
Sent from the PIC - [PIC] mailing list archive at Nabble.com.

2007\10\07@165140 by Jan-Erik Soderholm

face picon face
Try to change UDATA to UDATA_SHR in your RES directives.

The 874 has no "unshared memory". See datasheet and
the LKR file.

On the other side it has no 100% "unbanked memory" either,
so I guess you'll still need to use BANKSEL (or any other
method to keep your bank settings correkt).

Jan-Erik.

Wed wrote:
{Quote hidden}

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