09-29-2009 12:30 PM
I have downloaded the new ISE and EDK 11 and updated them to 11.3.
I have noticed some changes in the way software projects are managed in SDK.
My problem is the following: I have built my hardware platform succesfully (its a very simple one with just a couple of peripherals). The I export my hardware design to SDK.
Once in SDK I create a software platform and after that a managed make c application project. I add my code and create the linker script. I get this error message one time after the other
************** Validating ELF File **************
Validating ELF Section Addresses with Hardware Address Map...
elfcheck -noheader -hw /home/jcgcecilia/Xilinx/projects/EDK/multiplier_te
ERROR:EDK:3165 - elfcheck failed!
The following sections did not fit into Processor memory:
Section .vectors.hw_exception (0x20 - 0x27)
Section .vectors.interrupt (0x10 - 0x17)
Section .vectors.sw_exception (0x8 - 0xF)
Section .vectors.reset (0x0 - 0x7)
Try using the linker script generation tools to generate an ELF that maps
correctly to your hardware design.
make: *** [mult.elf] Error 2
The thing is I can build and download to the FPGA he same project if a create the project i Software Projects inside XPS.
I have tried several things without succes. I have googled it and nothing.
Thnaks in advanced
09-30-2009 12:07 AM
Which memory you are using for your soft code.
What is the size of that memory.
I think the size that you have specified for your memory is too small.
Try increasing the size of your memory.
Unlimited in my Limits.
10-19-2009 10:46 AM
I ran into the same error building my application. In my case it turned out the error was the base address of my instruction memory. I had erroneously set it to some non-zero address. Try the following:
- Go back into XPS and set the base address for the ilbm_bram_cntrlr to 0x00000000
- Rebuild the bitstream (Hardware->Generate Bitstream)
- Re-export to the SDK (Project->Export ... to SDK)
- Right click your application in the SDK and select "generate linker script"
- click "OK".
If your error was the same problem, this should recompile your application and successfully build.