Pololu USB AVR Manual do Utilizador Página 23

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 22
1. The Pololu USB AVR Programmers drivers (see Section 3.a).
2. WinAVR [http://winavr.sourceforge.net/]: WinAVR is a free, open-source suite of development tools for the AVR
family of microcontrollers, including the GNU C/C++ compiler for AVRs (avr-gcc).
3. AVR Studio 4 [http://www.atmel.com/tools/STUDIOARCHIVE.aspx]: AVR Studio 4 is a free integrated
development environment (IDE) for programming AVRs offered by Atmel. AVR Studio 4 works with the
WinAVR avr-gcc compiler and contains built-in support for AVR ISP programming.
If you have an Orangutan or 3pi and want to jump straight in to using your USB AVR programmer, you can skip
steps 1–3 by downloading the AVR Studio project these steps would create. Determine the microcontroller on your
device, download the corresponding file below, extract all the files to a directory, open the AVR Studio project file
(BlinkLED.aps), and proceed to step 4.
mega48: BlinkLED_m48.zip [http://www.pololu.com/file/download/BlinkLED_m48.zip?file_id=0J188] (9k zip)
mega168: BlinkLED_m168.zip [http://www.pololu.com/file/download/BlinkLED_m168.zip?file_id=0J189] (9k zip)
mega328: BlinkLED_m328.zip [http://www.pololu.com/file/download/BlinkLED_m328.zip?file_id=0J190] (9k zip)
1.
Open AVR Studio and click New Project. Select AVR GCC for the project type. Enter the project name and
initial file name. In the screenshot below, we named our project “BlinkLED” and elected to have a folder called
“C:\BlinkLED” created containing the blank file “BlinkLED.c”. Click Next >>. DO NOT click “Finish” yet. If
you do accidentally click “Finish”, you will not be able to perform step 2 and will instead have to set the device
by going to the “Project” menu and selecting “Configuration Options”.
Creating a new AVR Studio 4 project, step 1
2.
Select AVR Simulator as the debug platform and then select the appropriate device for your target AVR.
For an Orangutan or 3pi Robot, this will either be ATmega48, ATmega168, ATmega328P, ATmega324PA,
ATmega644P, or ATmega1284P depending on which chip your Orangutan or 3pi Robot has. Click Finish.
Pololu USB AVR Programmer User's Guide © 2001–2014 Pololu Corporation
3. Getting Started in Windows Page 23 of 54
Vista de página 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 ... 53 54

Comentários a estes Manuais

Sem comentários