04-26-2018 03:15 AM
I am trying to program my AC701 design with microblaze, with data in DDR.
When I generate a linker scrript to place data in DDR, I fail to program the device.
cmd /C updatemem -force -meminfo \ C:/Users/Owner/Documents/project_16/project_16.sdk/design_1_wrapper_hw_platform_0/design_1_wrapper.mmi \ -bit \ C:/Users/Owner/Documents/project_16/project_16.sdk/design_1_wrapper_hw_platform_0/design_1_wrapper.bit \ -data C:\Users\Owner\Documents\project_16\project_16.sdk\IO_test\Debug\IO_test.elf -proc \ design_1_i/microblaze_0 -out \ C:/Users/Owner/Documents/project_16/project_16.sdk/design_1_wrapper_hw_platform_0/download.bit ****** updatemem v2018.1 (64-bit) **** SW Build 2188600 on Wed Apr 4 18:40:38 MDT 2018
** Copyright 1986-2018 Xilinx, Inc. All Rights Reserved. source C:/Xilinx/SDK/2018.1/scripts/updatemem/main.tcl -notrace CRITICAL WARNING: [memdata-28-246] ERROR: [Updatemem 57-153] Fa ERROR: [Common 17-39] 'update_mem' failed due to earlier errors. iled to update the BRAM INIT strings for C:\Users\Owner\Documents\project_16\project_16.sdk\IO_test\Debug\IO_test.elf and C:/Users/Owner/Documents/project_16/project_16.sdk/design_1_wrapper_hw_platform_0/design_1_wrapper.mmi. INFO: [Common 17-206] Exiting updatemem at Thu Apr 26 13:05:40 2018...
05-01-2018 02:40 AM
Is there any specific reason for using local BRAM?
If not please try modifying the sections to DDR.
05-01-2018 04:16 AM
Looks like you are trying to run updatemem using an ELF with its sections located in DDR.
This is the issue. The updatemem is used to update BRAM in the programmable logic, not in DDR.
If you want to place you application in DDR, then you can use the SDK debugger to debug your application.
05-02-2018 04:47 AM
I was trying to make the microblaze allocate the memory for variables in DDR, not place any components of the program in the DDR. Is there a way to do this?
05-03-2018 01:20 AM
So why is the linker script generator giving me the option of placing these sections of the program in the DDR?
Also, how do I direct malloc to use DDR instead of BRAM?