1. 程式人生 > >關於軟核下載報錯Programming the FPGA failed due to errors from elfcheck的解決方法

關於軟核下載報錯Programming the FPGA failed due to errors from elfcheck的解決方法

今天下載軟核一直在報錯,Programming the FPGA failed due to errors from elfcheck

怎麼也沒解決,檢視下載資訊發現,有如下提示:

The following sections did not fit into Processor BRAM memory:
Section .jcr (0x8143AC74 - 0x8143AC77)
Section .eh_frame (0x8143AC70 - 0x8143AC73)
Section .data (0x8143AB1C - 0x8143AC6F)
Section .rodata (0x8143A528 - 0x8143AB15)
Section .dtors (0x8143A520 - 0x8143A527)
Section .ctors (0x8143A518 - 0x8143A51F)
Section .fini (0x8143A4F8 - 0x8143A517)
Section .init (0x8143A4BC - 0x8143A4F7)
Section .text (0x81438000 - 0x8143A4BB)


Try using the linker script generation tools to generate an ELF that maps
correctly to your hardware design.

順利成章的在link檔案中找到了設定選項:


修改完之後,問題就解決了。