Pages: [1]   Go Down
Author Topic: Crap! Endless serial transmission wont let me upload!  (Read 523 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 24
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey everyone,
I wrote a sketch to test out manipulating variables with bitwise operators, and I wanted to see the result I got, so I used Serial.println(var); to transmit the var once the arduino finished with the bitwise operation. Unfortunately, I did not think this through and placed that function in the loop() function. Now, my arduino is continuously outputting one variable and I cannot even open the serial monitor to view the data. I think it is outputting too much for the serial monitor to read. Also, I can no longer upload sketches anymore, probably because the arduino is just constantly sending serial data.

Please help me! What can I do to fix it?
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 533
Posts: 26956
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

Press & hold the reset button.
When the IDE says "compiled xxx of 32xxx bytes", something like that, release the reset.
May take a couple tries to find the right time.  Definitely do-able.
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
Newbie
*
Karma: 0
Posts: 24
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ok, should i do this while uploading a sketch or should i just hold it down and wait for that message?
Logged

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 126
Posts: 8500
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You can't do it while uploading the sketch because you can't currently upload a sketch.

Press and release when you see that message. As CR says it often take a few tries to get it right.

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Offline Offline
Newbie
*
Karma: 0
Posts: 24
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks, this fixed it.
Logged

Pages: [1]   Go Up
Jump to: