Has anybody got Arduino IDE to work with Pololu USB AVR Programmer (ISP)

Using Arduino IDE 2.3.2. under Windows 11
Tools - board “Arduino Nano”. Port COM16 (as per Device Manager Ports for the Pololu USB AVR)
Tools - Processor - ATMega328P
Tools - Programmer - Atmel STK500 development board. (as per Pololu USB AVR instructions)
NANO connect ed to Pololu USB AVR with 6 wire ribbon supplied with Pololu USB AVR. Yes pin 1 is connected to Pin 1 on both boards.
NANO is externally powered via USB

The Arduino Sketch is example Blink
Tried to Sketch - Upload Using Programmer
And all I get is the error

avrdude: Version 6.3-20190619
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "C:\Users\Dirk\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"

         Using Port                    : COM16
         Using Programmer              : stk500
         AVR Part                      : ATmega328P
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PC2
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
           flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
           lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

         Programmer Type : STK500V2
         Description     : Atmel STK500
         Programmer Model: STK500
         Hardware Version: 15
         Firmware Version Master : 2.10
         Topcard         : Unknown
         Vtarget         : 5.0 V
         SCK period      : 8.7 us
         Varef           : 0.0 V
         Oscillator      : Off

avrdude: stk500v2_command(): command failed
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.

avrdude done.  Thank you.
Failed programming: uploading error: exit status 1

BTW - I can program the same target NANO using another NANO configured as "Arduino As ISP". So the basic setup using a different programmer works. Just cannot get the Pololu to work via Arduino IDE.

I can't help as I currently don't have the setup for it; I have the V2.0, not V2.1.

In the past I've burned bootloaders to a Mega and to Nanos and I have programmed Nanos (including lock bits) with the V2 version. The Mega was with Windows 10, the Nanos wit Windows 8.1.

Maybe the following two images will help for the connection. Note that in both cases the cable is not twisted.

Nano

Uno

Yes all the connections were correct as per the user manual etc. The NANO was just the NANO and the programmer.
BUT… as would have to occur. The ONE NANO that I picked out my collection of 10 NANOs to do the Pololu programmer test was faulty. That particular NANO has been working fine with other programmers and USB programming in the past. It just decided to fail communications when it was selected for the Pololu programmer test
Using another NANO I was able to successfully upload a program with the Pololu USB ISP programmer. Much happiness.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.