AnsweredAssumed Answered

Trouble re-sizing SDRAM in LDF - "Out of Memory" linker error

Question asked by jkellar on Mar 23, 2012
Latest reply on Mar 27, 2012 by CraigG

I am working with the shell_browser example project provided in the BF518 EZ-KIT and have been modifying and expanding the project to fit my application. Now I have my custom target board and want to adjust the project settings to target a BF514 and 16MB of SDRAM. The original project was set to 64MB of SDRAM. So long as it remains set to 64MB the project builds fine. When I bring the SDRAM below 64MB (32 or 16) I get this error:

 

[Error li1040] ".\shell_browser.ldf":647 Out of memory in output section 'sdram0_bank3' in processor 'p0'

        Total of 0x400000 word(s) were not mapped.

For more details, see 'linker_log.xml' in the output directory.

 

I'm a newbie with the Blackfin and VisualDSP++ 5.0. I've looked all over the project code and cannot find anything that forces/fixes the SDRAM into a 64MB size. I'm missing something I just don't know what or where. I've looked into the LDF and see the linker wants to place most of the application code (i.e. threads) in the portion of SDRAM that its complaining about. Can someone help me clear this up?

Attachments

Outcomes