How to handle the linking error L6971E

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to handle the linking error L6971E

2,187 Views
elviswang
Contributor I


Hi,

 

I am using the LPC 1788, and after adding an usb host lite project to an existing project, I have met the linking error with all files compiling right.

 

".\Flash\LPC1788_OMR.axf: Error: L6971E: s_single_read.o(.data) type RW incompatible with main_program.o(.ARM.__AT_0x10003650) type ZI in er RW_IRAM1. "

 

The following figure is the R/W Memory set. And also I has attached the .map file.

 

And I am seeking help for what is the reason of this error and how to handle this kind of error?

 

Many thanks.

 

155389_155389.pngpastedImage_0.png

Original Attachment has been moved to: LPC1788_OMR.map.zip

Labels (3)
Tags (2)
0 Kudos
1 Reply

1,144 Views
rolfmeeser
NXP Employee
NXP Employee

It is probably better to ask this on the Keil/ARM website.

From my limited knowledge of the issue it appears your extensive use of absolute variable placements somehow creates this conflict of section attributes (RW vs. ZI), but I may be wrong...

0 Kudos