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

    文章

    2185

    浏览量

    127168
  • C程序
    +关注

    关注

    4

    文章

    255

    浏览量

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

扫码添加小助手

加入工程师交流群

    评论

    相关推荐
    热点推荐

    使用AMD Vitis Unified IDE创建HLS组件

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

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

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

    HBird SDK设置构建环境时找不到riscv-nuclei-elf-gcc,且编译HelloWorld示例时出现error,怎么解决?

    如图,HBird SDK设置构建环境时,显示找不到riscv-nuclei-elf-gcc。 后续编译HelloWorld示例程序时,显示error如下 请问是安装工具gcc的问题吗,文件夹目录结构如下 初学者不太会,多谢大佬指点! :)
    发表于 04-17 07:57

    为什么找不到MCUXpresso的SDK?

    我有LPC1769的 LPCXpresso 板,现在我需要 SDK,但我找不到 MCUXpresso 的 SDK,并且 LPCExpresso v2.07 的链接不起作用,“系统当前不可用”。
    发表于 04-03 08:17

    如何在 树莓派 上编写和运行 C 语言程序

    在本教程中,我将讨论C编程语言是什么,C编程的用途,以及如何在RaspberryPi上编写和运行C程序。本文的目的是为您介绍在Raspber
    的头像 发表于 03-25 09:28 ?691次阅读
    如何在 树莓派 上编写和<b class='flag-5'>运行</b> <b class='flag-5'>C</b> 语言<b class='flag-5'>程序</b>?

    在TouchFX Designer中运行工程,提示头文件找不到,为什么?

    我在TouchFX Designer 中运行工程,提示头文件找不到。 但是在keil中是可以编译通过的。 请问如何添加编译的头文件到设计器中。
    发表于 03-13 08:20

    cubemx生成HAL库+FreeRTOS,当编写程序时却代码无法自动提示怎么解决?

    时,发现它提示stm32f1xx.h文件未被找到,但这整个工程是cubemx生成的,文件路径下有这个文件,并且也在C/C++中添加了这个文件所在的路径,并且编译时也没提示错误,在网上也
    发表于 03-12 08:21

    HBird SDK设置构建环境时,显示找不到riscv-nuclei-elf-gcc,为什么?

    如图,HBird SDK设置构建环境时,显示找不到riscv-nuclei-elf-gcc。 后续编译HelloWorld示例程序时,显示error如下 请问是安装工具gcc的问题吗,文件夹目录结构如下 初学者不太会,多谢大佬指点! :)
    发表于 03-07 09:51

    运行时OpenVINO?找不到模型优化器,为什么?

    运行时OpenVINO?找不到模型优化器,运行模型下载程序命令并收到错误消息: omz_downloader:找不到命令
    发表于 03-05 08:16

    DLPDLCR230NPEVM在运行实例程序时会显示不太正确的图像,怎么解决?

    运行230evm时,有时会发生这种情况,只会发出蓝光,还有在运行实例程序时会显示不太正确的图像。最近刚买了五个230evm,其他几个都正常,只有一个有这种情况。请问这是投影仪硬件问题嘛。
    发表于 02-21 09:18

    使用msp430运行一个程序时,出现“Error initializing emulator: No USB FET was found”怎么解决?

    我使用msp430运行一个程序时,出现“Error initializing emulator: No USB FET was found”,请问这个该怎么解决呢? 之前在ti.com上看到相关
    发表于 01-16 07:59

    使用AMD Vitis进行嵌入式设计开发用户指南

    Zynq MPSoC 和 AMD Alveo 数据中心加速器卡)为目标的异构嵌入式应用。 Vitis 工具包括: C++ 编译器、库和本征函数,适用于 AI 引擎和可编程逻辑( PL ) 适用于 Arm
    的头像 发表于 01-08 09:33 ?1590次阅读
    使用AMD <b class='flag-5'>Vitis</b>进行嵌入式设计开发用户指南

    ?串联谐振装置故障排除(二)自动调谐不能完成,找不到

    串联谐振自动调谐不能完成,找不到谐振点:现象: 调谐曲线完全是一条直线,调谐完成后仪器提示没有谐振点原因: 回路接地不好,试验回路接线错误,装置某一仪器开路
    的头像 发表于 11-22 15:25 ?574次阅读
    ?串联谐振装置故障排除(二)自动调谐不能完成,<b class='flag-5'>找不到</b>

    串联谐振遇问题:找不到谐振频率?无法升到试验电压?含解决办法

    串联谐振遇到的问题:找不到谐振频率?无法升到试验电压?含解决办法 一、找不到谐振频率。1、频率范围设置过窄。如实际谐振频率为245Hz,设置频率范围为30Hz~200Hz,自然找不到谐振频率。2、实际谐振频率超出30Hz~30
    的头像 发表于 11-22 14:09 ?1010次阅读

    Labview生成的exe程序,源程序找不到了,有什么办法可以对exe程序的界面和菜单等进行调整和编辑

    ,如题,之前开发了一款exe程序。但是源程序找不到了,现在想对软件的界面和菜单等内容做些修改和简化,哪位大神有什么好的方法吗? 百度了一下,像exescope这些,好像是针对C
    发表于 08-19 10:03