0
  • 聊天消息
  • 系统消息
  • 评论与回复
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
创作中心

完善资料让更多小伙伴认识你,还能领取20积分哦,立即完善>

3天内不再提示

Xilinx Vitis 2020.1运行C程序时提示找不到microblaze_0

C29F_xilinx_inc 来源:赛灵思 作者:赛灵思 2022-02-16 16:21 次阅读

Executables selected for download on to the following processors doesn't exist or incorrectly specified. Do you wish to ignore them and proceed?

1. microblaze_0

poYBAGIMpvmAI9wuAAAgOXcUQ2g229.png

其实根本就不是MicroBlaze找不到,而是程序根本就没有编译出来!

仔细看一下编译时的输出信息

10:12:15 **** Build of configuration Debug for project lwiptest ****
make all
'Building file: ../src/echo.c'
'Invoking: MicroBlaze gcc compiler'
mb-gcc -Wall -O0 -g3 -c -fmessage-length=0 -MT"src/echo.o" -IE:/fpga_projects/test4/ethernet_test3/ethernet_test3/export/ethernet_test3/sw/ethernet_test3/standalone_domain/bspinclude/include -mlittle-endian -mcpu=v11.0 -mxl-soft-mul -Wl,--no-relax -ffunction-sections -fdata-sections -MMD -MP -MF"src/echo.d" -MT"src/echo.o" -o "src/echo.o" "../src/echo.c"
'Finished building: ../src/echo.c'
' '
'Building file: ../src/i2c_access.c'
'Invoking: MicroBlaze gcc compiler'
mb-gcc -Wall -O0 -g3 -c -fmessage-length=0 -MT"src/i2c_access.o" -IE:/fpga_projects/test4/ethernet_test3/ethernet_test3/export/ethernet_test3/sw/ethernet_test3/standalone_domain/bspinclude/include -mlittle-endian -mcpu=v11.0 -mxl-soft-mul -Wl,--no-relax -ffunction-sections -fdata-sections -MMD -MP -MF"src/i2c_access.d" -MT"src/i2c_access.o" -o "src/i2c_access.o" "../src/i2c_access.c"
'Finished building: ../src/i2c_access.c'
' '
'Building file: ../src/iic_phyreset.c'
'Invoking: MicroBlaze gcc compiler'
mb-gcc -Wall -O0 -g3 -c -fmessage-length=0 -MT"src/iic_phyreset.o" -IE:/fpga_projects/test4/ethernet_test3/ethernet_test3/export/ethernet_test3/sw/ethernet_test3/standalone_domain/bspinclude/include -mlittle-endian -mcpu=v11.0 -mxl-soft-mul -Wl,--no-relax -ffunction-sections -fdata-sections -MMD -MP -MF"src/iic_phyreset.d" -MT"src/iic_phyreset.o" -o "src/iic_phyreset.o" "../src/iic_phyreset.c"
'Finished building: ../src/iic_phyreset.c'
' '
'Building file: ../src/main.c'
'Invoking: MicroBlaze gcc compiler'
mb-gcc -Wall -O0 -g3 -c -fmessage-length=0 -MT"src/main.o" -IE:/fpga_projects/test4/ethernet_test3/ethernet_test3/export/ethernet_test3/sw/ethernet_test3/standalone_domain/bspinclude/include -mlittle-endian -mcpu=v11.0 -mxl-soft-mul -Wl,--no-relax -ffunction-sections -fdata-sections -MMD -MP -MF"src/main.d" -MT"src/main.o" -o "src/main.o" "../src/main.c"
'Finished building: ../src/main.c'
' '
'Building file: ../src/platform.c'
'Invoking: MicroBlaze gcc compiler'
mb-gcc -Wall -O0 -g3 -c -fmessage-length=0 -MT"src/platform.o" -IE:/fpga_projects/test4/ethernet_test3/ethernet_test3/export/ethernet_test3/sw/ethernet_test3/standalone_domain/bspinclude/include -mlittle-endian -mcpu=v11.0 -mxl-soft-mul -Wl,--no-relax -ffunction-sections -fdata-sections -MMD -MP -MF"src/platform.d" -MT"src/platform.o" -o "src/platform.o" "../src/platform.c"
'Finished building: ../src/platform.c'
' '
'Building file: ../src/platform_mb.c'
'Invoking: MicroBlaze gcc compiler'
mb-gcc -Wall -O0 -g3 -c -fmessage-length=0 -MT"src/platform_mb.o" -IE:/fpga_projects/test4/ethernet_test3/ethernet_test3/export/ethernet_test3/sw/ethernet_test3/standalone_domain/bspinclude/include -mlittle-endian -mcpu=v11.0 -mxl-soft-mul -Wl,--no-relax -ffunction-sections -fdata-sections -MMD -MP -MF"src/platform_mb.d" -MT"src/platform_mb.o" -o "src/platform_mb.o" "../src/platform_mb.c"
'Finished building: ../src/platform_mb.c'
' '
'Building file: ../src/platform_ppc.c'
'Invoking: MicroBlaze gcc compiler'
mb-gcc -Wall -O0 -g3 -c -fmessage-length=0 -MT"src/platform_ppc.o" -IE:/fpga_projects/test4/ethernet_test3/ethernet_test3/export/ethernet_test3/sw/ethernet_test3/standalone_domain/bspinclude/include -mlittle-endian -mcpu=v11.0 -mxl-soft-mul -Wl,--no-relax -ffunction-sections -fdata-sections -MMD -MP -MF"src/platform_ppc.d" -MT"src/platform_ppc.o" -o "src/platform_ppc.o" "../src/platform_ppc.c"
'Finished building: ../src/platform_ppc.c'
' '
'Building file: ../src/platform_zynq.c'
'Invoking: MicroBlaze gcc compiler'
mb-gcc -Wall -O0 -g3 -c -fmessage-length=0 -MT"src/platform_zynq.o" -IE:/fpga_projects/test4/ethernet_test3/ethernet_test3/export/ethernet_test3/sw/ethernet_test3/standalone_domain/bspinclude/include -mlittle-endian -mcpu=v11.0 -mxl-soft-mul -Wl,--no-relax -ffunction-sections -fdata-sections -MMD -MP -MF"src/platform_zynq.d" -MT"src/platform_zynq.o" -o "src/platform_zynq.o" "../src/platform_zynq.c"
'Finished building: ../src/platform_zynq.c'
' '
'Building file: ../src/platform_zynqmp.c'
'Invoking: MicroBlaze gcc compiler'
mb-gcc -Wall -O0 -g3 -c -fmessage-length=0 -MT"src/platform_zynqmp.o" -IE:/fpga_projects/test4/ethernet_test3/ethernet_test3/export/ethernet_test3/sw/ethernet_test3/standalone_domain/bspinclude/include -mlittle-endian -mcpu=v11.0 -mxl-soft-mul -Wl,--no-relax -ffunction-sections -fdata-sections -MMD -MP -MF"src/platform_zynqmp.d" -MT"src/platform_zynqmp.o" -o "src/platform_zynqmp.o" "../src/platform_zynqmp.c"
'Finished building: ../src/platform_zynqmp.c'
' '
'Building file: ../src/sfp.c'
'Invoking: MicroBlaze gcc compiler'
mb-gcc -Wall -O0 -g3 -c -fmessage-length=0 -MT"src/sfp.o" -IE:/fpga_projects/test4/ethernet_test3/ethernet_test3/export/ethernet_test3/sw/ethernet_test3/standalone_domain/bspinclude/include -mlittle-endian -mcpu=v11.0 -mxl-soft-mul -Wl,--no-relax -ffunction-sections -fdata-sections -MMD -MP -MF"src/sfp.d" -MT"src/sfp.o" -o "src/sfp.o" "../src/sfp.c"
'Finished building: ../src/sfp.c'
' '
'Building file: ../src/si5324.c'
'Invoking: MicroBlaze gcc compiler'
mb-gcc -Wall -O0 -g3 -c -fmessage-length=0 -MT"src/si5324.o" -IE:/fpga_projects/test4/ethernet_test3/ethernet_test3/export/ethernet_test3/sw/ethernet_test3/standalone_domain/bspinclude/include -mlittle-endian -mcpu=v11.0 -mxl-soft-mul -Wl,--no-relax -ffunction-sections -fdata-sections -MMD -MP -MF"src/si5324.d" -MT"src/si5324.o" -o "src/si5324.o" "../src/si5324.c"
'Finished building: ../src/si5324.c'
' '
'Building target: lwiptest.elf'
'Invoking: MicroBlaze gcc linker'
mb-gcc -Wl,-T -Wl,../src/lscript.ld -LE:/fpga_projects/test4/ethernet_test3/ethernet_test3/export/ethernet_test3/sw/ethernet_test3/standalone_domain/bsplib/lib -mlittle-endian -mcpu=v11.0 -mxl-soft-mul -Wl,--no-relax -Wl,--gc-sections -o "lwiptest.elf" ./src/echo.o ./src/i2c_access.o ./src/iic_phyreset.o ./src/main.o ./src/platform.o ./src/platform_mb.o ./src/platform_ppc.o ./src/platform_zynq.o ./src/platform_zynqmp.o ./src/sfp.o ./src/si5324.o -Wl,--start-group,-lxil,-lgcc,-lc,--end-group -Wl,--start-group,-lxil,-llwip4,-lgcc,-lc,--end-group
c:/xilinx/vitis/2020.1/gnu/microblaze/nt/x86_64-oesdk-mingw32/usr/bin/microblaze-xilinx-elf/../../libexec/microblaze-xilinx-elf/gcc/microblaze-xilinx-elf/9.2.0/real-ld.exe: lwiptest.elf section `.bss' will not fit in region `microblaze_0_local_memory_ilmb_bram_if_cntlr_Mem_microblaze_0_local_memory_dlmb_bram_if_cntlr_Mem'
c:/xilinx/vitis/2020.1/gnu/microblaze/nt/x86_64-oesdk-mingw32/usr/bin/microblaze-xilinx-elf/../../libexec/microblaze-xilinx-elf/gcc/microblaze-xilinx-elf/9.2.0/real-ld.exe: region `microblaze_0_local_memory_ilmb_bram_if_cntlr_Mem_microblaze_0_local_memory_dlmb_bram_if_cntlr_Mem' overflowed by 733496 bytes
collect2.exe: error: ld returned 1 exit status
'Finished building target: lwiptest.elf'
' '
'Invoking: MicroBlaze Print Size'
mb-size lwiptest.elf |tee "lwiptest.elf.size"
mb-size: 'lwiptest.elf': No such file
'Finished building: lwiptest.elf.size'
' '
10:12:17 Build Finished (took 2s.285ms)

里面有一个error,说是BRAM空间不够了,编译失败。连elf文件(程序文件)都没有生成,当然就无法运行!

把BRAM的空间改大后,编译成功了,程序就运行成功了。

程序运行成功后,如果串口没有输出,检查一下Block Design里面Uartlite波特率设置的对不对。

审核编辑:符乾江

声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉
  • Xilinx
    +关注

    关注

    70

    文章

    2121

    浏览量

    119373
  • C程序
    +关注

    关注

    4

    文章

    253

    浏览量

    35750
收藏 人收藏

    评论

    相关推荐

    STVD编译工程后提示系统找不到指定的文件怎么解决?

    STVD编译工程后,提示错误,如下:系统找不到指定的文件。 Error creating process for executable size 系统找不到指定的文件。 minisystem.elf
    发表于 04-01 06:50

    multisim找不到元件怎么办

    Multisim 是一款常用的电路仿真软件,它可以帮助工程师和学生对电路进行设计、仿真和分析。但是,有时候用户在使用 Multisim 时会遇到找不到某些元件的问题。本文将详细讨论为什么会出现这个
    的头像 发表于 02-23 15:44 1932次阅读

    STM32CubeIDE找不到elf

    库(STM32Cube),提供了丰富的开发工具和功能,帮助开发者更快、更方便地开发嵌入式应用。 在使用STM32CubeIDE开发STM32应用程序时,有时会遇到找不到elf文件的问题。本文将详细介绍
    的头像 发表于 01-02 16:32 597次阅读

    idea 配置 tomcat找不到或无法加载主类

    的问题以及解决办法,帮助读者快速解决这个问题。 首先,让我们从问题的起源开始。当我们尝试运行Tomcat时,如果出现找不到或无法加载主类的错误提示,首先需要检查一下Tomcat的配置文件是否正确。Tomcat的配置文件通常是位于
    的头像 发表于 12-03 15:26 843次阅读

    keil提示头文件找不到怎么解决?

    keil提示头文件找不到 实际上是有这个文件的也是相对路径
    发表于 11-01 06:12

    找不到adb设备有什么方法?

    那现在插网口,找不到adb设备有什么方法
    的头像 发表于 10-14 15:15 3839次阅读

    虚拟机里找不到adb设备怎么办

    虚拟机里找不到adb设备
    的头像 发表于 10-13 18:45 1113次阅读

    【KV260视觉入门套件试用体验】Vitis-AI加速的YOLOX视频目标检测示例体验和原理解析

    示例体验 参考此前的帖子:【KV260视觉入门套件试用体验】部署DPU镜像并运行Vitis AI图像分类示例程序 - 智能硬件论坛 - 电子技术论坛 - 广受欢迎的专业电子论
    发表于 10-06 23:32

    【KV260视觉入门套件试用体验】五、VITis AI (人脸检测和人体检测)

    都已编译到预构建的 Vitis AI 开发板镜像中。您可直接运行示例。如有新程序,请在主机侧对其进行编译并将可执行程序复制到目标。 1. 使用 scp 命令将
    发表于 09-26 16:22

    Vitis统一软件平台用户指南:系统性能分析(v2020.1)

    电子发烧友网站提供《Vitis统一软件平台用户指南:系统性能分析(v2020.1).pdf》资料免费下载
    发表于 09-13 11:13 0次下载
    <b class='flag-5'>Vitis</b>统一软件平台用户指南:系统性能分析(v<b class='flag-5'>2020.1</b>)

    【KV260视觉入门套件试用体验】部署DPU镜像并运行Vitis AI图像分类示例程序

    /vitis_ai_library/models/resnet50/resnet50.xmodel 运行结果如下: 报错说../images目录找不到。 创建../images目录,并将刚刚下载
    发表于 09-10 23:01

    【KV260视觉入门套件试用体验】Vitis AI 初次体验

    命令启动xilinx/smartcam镜像, 此时root@xlnx-docker:/# 提示进入Docker环境。 四、运行 如文章之初所说,因为部署Vitis AI之后懒得powe
    发表于 09-10 13:15

    运行start_gui.exe时提示MSVCP140.Dll找不到如何解决?

    运行start_gui.exe时提示MSVCP140.Dll找不到
    发表于 05-26 07:01

    SDK更新为V1.1.0无法编译,提示找不到board.c如何解决?

    SDK更新为V1.1.0无法编译,提示找不到board.c 把文件夹从hpm_sdk-main改为hpm_sdk后依然无法编译,请问这种情况如何解决
    发表于 05-26 06:19

    找不到-l:S32K14x_AMMCLIB.a C/C++怎么解决?

    1.编译过程序提示:说明资源路径方向设置类型 Ld错误:找不到-l:S32K14x_AMMCLIB.a C/C++问题
    发表于 05-09 09:50