微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 嵌入式设计讨论 > FPGA,CPLD和ASIC > 在SDK中出现的一个问题

在SDK中出现的一个问题

时间:10-02 整理:3721RD 点击:
**** Full rebuild of configuration Debug for project sdk_lab1 ****
make clean all
rm -rf lab5.o  lab5.d  sdk_lab1.elf
mb-gcc -c -mno-xl-soft-mul -mxl-pattern-compare -mcpu=v7.10.a -I../../microblaze_0_sw_platform/microblaze_0/include -xl-mode-executable -g -O0 -olab5.o ../lab5.c
../lab5.c: In function 'timer_int_handler':
../lab5.c:65: warning: incompatible implicit declaration of built-in function 'printf'

Building target: sdk_lab1.elf
mb-gcc -o sdk_lab1.elf lab5.o    -mno-xl-soft-mul -mxl-pattern-compare -mcpu=v7.10.a  -L../../microblaze_0_sw_platform/microblaze_0/lib -xl-mode-executable   
Finished building: sdk_lab1.elf
************** Validating ELF File **************
Validating ELF Section Addresses with Hardware Address Map...
elfcheck -noheader -mhs D:/xinlinx/basic_process/lab5/system.mhs -p xc3s500efg320-4 -xmpdir D:/xinlinx/basic_process/lab5 -lp D:/xinlinx/basic_process/lab3/ -pe microblaze_0 sdk_lab1.elf
WARNING:MDT - specified path 'D:\xinlinx\basic_process\lab3\' is not a
   directory!
ERROR:MDT - Section .text (0x50 - 0xFD63) does not fit completely into memory
   ilmb_cntlr (0x0 - 0x3FFF).
ERROR:MDT - Section .init located at address 0xFDB4 does not map to any memory
   found in the hardware design.
ERROR:MDT - Section .fini located at address 0xFDDC does not map to any memory
   found in the hardware design.
ERROR:MDT - Section .ctors located at address 0xFDFC does not map to any memory
   found in the hardware design.
ERROR:MDT - Section .dtors located at address 0xFE04 does not map to any memory
   found in the hardware design.
ERROR:MDT - Section .rodata located at address 0xFE0C does not map to any memory
   found in the hardware design.
ERROR:MDT - Section .data located at address 0x10788 does not map to any memory
   found in the hardware design.
ERROR:MDT - Section .eh_frame located at address 0x10D10 does not map to any
   memory found in the hardware design.
ERROR:MDT - Section .jcr located at address 0x10D14 does not map to any memory
   found in the hardware design.
ERROR:MDT - Section .bss located at address 0x10D18 does not map to any memory
   found in the hardware design.
ERROR:MDT - Section .stack located at address 0x10D98 does not map to any memory
   found in the hardware design.
ERROR:MDT - elfcheck failed!
INFO:MDT - Try using the linker script generation tools to generate an ELF that
   maps well to your hardware design.
make: *** [sdk_lab1.elf] Error 2
Build complete for project sdk_lab1
编译后存在ERROR:MDT - Section .stack located at address 0x10D98 does not map to any memory
   found in the hardware design.这个问题。
请问下出现这个问题是什么原因?该如何解决这个问题?
而且我的elf文件是在lab5下面,为什么这里会出现lab3下面?是不是哪里可以设置的。谢谢!

内存不够了

仔细看下报错,应该是RAM开小了。

ise里面不是有个清理内存的工具,你试试

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top