UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Observer songxin
Observer
2,127 Views
Registered: ‎11-02-2010

sdk linker unable to place code section in bram

I'm trying to run C code without external DDR memory.

 

First, I add BRAM and AXI BRAM Controller with ARM.

 

Then, I tried to generate linker script to place those section to corresponding memory area.

 

However, I found it unable to place code section in BRAM area in the scroll bar.

 

is it forbidden to place code section in BRAM area?

 

Afterwards, I mannually edit the lscript.ld to place code section in BRAM area.

 

and the C code seems running fine.

 

But I'm not sure whether the mannually edited lscript.ld really works or not .

 

Could anybody help me with that

 

Thanks in advance.

 

Songxin

 

0 Kudos
1 Reply
Observer songxin
Observer
2,119 Views
Registered: ‎11-02-2010

Re: sdk linker unable to place code section in bram

Finally I figured the problem out.
Manually edited linker script did take effect.
0 Kudos