How to handle the linking error L6971E

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to handle the linking error L6971E

3,713 次查看
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

标签 (3)
标记 (2)
0 项奖励
回复
1 回复

2,670 次查看
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 项奖励
回复