Pololu USB AVR Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Sprzęt komputerowy Pololu USB AVR. Pololu USB AVR User Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj

Podsumowanie treści

Strona 1 - User's Guide

Pololu USB AVR ProgrammerUser's GuidePololu USB AVR Programmer User's Guide © 2001–2014 Pololu Corporationhttp://www.pololu.com/docs/0J36/al

Strona 2

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

Strona 3 - 1. Overview

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

Strona 4

Windows XP device manager showing the Pololu USB AVRProgrammerWindows 8 device manager showing the Pololu USB AVR ProgrammerSome software will not all

Strona 5

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

Strona 6

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

Strona 7 - 2. Contacting Pololu

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

Strona 8 - 3. Getting Started in Windows

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

Strona 9

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

Strona 10

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

Strona 11

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

Strona 12 - Programmer

1. Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Strona 13

Atmel Studio 6’s interface for setting the ISP frequency.Fuses (proceed with caution!)Selecting Fuses in the Device Programming dialog automatically c

Strona 14

the programming process again. This section describes a different method for programming that will allow you tocompile and program simply by pressing

Strona 15

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

Strona 16

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

Strona 17 - Studio 6

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

Strona 18

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

Strona 19 - ISP Clock Frequency

AVR Studio 4’s programmer-selection dialogIf the ISP window does not appear when you click “Connect…”, your computer cannot detect the programmer.Plea

Strona 20 - Lock Bits

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

Strona 21

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

Strona 22

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

Strona 23

1. OverviewThe Pololu USB AVR programmer [http://www.pololu.com/product/1300] is a programmer for Atmel’s AVRmicrocontrollers and controller boards ba

Strona 24

AVR Studio’s interface for setting the ISP frequency.Fuses (proceed with caution!)Clicking on the Fuses tab automatically causes the programmer to rea

Strona 25

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

Strona 26

Pololu USB AVR programmer configuration utility for Windows.Target VDD MonitorThe USB AVR programmer monitors the voltage of the target AVR while it i

Strona 27

Error From Last ProgrammingWhen an error or unexpected condition causes the programmer to leave programming mode, or fail to enterprogramming mode, th

Strona 28

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

Strona 29 - ISP Frequency

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

Strona 30

[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

Strona 31

avrdude: reading on-chip flash data:Reading | ################################################## | 100% 0.05savrdude: verifying ...avrdude: 224 bytes

Strona 32 - Target VDD Monitor

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.

Strona 33 - Error From Last Programming

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

Strona 34 - AVR ISP Emulation

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

Strona 35 - 4. Getting Started in Linux

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

Strona 36

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

Strona 37

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

Strona 38 - Checking the installation

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

Strona 39 - Using AVRDUDE

input or an output by identifying it with a serial handshaking line. The table below shows which handshaking linesare available (CTS is not available

Strona 40

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

Strona 41

7. Measuring Voltages Using the SLO-scopeA second bonus feature of the Pololu USB AVR programmer is the severely limited oscilloscope (SLO-scope), whi

Strona 42

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

Strona 43

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

Strona 44

8. TroubleshootingThis section helps solve problems you might have using the Pololu USB AVR programmer.If the computer fails to connect to the program

Strona 45

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

Strona 46

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

Strona 47

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

Strona 48

9. Upgrading FirmwareThe program that runs on the USB AVR Programmer (the firmware) can be upgraded with bug fixes or new features.Firmware Versions•

Strona 49 - 8. Troubleshooting

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

Strona 50

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,

Strona 51 - Still need help?

robot-controllers] and the 3pi Robot [http://www.pololu.com/product/975]. The programmer features upgradable firmware,allowing updates for future devi

Strona 52 - 9. Upgrading Firmware

2. Contacting PololuYou can check the Pololu USB AVR programmer page[http://www.pololu.com/product/1300] for additional information. We would bedeligh

Strona 53 - Upgrading Firmware

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

Strona 54

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

Komentarze do niniejszej Instrukcji

Brak uwag