to write a code and download it to ATmega128, I've just managed to AVR Studio 4 only. To do that, the following steps have to be done:
1- Create a new project from Project menu.
2- On the left section of AVR Studio, AVR GCC window will appear that shows 4 different categories. The source code can be added or created in the Source Files category.
3- After the code was ready, press F7 or chose Build option from Build menu.
4- There are two icons, above the window that opens the codes, to connect and program the micro-controller. However, it is available through Tool -> Program AVR -> Connect... for making the connection and going to the Program section in the opened windows for downloading the hex file to the flash memory.
that's it :)
No comments:
Post a Comment