Pages: [1]   Go Down
Author Topic: I cant upload anything to my clone arduino nano 328  (Read 447 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi everyone, I have a clone arduino nano which has ATmega328 micro controller.

My problem is, I cant upload anything via usb port to my arduino. I used my other arduino uno as ISP and I successfully uploaded something via arduino uno to my clone nano. Also I successfully done some serial communication test (I couldn't find it now) with my clone nano. The test is basically to send some data via usb serial port and read the data back from the card which has been sent before.

So the card and usb serial port works but when I try to upload something, arduino software compiles the application but it keeps waiting uploading section forever. When I try to upload application using programmer (by holding shift then clicking the upload button) I get this error;

avrdude: usbdev_open(): did not find any USB device "usb"

I selected the right com port and board also.

Thanks!
« Last Edit: July 06, 2013, 04:45:09 pm by meybivi » Logged

Offline Offline
Edison Member
*
Karma: 56
Posts: 2160
The last thing you did is where you should start looking.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Is clone design or modified to use the DTR auto reset?
Logged

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

What is DTR auto reset, I add a picture of my card

http://imgim.com/an87863.jpg

Looks like this.

"Is clone design or modified to use the DTR auto reset?"
Logged

Offline Offline
Edison Member
*
Karma: 56
Posts: 2160
The last thing you did is where you should start looking.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

DTR reset, resets the controller thus enabling the bootloader (which is responsible to load your compiled sketch).

Try this to see if the manual method works with your clone.
1. Before pressing Upload (in the IDE).
2. Hold down the Reset switch (on the clone).
3. Press Upload (in the IDE).
4. Release the Reset switch when the IDE displays Uploading.

Logged

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

I did it and this is the result  smiley-fat

Binary sketch size: 2.772 bytes (of a 30.720 byte maximum)
avrdude: stk500_getsync(): not in sync: resp=0x00
Logged

Offline Offline
Edison Member
*
Karma: 56
Posts: 2160
The last thing you did is where you should start looking.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I used my other arduino uno as ISP and I successfully uploaded something via arduino uno to my clone nano.
I don't know if this over-wrote your bootloader, if it did you can burn the bootloader then try the manual method suggested.

Perhaps others can suggest a fix.
Logged

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

Quote
I used my other arduino uno as ISP and I successfully uploaded something via arduino uno to my clone nano.
I don't know if this over-wrote your bootloader, if it did you can burn the bootloader then try the manual method suggested.

Perhaps others can suggest a fix.

I have tried before, I guess I won't be able to solve this problem. I will keep using my uno as ISP. We better to be careful about what we buy. That nano was 5 dollars  smiley
Logged

Pages: [1]   Go Up
Jump to: