cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
moon5756
Explorer
Explorer
1,114 Views
Registered: ‎09-05-2015

updatemem's mem file

Jump to solution

source C:/Xilinx/Vivado/2018.3/scripts/updatemem/main.tcl -notrace
Command: update_mem -meminfo design_1_wrapper.mmi -data test.mem -proc design_1_i/microblaze_0 -bit design_1_wrapper.bit -out test.bit -force
0 Infos, 0 Warnings, 0 Critical Warnings and 4 Errors encountered.
update_mem failed
ERROR: [Common 17-69] Command failed: Could not read file: test.mem

INFO: [Common 17-206] Exiting updatemem at Fri Mar 29 18:46:18 2019...
ERROR: [Updatemem 57-141] Found invalid hex character in the data value: @C0000004.
ERROR: [Updatemem 57-158] Data segment starting at 0xC0000000, has exceeded data limits with a value of <@C0000004>. Check your .mem file.
ERROR: [Updatemem 57-136] Parsing error for file: test.mem. Failed to process the input data file.

 

Above is the command failure's log, and test.mem file looks like

@C0000000 DEADBEEF @C0000004 ABCDEFFF

 

When test.mem was

@C0000000 DEADBEEF ABCDEFFF

 

it properly generated a new .bit file. I want to write to a arbitrary address. What am I doing wrong?

 

bram settings.PNG

address editor.PNG

 

I add the screenshot of BRAM setting and address mapping just in case.

 

Thanks.

0 Kudos
1 Solution

Accepted Solutions
moon5756
Explorer
Explorer
1,077 Views
Registered: ‎09-05-2015

I newlined each address and it worked.

 

@C0000000 EF BE AD DE

@C0000004 FF EE CD AB

 

like above.

View solution in original post

0 Kudos
1 Reply
moon5756
Explorer
Explorer
1,078 Views
Registered: ‎09-05-2015

I newlined each address and it worked.

 

@C0000000 EF BE AD DE

@C0000004 FF EE CD AB

 

like above.

View solution in original post

0 Kudos