Pages: 1 [2]   Go Down
Author Topic: 2560 bootlader mkii problem  (Read 1617 times)
0 Members and 1 Guest are viewing this topic.
Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 548
Posts: 27372
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Reset is supposed to hold the Reset pin high.
When its low, the uC is in reset.
The AVR ISP controls the reset pin during the bootloading.
It should go high when the bootload is done for normal operations.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

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

I see what you mean the programmer controls the line.  I tried using the uno as an isp, and coudnt get it to work either.   It works on a known good 2560, but not my board.  I just do not understand why it wored until i tried to bootload it and now nothing. 

I guess i will order another chip and try again.

Any other ideas?
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 548
Posts: 27372
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

NickGammon has the Uno as bootloader part worked out quite well, including bootloading a 2560 board from an Uno.
Have you tried that?
http://www.gammon.com.au/forum/?id=11635

Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

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

Yeah thats exactly what i tried.  It wouldn't get past the beginning of the program where it pulls the reset line low, and checks for clk.

I put my multi meter on reset and ground right at the pin.   It went to about. 02v. I did it with a known good board and ot went down to .005v. Do you think yhis is enough to cause the issue?
Logged

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

Problem Solved!  Thought I'd let everyone know just in case they are having a similar problem. It was the reset line.  I made one on a breadboard going from 5v to a 10k resistter.  the resistor goes to the reset switch + side.  The other side straight to gnd.  right after the 10k resistor, I put a 22pf cap.  Everything works perfect.  Bootloader uploaded fine.

Thanks everyone that helped.
« Last Edit: August 03, 2012, 11:15:51 pm by Houser636 » Logged

Pages: 1 [2]   Go Up
Jump to: