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
    +关注

    关注

    73

    文章

    2208

    浏览量

    131920
  • C程序
    +关注

    关注

    4

    文章

    255

    浏览量

    37685
收藏 人收藏
加入交流群
微信小助手二维码

扫码添加小助手

加入工程师交流群

    评论

    相关推荐
    热点推荐

    在drivers/media/i2c/下找不到文件ov13855.c,应该如何支持它?

    在drivers/media/i2c/下找不到文件ov13855.c,我应该如何支持它?
    发表于 04-20 12:10

    找不到适用于“S32 Design Studio for Power Architecture”的完整安装程序

    你好 我需要开发 SPC58 B 线 MCU。 我在恩智浦网站上找不到“S32 Design Studio for Power Architecture”的完整安装程序。下载页面非常混乱,仅显示
    发表于 04-15 07:29

    如何使用AMD Vitis硬件在环功能运行Vitis子系统设计

    到目前为止,本文关于 AMD Versal AIE 验证和 AMD Vitis 新的验证功能的研究,所有内容都基于仿真完成。
    的头像 发表于 04-02 10:29 7217次阅读
    如何使用AMD <b class='flag-5'>Vitis</b>硬件在环功能<b class='flag-5'>运行</b><b class='flag-5'>Vitis</b>子系统设计

    尝试在 IMX93 上运行 ddcutil 时遇到找不到显示错误,怎么解决?

    -dev/ 并发现没有创建 I²C 条目。 我们找不到任何针对 ddcutil 的补丁或支持 ADV7535 please share yousuggestion MIPI-DSI to HDMI
    发表于 03-23 06:20

    Linux新手通关!5分钟掌握文件/目录管理,告别“找不到北”

    新手入门:Linux 文件 / 目录管理实操指南 刚上手 Linux 的小伙伴,是不是常陷入这些 “混乱时刻”:想找的文件藏在层层目录里,翻半天找不到;误删文件后慌得手心冒汗,不知道怎么恢复;复制
    的头像 发表于 11-17 10:42 634次阅读
    Linux新手通关!5分钟掌握文件/目录管理,告别“<b class='flag-5'>找不到</b>北”

    如何在应用程序调试期间分析栈和堆使用情况

    随着 AMD Vitis 统一软件平台 2021.2 的发布,Vitis 引入了一个 Tcl 脚本,用于在应用程序运行的特定时间点协助查找栈和堆的内存使用情况。该脚本已延续到后续的
    的头像 发表于 10-24 16:54 1048次阅读
    如何在应用<b class='flag-5'>程序</b>调试期间分析栈和堆使用情况

    NucleiStudio下载程序到FPGA中的E203上

    = 0x90000000, LENGTH = 64K 3、构建应用程序后,运行时,出现找不到0x6010”端口设备的问题。 解决方式:根
    发表于 10-20 09:24

    CM32M433-START 下载程序时连接Openocd失败的原因及解决办法

    : 2 有时候忘记了端口被占用,重复点了运行按钮,错误弹框如下: 或者: 报错提示信息很明确,下载程序前需要关闭terminate,点击stop按钮即可
    发表于 10-20 09:11

    包含 micropython组件, mphalport.h 文件内提示找不到 drivers/pin.h 文件,为什么?

    在从gitee上拉取下来的rt-thread文件,使用 menuconfig命令开启micro python组件,生成mdk5后编译,提示在mphalport.h文件内找不到 drivers/pin.h 文件。我找了一下,发现确实没有该文件? 是什么问题?
    发表于 10-10 06:34

    IN Multisim中找不到ADA4940-1的仿真模型解决方案

    qqxjyxjy清风:在仿真软件IN Multisim中找不到ADA4940-1的仿真模型,怎么办? AI: 好的,用户说在Multisim里找不到ADA4940-1的模型,怎么办。首先得想,他
    的头像 发表于 10-09 09:18 1115次阅读

    vision board开发板用MDK烧录显示成功却找不到例程,为什么?

    开发板是vision board 连接好开发板后要烧录sdk仓库中的openmv例程 代码运行正常 烧录下载正常 再连接好openmv后仍然找不到相关例程代码 然后我使用瑞萨 flash
    发表于 09-22 06:34

    如何解决开发机器学习程序时Keil项目只能在调试模式下运行,但无法正常执行的问题?

    如何解决开发机器学习程序时Keil项目只能在调试模式下运行,但无法正常执行的问题
    发表于 08-28 07:28

    使用AMD Vitis Unified IDE创建HLS组件

    这篇文章在开发者分享|AMD Vitis HLS 系列 1 - AMD Vivado IP 流程(Vitis 传统 IDE) 的基础上撰写,但使用的是 AMD Vitis Unified IDE,而不是之前传统版本的
    的头像 发表于 06-20 10:06 2558次阅读
    使用AMD <b class='flag-5'>Vitis</b> Unified IDE创建HLS组件

    华秋DFM软件升级时,提示“Windows找不到文件”怎么办?

    最近有用户反馈: 登录华秋DFM软件,点自动升级的时候有时会报错,导致无法正常升级。 其中有一种情况是: 软件自动升级时,弹出“Windows 找不到文件\'C:\\\\Program Files
    发表于 06-12 18:22

    为什么无法运行程序“make”(在目录“C:\\?

    FX2LP Build,得到了 14:26:46 **** 为项目 Fx2Test 构建配置调试 **** 全部制作 无法运行程序“make”(在目录“C
    发表于 05-15 08:26