在 AVR Studio 5 中构建 AVR Studio 4 项目
我有一个 AT90USB162 Minimus AVR,我想将其集成到一个项目中。我从 Minimus USB。这是使用 AVR 作为 COM 端口的驱动程序。该项目是为 AVR Studio 4 编写的,无法在 AVR Studio 5 中按原样加载。
如何转换该项目以供 AVR Studio 5 使用?
I have an AT90USB162 Minimus AVR which I want to integrate into a project. I downloaded the demo code from Minimus USB. This is a driver for using the AVR as a COM port. The project is written for AVR Studio 4, and cannot be loaded as-is in AVR Studio 5.
How can I convert the project for use with AVR Studio 5?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,我只需要构建包。问题是原始源被配置为在 AVR Studio v.4 中构建,而我的是 v.5,所以我必须将它们转换为我的版本。因此,您可以按照说明进行操作:
将 AVR-USB-162-CDC.zip 的内容解压缩到文件夹中。在其中您将看到文件夹 Atmel。将此文件夹移至 c:\Atmel(这样您将拥有 c:\Atmel\at90usb162-cdc-1_0_1);
在 AVR Studio v.5 中,转到菜单“文件/导入/AVR Studio 4 项目”并在其中看到“APS 文件位置”,浏览至 c:\Atmel\at90usb162-cdc-1_0_1\at90usb162\demo\cdc\gcc\ cdc.aps
单击“转换”,然后完成并关闭。
您可以使用构建/构建解决方案构建项目。 .hex 将保存在 C:\Atmel\at90usb162-cdc-1_0_1\at90usb162\demo\cdc\gcc\cdc.hex 中。
由于了解 COMPORT 参数,我仍在研究代码。但至少我已经能够将六角形烧入微芯片中。如果有人知道此 COMPORT 的详细信息,请发表评论。
就是这样。我希望它能帮助像我这样的其他新手。
Well, I just got to build the package. The problem is that the original sources were configured to be built in AVR Studio v.4, and mine is v.5, so I had to convert them to my version. So, you can follow the instructions:
Unzip the content of the AVR-USB-162-CDC.zip to a folder. Inside it you will see the folder Atmel. Move this folder to c:\Atmel (so you will have c:\Atmel\at90usb162-cdc-1_0_1);
In AVR Studio v.5, go to menu File/Import/AVR Studio 4 Project and where you see APS File Location, Browse to c:\Atmel\at90usb162-cdc-1_0_1\at90usb162\demo\cdc\gcc\cdc.aps
Click Convert and so Finish and Close.
You can build the project with Build/Build Solution. The .hex will be saved in C:\Atmel\at90usb162-cdc-1_0_1\at90usb162\demo\cdc\gcc\cdc.hex.
I'm yet studying the code due to know the COMPORT parameters. But at least I'm already able to burn the hex into the microchip. If someone know details of this COMPORT please comment.
That's it. I hope it helps other newbies like me.