cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
songxin
Observer
Observer
2,295 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
songxin
Observer
Observer
2,287 Views
Registered: ‎11-02-2010

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