Pololu USB AVR ProgrammerUser's GuidePololu USB AVR Programmer User's Guide © 2001–2014 Pololu Corporationhttp://www.pololu.com/docs/0J36/al
6. Windows XP will warn you again that the driver has not been tested by Microsoft and recommend that youstop the installation. Click “Continue Anyway
If you use Windows XP and experience problems installing the serial port drivers, the cause of your problemsmight be a bug in older versions of Micros
Windows XP device manager showing the Pololu USB AVRProgrammerWindows 8 device manager showing the Pololu USB AVR ProgrammerSome software will not all
3.b. Programming AVRs Using Atmel Studio 6If you have an Orangutan or 3pi Robot or wish to use the Pololu AVR C/C++ Library for someother reason, we r
2. In the Device Selection window, select the device name of your specific AVR. Click OK to create the project.The Device Selection dialog of Atmel St
Building a project with Atmel Studio 6.5. Make sure your USB AVR programmer is connected to your computer via its USB A to mini-B cable andthen select
The “Add target” dialog box in Atmel Studio 6.1.6. Click the Device Programming button on the toolbar. You can also select Device Programming from the
8. If you have not done so already, connect the programmer to the target device using the 6-pin ISP cable.Make sure the cable is oriented so that pin
As your USB AVR Programmer programs the AVR, you should see all three LEDs flicker and you should see thefollowing text appear at the bottom of the wi
The ATmega328P has been successfully added to the device selection box of Atmel Studio 6.3.b.2. Using Advanced Features of Atmel Studio 6This section
1. Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Atmel Studio 6’s interface for setting the ISP frequency.Fuses (proceed with caution!)Selecting Fuses in the Device Programming dialog automatically c
the programming process again. This section describes a different method for programming that will allow you tocompile and program simply by pressing
Finally, you should be able to press F5 to build your project and program the resulting HEX file onto your AVR!Alternatively you can program by select
1. The Pololu USB AVR Programmer’s drivers (see Section 3.a).2. WinAVR [http://winavr.sourceforge.net/]: WinAVR is a free, open-source suite of develo
Creating a new AVR Studio 4 project, step 23.Write your program in BlinkLED.c as seen in the screen shot below and click the Build button on the toolb
Note: You will probably want to customize this program slightly if the clock frequency of yourAVR is not 20 MHz. F_CPU should be defined as the clock
AVR Studio 4’s programmer-selection dialogIf the ISP window does not appear when you click “Connect…”, your computer cannot detect the programmer.Plea
test the connection by going to the Main tab and clicking the Read Signature button. This sends a commandto the target AVR asking for its device signa
AVR Studio’s Program ISP tabAs your USB AVR programmer programs the AVR, you should see all three LEDs flicker and you should seethe following text ap
be on the bottom of the robot. If there was a problem, please see Troubleshooting (Section 8) for help identifyingand fixing it.3.c.1. Using Advanced
1. OverviewThe Pololu USB AVR programmer [http://www.pololu.com/product/1300] is a programmer for Atmel’s AVRmicrocontrollers and controller boards ba
AVR Studio’s interface for setting the ISP frequency.Fuses (proceed with caution!)Clicking on the Fuses tab automatically causes the programmer to rea
Lock BitsClicking on the Lock Bits tab automatically causes the programmer to read the lock bits of the target AVR. If theprogrammer is not connected
Pololu USB AVR programmer configuration utility for Windows.Target VDD MonitorThe USB AVR programmer monitors the voltage of the target AVR while it i
Error From Last ProgrammingWhen an error or unexpected condition causes the programmer to leave programming mode, or fail to enterprogramming mode, th
Serial NumberThis is a unique identifier assigned to this programmer by Pololu. This number can not be changed.TTL Serial PortThis section is used to
4. Getting Started in LinuxThe Pololu USB AVR programmer can be used in Linux to program AVRs and to send and receive bytes on the USB-to-TTL-serial a
[http://www.pololu.com/product/975], this program will blink the red user LED. If you want to program an AVR that doesnot have an LED connected to pin
avrdude: reading on-chip flash data:Reading | ################################################## | 100% 0.05savrdude: verifying ...avrdude: 224 bytes
5. Getting Started in Mac OS XThe Pololu USB AVR Programmer can be used to program AVR microcontrollers, using Mac OS X as thedevelopment environment.
If you are using Mac OS X 10.7 or later and have not changed the programmer’s firmware, there should be twonew /dev/tty.usb* entries. The entry with t
1.a. Module Pinout and ComponentsPololu USB AVR programmer, labeled top view.The Pololu USB AVR programmer connects to a computer’s USB port via an in
avrdude -p m328p -c avrisp2 -P /dev/cu.usbmodem00022331 -U flash:w:test.hexIf all goes well, the output should look something like this:avrdude: AVR d
6. Communicating via the USB-to-TTL-Serial AdapterOne bonus feature of the Pololu USB AVR programmer is the USB-to-TTL-serial adapter, which can be us
In Windows, the Device Manager shows which port name is assigned to the Pololu USBAVR Programmer’s USB-to-TTL-serial adapter.To determine the port nam
PuTTY is a free Windows terminal program that can send and receive bytes on aserial port.If you need to send and receive non-ASCII bytes, you can use
input or an output by identifying it with a serial handshaking line. The table below shows which handshaking linesare available (CTS is not available
For example, if you wanted to connect your Pololu USB AVR Programmer to an AVR running the Arduinobootloader, you could configure pin A to be DTR and
7. Measuring Voltages Using the SLO-scopeA second bonus feature of the Pololu USB AVR programmer is the severely limited oscilloscope (SLO-scope), whi
The SLO-scope application was written as a Visual C# 2008 project: SLO-scope client C# source code[http://www.pololu.com/file/download/sloscope_client
by hovering over it with your cursor. A purple rectangle highlights the portion of the upper pane is visible in the lowerpane.You can adjust the verti
8. TroubleshootingThis section helps solve problems you might have using the Pololu USB AVR programmer.If the computer fails to connect to the program
The GND line provides direct access to the grounded line on the USB cable (and ground on the programmer).The TX and RX lines are the TTL serial port f
able to communicate. Please make sure that the ISP pins as numbered in Section 1.a are correctly connectedbetween your AVR and your programmer (i.e. 1
E: Ad=02(O) Atr=02(Bulk) MxPS= 8 Ivl=0msE: Ad=82(I) Atr=02(Bulk) MxPS= 8 Ivl=0msI:* If#= 2 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=cd
9. Upgrading FirmwareThe program that runs on the USB AVR Programmer (the firmware) can be upgraded with bug fixes or new features.Firmware Versions•
2. In the Details tab, select the “Hardware Ids” property in the dropdown box.3. The first value displayed should be something like USB\VID_1FFB&P
4. Once the programmer is in bootloader mode, it will appear to your computer as a new device called “Pololupgm03a Bootloader”.◦ Windows 8, Windows 7,
robot-controllers] and the 3pi Robot [http://www.pololu.com/product/975]. The programmer features upgradable firmware,allowing updates for future devi
2. Contacting PololuYou can check the Pololu USB AVR programmer page[http://www.pololu.com/product/1300] for additional information. We would bedeligh
3. Getting Started in WindowsThe Pololu USB AVR programmer works in Windows XP, Windows Vista, and Windows 7.3.a. Installing Windows Drivers and Softw
3. Connect the USB AVR programmer to your computer’s USB port. The programmer is actually threedevices in one so your XP computer will detect all thre
Commenti su questo manuale