Pages: 1 [2]   Go Down
Author Topic: Arduino UNO + Pololu USB AVR Programmer : issues  (Read 4747 times)
0 Members and 1 Guest are viewing this topic.
Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 209
Posts: 13022
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


Sounds like it is working just like mine does.  Try this from the command-line...

avrdude -v -v -v -patmega328 -cavrispv2 -P\\.\COM5
Logged

Palermo
Offline Offline
God Member
*****
Karma: 3
Posts: 766
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


Try this from the command-line...

avrdude -v -v -v -patmega328 -cavrispv2 -P\\.\COM5


Under AVRDUDE, no?
Logged

Gianfranco

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 209
Posts: 13022
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Under AVRDUDE, no?

I don't understand.
Logged

Palermo
Offline Offline
God Member
*****
Karma: 3
Posts: 766
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have to launch this command line using AVRDUDE, not Arduino software, isn't it?
Logged

Gianfranco

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 209
Posts: 13022
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes.  You type the command (or copy-and-paste it) into a "dos prompt" (a command-shell).  The command shell can be started by running "CMD".

You will either have to navigate to the folder containing AVRDUDE or modify the PATH.  These update the PATH on my computer so I can run AVRDUDE...

set PATH=%PATH%;C:\Arduino\arduino-0022\hardware\tools\avr\utils\bin
set PATH=%PATH%;C:\Arduino\arduino-0022\hardware\tools\avr\bin
set PATH=%PATH%;C:\arduino\arduino-0022\hardware\tools\avr\etc

Replace "C:\Arduino\arduino-0022\" with the Arduino root folder on your computer.
Logged

Palermo
Offline Offline
God Member
*****
Karma: 3
Posts: 766
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


Try this from the command-line...

avrdude -v -v -v -patmega328 -cavrispv2 -P\\.\COM5


Under AVRDUDE, no?

This line don't functions, I modified it so:

Code:
avrdude -v -v -v -patmega328p -cavrispv2 -P\\.\COM5

and I get:

Quote
C:\Documents and Settings\Gianfranco>avrdude -v -v -v -patmega328p -cavrispv2 -P
\\.\COM5

avrdude: Version 5.10, compiled on Jan 19 2010 at 10:45:23
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\WinAVR-20100110\bin\avrdude.conf"


         Using Port                    : \\.\COM5
         Using Programmer              : avrispv2
avrdude: ser_send(): write error: sorry no info avail
Logged

Gianfranco

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 209
Posts: 13022
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

http://forum.pololu.com/viewtopic.php?t=2398
Logged

Palermo
Offline Offline
God Member
*****
Karma: 3
Posts: 766
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm using windows XP SP3...

I opened a thread on pololu forum: http://forum.pololu.com/viewtopic.php?f=3&t=3722&p=17560#p17560
Logged

Gianfranco

Palermo
Offline Offline
God Member
*****
Karma: 3
Posts: 766
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've installed the programmer in a different pc, and it function!!
Logged

Gianfranco

Offline Offline
Jr. Member
**
Karma: 0
Posts: 64
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The post in Reply #4 says that the programmer port is assigned to COM12.  The command line in Reply #15 is directing to COM5.  Avrdude will not be able to find the programmer at COM5.
Logged

Palermo
Offline Offline
God Member
*****
Karma: 3
Posts: 766
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The post in Reply #4 says that the programmer port is assigned to COM12.  The command line in Reply #15 is directing to COM5.  Avrdude will not be able to find the programmer at COM5.

I've changed com port from 12 to 5
Logged

Gianfranco

Pages: 1 [2]   Go Up
Jump to: