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!

AR# 32787

11 EDK - "ERROR:EDK:2347 - Section .text located at address 0x11C00000 does not map to any memory found in the hardware design"

Description

While I am working on my project in SDK, I attempt to download my bitstream through SDK's Tools > Program FPGA command, which then results in the following error:

"Xilinx EDK 11.1 Build EDK_L.29.1 Copyright (c) 1995-2009 Xilinx, Inc. All rights reserved.
Command Line: elfcheck -hw
C:/projects/KXI-CR_Integration/Xilinx_11_1/889-KXI-CR_ctrl/889-KXI-CR_ctrl/SDK/SDK_Export/hw/system.xml -mem BRAM -pe microblaze_slave
C:/projects/KXI-CR_Integration/Xilinx_11_1/889-KXI-CR_ctrl/889-KXI-CR_ctrl/SDK/SDK_Workspace/fw_slave/Debug/fw_slave.elf

ELF file :
C:/projects/KXI-CR_Integration/Xilinx_11_1/889-KXI-CR_ctrl/889-KXI-CR_ctrl/SDK/SDK_Workspace/fw_slave/Debug/fw_slave.elf
ERROR:EDK:2347 - Section .text located at address 0x11C00000 does not map to any memory found in the hardware design.
ERROR:EDK:2347 - Section .eh_frame located at address 0x11200000 does not map to any memory found in the hardware design.
ERROR:EDK:3165 - elfcheck failed!
INFO:EDK:2540 - Try using the linker script generation tools to generate an ELF that maps well to your hardware design.
Failed to program the FPGA: elfcheck returned"

Solution

Any section of an ELF that has a size bigger than zero, and is in the load section of the ELF's Program Header, must be able to be downloaded into a valid memory space.

To work around this problem, use XPS's or iMPACT's download feature (instead of SDK's FPGA download feature).

Initialize the bitstream with bootloop instead of your software application, and then run or debug your software application.

Certain ELF sections that are of size zero still produce the error above. This problem has been fixed in EDK 11.3, available at:

http://www.xilinx.com/support/download/index.htm

AR# 32787
Date Created 05/27/2009
Last Updated 01/11/2010
Status Active
Type General Article