在AVR Studio 5中构建AVR Studio 4项目 [英] Build AVR Studio 4 project in AVR Studio 5

查看:169
本文介绍了在AVR Studio 5中构建AVR Studio 4项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个AT90USB162 Minimus AVR,我想将其集成到项目中.我从演示代码下载了.//minimususb.com/"rel =" nofollow> Minimus USB .这是用于将AVR用作COM端口的驱动程序.该项目是为AVR Studio 4编写的,无法按原样加载到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.

如何转换项目以与AVR Studio 5一起使用?

How can I convert the project for use with AVR Studio 5?

推荐答案

好吧,我刚刚构建了程序包.问题在于原始源配置为在AVR Studio v.4中构建,而我的源是v.5,因此我不得不将其转换为我的版本.因此,您可以按照说明进行操作:

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:

  1. 将AVR-USB-162-CDC.zip的内容解压缩到一个文件夹中.在其中,您将看到文件夹Atmel.将该文件夹移动到c:\ Atmel(这样您将拥有c:\ Atmel \ at90usb162-cdc-1_0_1);

  1. 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);

在AVR Studio v.5中,转到菜单File/Import/AVR Studio 4 Project,然后在其中看到APS文件位置,浏览至c:\ Atmel \ at90usb162-cdc-1_0_1 \ at90usb162 \ demo \ cdc \ gcc \ cdc.aps

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.

您可以使用构建/构建解决方案"来构建项目. .hex将保存在C:\ Atmel \ at90usb162-cdc-1_0_1 \ at90usb162 \ demo \ cdc \ gcc \ cdc.hex中.

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.

由于要了解COMPORT参数,因此我尚未学习代码.但是至少我已经能够将十六进制烧入微芯片中.如果有人知道此COMPORT的详细信息,请发表评论.

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.

这篇关于在AVR Studio 5中构建AVR Studio 4项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆