本文介绍了遇到“启动失败,因为找不到二进制文件".的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在AVR32 Studio(2.6)中,我试图调试AVR项目,并收到错误消息启动失败,因为找不到二进制文件".

In AVR32 Studio (2.6) I'm trying to debug an AVR project and I get the error message "Launch failed as no binaries could be found".

我可以在控制台中看到Build已完成(在build文件夹中有一个可执行的.elf文件),并且我已经清理了项目,创建了新的构建配置,但我似乎仍然无法启动(和或对芯片进行编程)调试器.

I can see in the console that Build is complete (an executable .elf file is in the build folder) and I've cleaned my project, created a new build configuration and I still can't seem to launch (and or program the chip) the debugger.

推荐答案

检查您的调试启动配置.它应该更直观一些,但事实并非如此.创建并生成项目后,没有有效的调试启动配置,因此您需要创建一个.

Check your debug launch configuration. It ought to be a little more intuitive, but is not. After you create and build your project, there is no valid debug launch configuration and you need to create one.

您需要通过项目选项->调试配置-> avr32应用程序->双击创建一个.

You need to go thru project options -> debug configurations -> avr32 application -> double click to create one.

请阅读在AVR32 Studio中进行调试 AVR32015:AVR32 Studio入门以获得更多详细信息.

Please read Debugging in AVR32 Studio and AVR32015: AVR32 Studio getting started for more details.

这篇关于遇到“启动失败,因为找不到二进制文件".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-11 02:57