Pages: [1]   Go Down
Author Topic: Cant upload to nano as 328  (Read 1263 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I got a nano from china and the reset switch was faulty and I can only upload to it if I select nano 168 as the board type.

I can fix the switch so I agreed to a partial refund rather than replacement so it ended up costing me £4 ish.

It is definately a nano v3 and the chip is definately a 328. Could it have been flashed with the wrong bootloader? I assume that by selecting 168 it will limit the size of the sketches I can upload.

If I try to upload to it as a nano 328 I get the avrdude sync error.

If I get another arduino or borrow one can I re burn the bootloader? What other reason might cause the upload issue.

If it can't be solved its no great loss as it works fine as a 168 and 99 times out of a hundred I am sure that will be fine.

Aside from program memory and RAM size is that the only difference between 168 and 328.
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 201
Posts: 8694
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The bootloader baud rate is different:

Arduino Nano w/ ATmega328
upload.speed=57600

Arduino Nano w/ ATmega168
upload.speed=19200

If you re-burn with the right bootloader it should work as an "Arduino Nano w/ ATmega328".  You can use another Arduino running ArduinoISP or a cheap programmer like a <$4 "USBasp" from Hong Kong.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

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

I have noticed that its really slow to upload sketches.. Compared to my old UNO.
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 201
Posts: 8694
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have noticed that its really slow to upload sketches.. Compared to my old UNO.

Perhaps that is due to the lower baud rate.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

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

Ok so when I said definately a 328 I was going by the specs sold to me. Now I am not so sure. My new funduino nano arrived so I set it up as an ISP. No matter what I did it would not burn nano 328 or UNO bootloader, instead it gave me an error about the slave not giving the correct fingerprint and to use -F to override. But it would let me burn the 168 bootloader to it no problems.

The chip print is too small and faded for my eyes to make out without a magnifying glass (and mines at the office).

The screen on the nano says Graitech Nano V3 2009. If it is a 168 then it's not a great loss just seems odd. But then I suppose that's the way with China bay you win some you lose some lol.

Comparing the china Gravitech nano to the funduino one the former is definately of lower quality. The LEDs are less bright the silk screen is dull and not as clean also some of the components look older.

On another note I ordered an atmega168 pro from China but they sent a 328 nano! And this one works fine reset switch and all. So now I have 2 working 328 nanos and a 168? Nano with a dodgy reset switch (soon to be repaired).
Logged

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

 Some of the Asian E-bay sellers do sell nano boards based on both the 168 and 328 chip, so perhaps they just shipped you a 168 version by mistake.

Lefty

http://www.ebay.com/itm/Iduino-NANO168-V3-5V-16Mhz-100-compatible-with-Arduino-s-IDE-/251202709931?pt=LH_DefaultDomain_0&hash=item3a7cd929ab

http://www.ebay.com/itm/Iduino-Nano-328-ATmega328-Board-V3-0-5V-16Mhz-compatible-with-Arduino-s-IDE-/190746782529?pt=LH_DefaultDomain_0&hash=item2c6964eb41
Logged

Pages: [1]   Go Up
Jump to: