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
Contributor
Contributor
378 Views
Registered: ‎11-13-2018

CRITICAL WARNING: [memdata-28-246] leads to ERROR: [57-153] Failed to update the BRAM INIT strings

Hi,

I am attempting to program the Artix-7 on my NEXYS 4 evaluation board. I am using Xilinx SDK 2018.3. My block design includes a MicroBlaze and an external memory controller that I have ported to the on-board cellular RAM.

When I attempt to program the FPGA in SDK using the generated .elf (size is 980,204 bytes), I receive these messages:

CRITICAL WARNING: [memdata-28-246]
ERROR: [Updatemem 57-153] Failed to update the BRAM INIT strings for <source>/dbs.elf and <source>/Bit_Sync_Top.mmi.
ERROR: [Common 17-39] 'update_mem' failed due to earlier errors.

My first concern is the critical warning because I have been unable to find its meaning anywhere. 

I have looked at these forum posts which address the updatemem error that I received: here and here

The problem with both of the solutions they suggest is that my .elf will not fit in the MicroBlaze's BRAM as described by this CDT Build Console error:

c:/xilinx/sdk/2018.3/gnu/microblaze/nt/bin/../lib/gcc/microblaze-xilinx-elf/7.3.1/../../../../microblaze-xilinx-elf/bin/ld.exe: dbs.elf section `.text' will not fit in region `microblaze_0_local_memory_ilmb_bram_if_cntlr_Mem_microblaze_0_local_memory_dlmb_bram_if_cntlr_Mem'
c:/xilinx/sdk/2018.3/gnu/microblaze/nt/bin/../lib/gcc/microblaze-xilinx-elf/7.3.1/../../../../microblaze-xilinx-elf/bin/ld.exe: region `microblaze_0_local_memory_ilmb_bram_if_cntlr_Mem_microblaze_0_local_memory_dlmb_bram_if_cntlr_Mem' overflowed by 341048 bytes

 Are there suggestions regarding how to 1) understand what the critical warning means, 2) solve the updatemem error without changing the linker script options to MicroBlaze BRAM?

Any help would be greatly appreciated! Please let me know if my explanation or questions require elaboration.

Thank you,
Brad

0 Kudos
1 Reply
Moderator
Moderator
286 Views
Registered: ‎09-12-2007

Re: CRITICAL WARNING: [memdata-28-246] leads to ERROR: [57-153] Failed to update the BRAM INIT strings

How big is your BRAM? Can you post the MMI file?

0 Kudos