Pages: [1] 2   Go Down
Author Topic: Arduino UNO + Pololu USB AVR Programmer : issues  (Read 4853 times)
0 Members and 1 Guest are viewing this topic.
Palermo
Offline Offline
God Member
*****
Karma: 3
Posts: 767
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I want to burn the bootloader in a blank Atmega328. I use the Pololu programmer, connecting the ICSP plug directly to Arduino, battery-powered.

I adjusted the two configuration files in this way (I'm under Windows XP):

#####
##Add this to the top of the boards.txt file.
#####
board328p.name=Boarduino
board328p.upload.using=avrispv2
board328p.upload.maximum_size=32768
board328p.build.mcu=atmega328p
board328p.build.f_cpu=16000000L
board328p.build.core=arduino
#####

#####
##Add this to the bottom of the programmers.txt file.
#####
avrispv2.name=AVR ISP v2
avrispv2.communication=serial
avrispv2.protocol=avrispv2
#####

I open the program the Arduino, and select:

Arduino UNO
com port -> Pololu COM port (there are 2)
Programmer -> AVR ISP v2

I get only errors. I tried using both the COM, I tried to use Boarduino instead of Arduino.

Nothing to do. Please help me!

Thank you all!
Logged

Gianfranco

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

Open Device Manager.  Open the Ports node.  There should be two entries for the Pololu programmer...

Pololu USB AVR Programmer Programming Port (COM?)
Pololu USB AVR Programmer TTL Serial Port (COM?)

Which serial port is in parenthesis after the "Programming Port"?
Logged

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

12 and 13!!
Logged

Gianfranco

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

Which serial port is in parenthesis after the "Programming Port"?
Logged

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

I have this configuration:



Uploaded with ImageShack.us

To program the bootloader I try to use COM number 12, but I get this error:



Uploaded with ImageShack.us
« Last Edit: March 17, 2011, 04:49:37 am by GianfrancoPa » Logged

Gianfranco

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

I changeg COM number to 5 and 6 in order to use the programmer under AVR STUDIO, but it cant recognize the programmer...
Logged

Gianfranco

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

COM12 is the correct choice.
Logged

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

I changed 12 to 5 because avr studio can accepts COM port untill 9
Logged

Gianfranco

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

Did you install the device driver...
http://www.pololu.com/docs/0J36/all#3

Does the configuration utility work...
http://www.pololu.com/docs/0J36/all#3.d
Logged

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

I know the manual very well smiley-grin

But you use the programmer with Arduino software? Or you use AVRDUDE ?
Logged

Gianfranco

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

But you use the programmer with Arduino software?

Yes.

Quote
Or you use AVRDUDE ?

Sometimes.
Logged

Portugal
Offline Offline
God Member
*****
Karma: 6
Posts: 962
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Arduino IDE uses the avrdude it just hides that from the user...
Logged

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

I know it, but I have to exclude, if possible, that the programmer is broken...
Logged

Gianfranco

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

Have you tried using the configuration utility?

Have you tried a different USB cable?

Are you certain you have the six-pin cable correctly connected?
Logged

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

Have you tried using the configuration utility?

Yes, it recognizes the programmer

Quote
Have you tried a different USB cable?

Yes, I get the same issues!

Quote
Are you certain you have the six-pin cable correctly connected?

The controller has a yellow LED that flashes when it receives from 5V Vcc (more or less). when the Arduino is running normally, the reset pin has a voltage of 5V, but when I press the reset button, this pin indicates 0V.

When I plug in the 6-pin connector, I press the reset button, if the LED
yellow is still blinking, it means it is connected properly. however, if not blinking, it means that I have reversed the sense of connection!

is wrong?
Logged

Gianfranco

Pages: [1] 2   Go Up
Jump to: