Pages: 1 [2]   Go Down
Author Topic: Hard reset button  (Read 22286 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Shannon Member
****
Karma: 200
Posts: 11694
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
A hard reset would have been useful last night when I made a sketch that was continuously outputting text to the serial without any pause.

It seemed to freeze up the IDE when I tried to use it with the Arduino connected and made it almost impossible to try to upload a new sketch.  

If you're using an Uno under Linux, there is a known issue here - with a fix available.

(See reply #34 under
Arduino Forum › Software › Development › Problems with 0021 on Ubuntu 10.04 Lucid Lynx)
Logged

[ I won't respond to messages, use the forum please ]

0
Offline Offline
Newbie
*
Karma: 0
Posts: 2
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I finally succeeded with some combination of unplugging the usb and hitting the reset and trying to upload.  Really frustrating experience.  I've learned to never do that again.
I have the same problem as JimH, but I didn't finally succeeded to upload my sketch.

The reply #34 on the topic "Problems with 0021 on Ubuntu 10.04 Lucid Lynx" say :
Quote
Don't try this unless you are prepared to risk bricking your board completely!
So, I am not very enthusiastic to reflash the firmware with dfu.

How can I upload a sketch on my arduino 2560 ?
(I had to put a delay() before :'()
Logged

Ubuntu 10.10 x86_64
Arduino Mega2650

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 524
Posts: 26472
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

Well, there is a way to Chip Erase the ATMega328. But it requires applying 12V to the reset line within so many microseconds of VCC being applied. See section 27 of the datasheet.
The best way to do that is on a seperate programmer with the chip removed from the arduino - else the 12V on the reset line is likely to damage other parts on the board.
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.

0
Offline Offline
Newbie
*
Karma: 0
Posts: 2
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you for your answer.

I found an other solution which fix my problem. I just plug the board on a windows 7 pc with arduino-0022, instead of ubuntu 10.10. 64bits with arduino-0021.
There is no freezes anymore and I can upload sketches.

Do you think that the problem comes from arduino's software's version or from linux ?

Do you know where I can find the arduino-0022 for linux 64bits ? Maybe it will fix the problem if it comes back.
« Last Edit: January 05, 2011, 07:14:04 am by Vinc41 » Logged

Ubuntu 10.10 x86_64
Arduino Mega2650

Pages: 1 [2]   Go Up
Jump to: