Pages: [1] 2   Go Down
Author Topic: Arduino Nano works only one time and then the computer does not recognize it  (Read 2995 times)
0 Members and 1 Guest are viewing this topic.
Israel
Offline Offline
Full Member
***
Karma: 0
Posts: 137
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I got a few Arduino Nanos (clones from China). I installed the FTDI drivers. I connected the first one to my computer - all is fine. I uploaded my sketch and it runs with no problems.
I then connected the same one to the computer and all of the sudden, windows will not recognize the device! It shows up as unknown device. What the hell? I rebooted, uninstalled and re-installed the drivers but that did not solve it. No matter what I do, windows will recognize it any more. Tried it on another computer - same results.
I bought 20 of those and already tried 4 of them with the same result - first time I connect it, it's all good - it shows up as a serial port. Next time I connect it, windows will not recognize it!
I tried without uploading a sketch i.e., just connect it to the PC, see it in the device manager, unplug it and plug it again - same result, second time it will not be recognized!

Has anyone encountered this before?
Logged

Seattle, WA USA
Online Online
Brattain Member
*****
Karma: 642
Posts: 50434
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Better get the sketch right the first time, eh?
Logged

Israel
Offline Offline
Full Member
***
Karma: 0
Posts: 137
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yeah smiley-sad

Logged

Scotland
Offline Offline
Edison Member
*
Karma: 26
Posts: 1343
Have you had your Arduino fix today?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

If you have a meter - check the components around the ftdi, if all measures OK then plug in to usb and chase the voltages. You can send them here to be tested/repaired (may not be worth it for P&P).
Logged

Drew.
http://www.uk-pcb.co.uk - My UK Based PCB Fab & Assembly Company
Design work undertaken
SMD & Thru-Hole assembly

Israel
Offline Offline
Full Member
***
Karma: 0
Posts: 137
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I don't have any way to test components...
Logged

Israel
Offline Offline
Full Member
***
Karma: 0
Posts: 137
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Think I have nothing to loose, I started playing with the reset button. Guess what! If I keep the reset button pressed while connecting the USB cable, suddenly windows will recognize it as a USB serial port.
Any ideas?
Logged

UK
Offline Offline
Shannon Member
****
Karma: 223
Posts: 12630
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Maybe some sort of timing issue? Although I have no idea why it would behave differently at the first connection. When you say you 'tried it on another computer - same results' do you mean that on the other computer it worked as normal on the first connection? This would suggest that something is changing on the host when you make the first connection. What OS and what USB drivers are you using?
Logged

I only provide help via the forum - please do not contact me for private consultancy.

Israel
Offline Offline
Full Member
***
Karma: 0
Posts: 137
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Before I discovered that holding the reset button down while plugging in the USB cable fixes the problem:

On another computer it never worked i.e., the only time it worked was the FIRST connection ever, regardless of the computer its connected to.
Logged

Israel
Offline Offline
Full Member
***
Karma: 0
Posts: 137
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I need another solution. The device will be in an enclosure with no access to the reset button.
Logged

UK
Offline Offline
Shannon Member
****
Karma: 223
Posts: 12630
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

That suggests some sort of hardware damage then, during that initial connect/disconnect

It may be a design fault or bad component choice that you can't do anything about. The only thing I can think of that you may be able to influence, is the order in which the USB pins make contact. Which should be defined by the USB standard, but if hypothetically you had an out-of-spec Chinese copy of a USB port it may be connecting/disconnecting in the wrong order.

If there was something like that going on, you might be able to avoid the problem (with new Nanos that have not already been 'blown') by disconnecting from the PC end, where you are presumably using a known good host port and cable. No reason at all to think this is at all likely, but it's the only thing I can think of that you have any chance to influence, so you have nothing to lose by trying.
Logged

I only provide help via the forum - please do not contact me for private consultancy.

NE PA
Offline Offline
Full Member
***
Karma: 5
Posts: 156
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I need another solution. The device will be in an enclosure with no access to the reset button.

If you really had to you could run a switch to the reset and gnd pins and place the switch so its accessible from outside the enclosure.

Is it also a chinese ftdi? The reason i ask is because it sounds to me like a driver problem. Ive had tons of weird usb related problems like this in the past. Sometimes the pc wouldnt recognize the device even after rebooting a dozen times and then suddenly everything would work.
Logged


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

Hello,
I bought a Nano from Littlebird electronics and another through ebay. The first one I have uploaded to it many of times and had some trouble with data corruption so I bought the other one to ensure that it was not the chips fault. To my discovery it was my software that was causing the issue. Any way my point is that I have had 1 nano which I have uploaded maybe 50 times and another also 50 times now as I keep swapping and changing. Now I can not connect to either of them because my windows 7 keeps telling me that the device has not installed correctly. I have pointed windows to the Arduino drivers and still no solution. This has been happening for a while on some of my usb ports but if I changed to a different port it would install correctly. Now all of my ports (4 of them) will not install the correct drivers. What is going on here it seems like a common problem but do not see any solutions. Why has this suddenly happened, is it windows update that has caused this?
Logged

UK
Offline Offline
Shannon Member
****
Karma: 223
Posts: 12630
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Have you tried deleting the old/failed/brokendevices via Hardware manager, and uninstalling the driver? It would prompt to reinstall via PnP when you reconnect the Arduino.
Logged

I only provide help via the forum - please do not contact me for private consultancy.

Israel
Offline Offline
Full Member
***
Karma: 0
Posts: 137
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ok, here is the thing:

I have 20 of them. Some are labeled "Funduino" and some "Arduino".
After I reboot my computer, all of the sudden ALL of them work the first time I connect them. If I disconnect and re-connect, about 10 will not be recognized by windows.
The thing is, if one is not recognized by my computer and I connect it to another, it still will not recognized...

Anyway, I am baffled...

I was pointed by Robert that the FT232R requires the TEST pin to be connected to GND. I tried to do that on one of the Arduinos that was "acting up" (i.e., first connection is successful but successive connections fail). That seems to make a successful connection every time.
This is not a workable solution for me since they are all soldered to my PCB and I don't have a the tools to remove them.

If this is the solution, why are the Arduino Nano schematics and design not updated?
« Last Edit: January 19, 2013, 03:04:23 pm by szangvil » Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17303
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ok, here is the thing:

I have 20 of them. Some are labeled "Funduino" and some "Arduino".
After I reboot my computer, all of the sudden ALL of them work the first time I connect them. If I disconnect and re-connect, about 10 will not be recognized by windows.
The thing is, if one is not recognized by my computer and I connect it to another, it still will not recognized...

Anyway, I am baffled...

I was pointed by Robert that the Atmega328 requires the TEST pin to be connected to GND. I tried to do that on one of the Arduinos that was "acting up" (i.e., first connection is successful but successive connections fail). That seems to make a successful connection every time.
This is not a workable solution for me since they are all soldered to my PCB and I don't have a the tools to remove them.

If this is the solution, why are the Arduino Nano schematics and design not updated?

Where is this 'TEST' pin you speak of? I don't see it on the nano version 3.0 schematic drawing? Got a link?

http://arduino.cc/en/uploads/Main/ArduinoNano30Schematic.pdf

Lefty
« Last Edit: January 19, 2013, 02:21:10 pm by retrolefty » Logged

Pages: [1] 2   Go Up
Jump to: