Pages: [1]   Go Down
Author Topic: issue burning bootloader  (Read 1621 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 65
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I tried putting a new Atmega328P-PU chip in my Arduino Duemilanove and burning the Arduino bootloader using Arduino 1.0 on OS X using an AVRISP mkII. It's been 5 minutes and the Arduino program is frozen, and the orange light and the green light are both on on the AVRISP mkII.
Should I just force quit the program?
What could be going on here? How can I diagnose this?

After 10 minutes of sitting there it finally came back and said Error while burning bootloader.
« Last Edit: January 05, 2012, 10:31:44 pm by jfenwick » Logged

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

Should I just force quit the program?

I would have.


Quote
What could be going on here? How can I diagnose this?

I vaguely recall that the AVRISP mkII requires a different kernel driver in order for it to work with AVRDUDE / Arduino.


Do you have the processor that was originally in the Duemilanove?  A processor with a working bootloader?
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 65
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I do have it.

I know I could use the Arduino as a programmer to program the new chip, but I have the ulterior motive of wanting to program AVRs using my AVRISP mkII. I've successfully used it before, but I'm starting to worry I killed it or something.
Logged

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


Search the forum for other folks who have used a mkII.
Logged

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


Yup.  Google...
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1275160256
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1228502992
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 65
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Eh, I looked, none of those links are really helpful, especially because I'm on OS X not Windows.

And I have been searching through forums, lots of forums, here, avrfreaks, pololu, adafruit, sparkfun, sites I've never even heard of before... trust me, I've already spent several days this week digging for more information.
I'm starting to get a bit disenchanted by this search.
You'd think Atmel would provide some sort of help support system for people just starting out.
I think if I had bought a USBtiny I would probably get more support from the adafruit forum than I would have from Atmel smiley-sad
« Last Edit: January 06, 2012, 08:06:03 pm by jfenwick » Logged

SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 134
Posts: 6762
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
You'd think Atmel would provide
For Macs?   Don't be silly!   Atmel has made abundantly clear (with AVRStudio 5) that they only support Windows.

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1144460244 perhaps?
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 65
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So due to totally failing at getting the AVRISP mkII to work, I've switched to trying to burn a bootloader using another Arduino on Arduino 1.0.

I'm following the instructions here: http://arduino.cc/en/Tutorial/ArduinoISP
Also this thread seems helpful: http://arduino.cc/forum/index.php/topic,61776.0.html
I'm using two Duemilanoves.

I have an LED on pin 9 on the programmer board and it pulses on and off slowly when the ArduinoISP is idle.
If I try to program the chip on the other board it says:
avrdude:stk500_getsync(): not in sync: resp=0x15

If I put 4 470 ohm resistors in parallel (to get 117 ohms) and use those to connect 5V and RESET and that didn't help either.
« Last Edit: January 10, 2012, 11:30:14 am by jfenwick » Logged

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


http://arduino.cc/forum/index.php/topic,82567.0.html
http://arduino.cc/forum/index.php/topic,82011.0.html
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 65
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I don't think that's the problem...

I tried changing the serial buffer as mentioned here:
https://github.com/arduino/Arduino/commit/80a2154279a02fd69f995ef6ff9eb889363c73ca

It doesn't seem to have fixed the problem, except now the resp=0x66 instead of 0x15
Logged

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


At what point in the process are you applying the 117 ohms resistance?

After trying to burn the bootloader, does the pin 9 LED continue fading?
Logged

Pages: [1]   Go Up
Jump to: