Build AVR Studio 4 project in AVR Studio 5

回眸只為那壹抹淺笑 提交于 2019-12-12 02:12:43

问题


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?


回答1:


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

  2. 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

  3. 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.



来源:https://stackoverflow.com/questions/7867393/build-avr-studio-4-project-in-avr-studio-5

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!