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# 35652

EDK - Debugging tips when an application will not run after configuring the device


I built an EDK project and marked an application to initialize the BRAMs.

After configuring the FPGA with the download.bit file, the application will not run.

How can I debug this issue?


Here are a few tips regarding debugging the BRAM initializing issue:

1. Check the Linker Script of the application and make sure that all of the sections are assigned to BRAMs.

2. Make sure that the size of BRAMs is large enough to store the application code.

3. Double check that the application can run successfully on the hardware system by connecting to the processor with XMD, and then downloading and running the application within XMD.

4. Dump the content of the BIT file with data2mem. Refer to AR#24714 for the command syntax. Open the BMM file and find the name of the BRAMs, then search for the BRAMs from the dump bit file and make sure that the BRAMs are initialized with values.

5. Dump the content of the ELF file with mb-objdump or powerpc-eabi-objdump command.

6. Read the BRAM content using XMD 'mrd" command. Compare the readback value from the BRAM with the content of the dump ELF file from step 5 and make sure that they are matched.

If none of the above solves the issue, please contact Xilinx Technical Support.
AR# 35652
Date Created 05/12/2010
Last Updated 12/15/2012
Status Active
Type General Article