Pages: [1]   Go Down
Author Topic: Programmer not resp. after assigning pin0  (Read 956 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 5
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Fellow Arduinians,

my Arduino NG worked fine yesterday when i uploading the LedBlink sketch with LedInt set to pin 0 / rx to check out if a transistor was hooked up correctly.

But now it keeps telling me the programmer is not responding. What could be the case?
After an extensive search for several hours i could not figure out what it is.

Actions i have taken.

- changing boud rates.
- checked for right serial port
- changed usb cables, changed usb slots.
- playing with reset button and upload time alot.

But again, at first it was running beautifully. So my basic question is:
        is there a way to go back to factory defaults?


Regards:  Maarten, the enthousiastic newb.

« Last Edit: June 07, 2007, 03:54:18 pm by maartez » Logged

Austin, TX
Offline Offline
Jr. Member
**
Karma: 1
Posts: 94
Shh! I am hunting wabbit. Killlll the wabbit!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

What do you have connected to pins 0/1?  These pins are used for programming and may need to be temporarily disconnected from your circuit during programing.
Logged

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

it was connected it with a buz 10 transistor..   then i noticed that it has to be used for serial traffic, and should be disconnected during transfer. So i did.

my concern is that the pins purpose now has changed ( ? ) and it is blocking traffic.

could this be the problem?
Logged

Austin, TX
Offline Offline
Jr. Member
**
Karma: 1
Posts: 94
Shh! I am hunting wabbit. Killlll the wabbit!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

As long as there are no electrical circuits connected to pin 0/1 (with some exceptions) and you press the reset button just prior to uploading a new sketch (within a couple of seconds).  The code of the prior sketch should not effect the uploading of a new sketch.

Given that, I have noticed that occasionally I can not upload a new sketch after some tests.  This has always gone away for me with a power reset on the arduino (disconnect from the computer) although occasionally it has required a restart of the computer as well.
Logged

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

Power resets, different cables, different ports, it all doenst matter..   when i hit Upload, the orange lights  shortly blinks once. and then comes the error.

I cannot image that i a the only one with this problem. There must be someone else assigning pin 0 to something..  if that is the cause.

now can somebody please tell me HOW TO CLEAN IT UP? Reset, Format, Clear, Flash, Delete, Refresh, Start all over again.
Logged

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 12
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

If there's nothing connected to pin 0, that shouldn't be the problem.  At least, once you reset the board, the configuration of the pin is reset.  I suppose it's possible you've blown the pin though.  What was connected to it?  

What error do you get when you upload now?
Logged

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

Ok, resetter than the reset button isnt possible..


There was a transistor connected to it with 12 volt going through.  
Ive measured that the pin keeps spitting out around 5 volts constantly. So it isnt completely dead either.

 i get:

Programmer Not Responding, RESET the board right before exporting.
Programmer is not responding. .

Ive experimented alot with combinations in timing with pressing reset and first it worked fine. so that should not be it..    . .

thx in advance!
« Last Edit: June 10, 2007, 04:12:38 pm by maartez » Logged

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

Mellis was right...

I consulted my schools technical dude, we exchanged the microcontrollers, and guess what, mine is dead. His is alive,

i fried the microcontroller, however, the rest of the board is still operating properly, so im looking at buying a new chip.
I used an electromagnet in my circuit, and the coil gives a big peak when turned on. his advice was to install a diode over the magnet.

always nasty to learn stuff the hard way,

anyway: Thank you all!

maarten
Logged

Austin, TX
Offline Offline
Jr. Member
**
Karma: 1
Posts: 94
Shh! I am hunting wabbit. Killlll the wabbit!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I've always found the hard way to make the best lessons!  smiley

When selecting the diode be sure to pick one that can handle 500-1000V (low amperage),  even small inductive loads can send voltage spikes that measure in the hundreds of volts!
Logged

Greenwood, Indiana
Offline Offline
God Member
*****
Karma: 0
Posts: 508
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Can you post a drawing of what you did?  I'd be curious as to what killed the chip.
Logged

If it was designed by man it can be repaired by man.

Pages: [1]   Go Up
Jump to: