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: 
Adventurer
Adventurer
585 Views
Registered: ‎10-24-2016

data2mem Error 33 Matching address space not found

Jump to solution

Hello, 

 

I am trying to create a design in Saturn V3 Development board with Spartan6 LX45. The design is composed of one Microblaze and several VDHL cores. Design is done though ISE Design Suite 14.7 

 

To load program in Saturn flash for configuration after reset, I am having troubles to merge .elf and .bin into the same bitstream with data2mem tool. 

 

I have configured linker script to point all sections to LPDDR memory, but when I try to merge files with data2mem tool, i get this error:

 

ERROR:Data2MEM:33 - Matching ADDRESS_SPACE for code segment #1 not found in 'edkBmmFile_bd.bmm'.
Code segment #1 occupies [0xA4000000:0xA402693B].

 

This is the first I try to load bitstream in Flash memory so up to this moment, I havent had to "fight" with linker script because the one created automatically by SDK was ok.

 

I was reading possible solutions to solve ERROR 33, for example, point all sections to BRAM instead of DDR, but if I do that, what i get is the following:

 

region `microblaze_0_i_bram_ctrl_microblaze_0_d_bram_ctrl' overflowed by 133756 bytes

 

So it seems there is not enough space in Block ram to save code during initial configuration. 

 

So my question is, what do I have to do to allow pointing linker scritps sections to DDR memory avoiding this error in data2mem tool? What do I have to change to allow save data in DDR during initial configuration from flash? It seems Changing linker script to point  sections to block ram is not possible because of the size. So I understand that I have to point all sections to DDR memory, and change something in .bmm file, but what??? Maybe I am wrong and the changes must be done in other file.

 

Sorry because it is the first time I do this, and it is being complicated to understand what is wrong. 

 

Attached you cand find my .bmm file and the .elf file. 

 

Any help is really appreciated.

 

Regards.

 

As extra information I attach sections size obtained in SDK log:

 

mb-size HAS2_SaturnVersion.elf |tee "HAS2_SaturnVersion.elf.size"
   text       data       bss          dec        hex          filename
158028   1736   803172   962936   eb178    HAS2_SaturnVersion.elf 

 

 

0 Kudos
1 Solution

Accepted Solutions
Moderator
Moderator
809 Views
Registered: ‎09-12-2007

Re: data2mem Error 33 Matching address space not found

Jump to solution

Data2mem is used to write the data in the ELF/MEM into BRAM in the FPGA, not the DDR.

For this would would need to create a bootloader:

 

https://www.xilinx.com/support/answers/63605.html

2 Replies
Moderator
Moderator
810 Views
Registered: ‎09-12-2007

Re: data2mem Error 33 Matching address space not found

Jump to solution

Data2mem is used to write the data in the ELF/MEM into BRAM in the FPGA, not the DDR.

For this would would need to create a bootloader:

 

https://www.xilinx.com/support/answers/63605.html

Highlighted
Adventurer
Adventurer
529 Views
Registered: ‎10-24-2016

Re: data2mem Error 33 Matching address space not found

Jump to solution

Many thanks for your  answer Stephen.

 

It is enough for me to continue investigating about the usage of a bootloader (new for me).

 

Regards.

0 Kudos