avrdude: Version 5.4-arduino, compiled on Oct 11 2007 at 19:12:32
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
System wide configuration file is "C:\Users\me\Documents\Arduino\arduino-0022\hardware/tools/avr/etc/avrdude.conf"
Using Port : \.\COM6
Using Programmer : stk500v1
Overriding Baud Rate : 19200
avrdude: ser_open(): setting dtr
And thats is nothing else it still says uploading to I/0 Board. Does it think the mini is has a ATmega 168? would that cause an issue because the mini 04 I have has an ATmega328
That isn't the problem. AVRDUDE isn't reaching the microcontroller. You could have a Motorola 68000 processor on the other end and the symptom would be the same.
avrdude: ser_open(): setting dtr
Looks like AVRDUDE is getting stuck in the kernel driver. I can think of two things to try...
Ensure you are using the latest drivers for the "mini USB extension adapter"
I seem to have the same issue. I also purchased a Mini from Sparkfun and the chip is a 328. I have tried every trick I could find on these forums and nothing seems to work.
I have circuit with a reset button...I tried to time the reset...
I have an interface with the DTR line of the Mini USB adapter (newest version). ( I copied off the the Nano schematic) This does work because the indication LED blinks 3 times when I hit upload in the IDE.
Also, after the board is reset, it does the 3 quick LED flashes to state that the bootloader is running. After a couple more seconds the LED will flash one time, with a longer on duration, and then is sends via serial the following error message:
"ERROR:pin 2-3" I cannot find any documentation of where this error message comes from. I have combed the source code for the bootloaders, avrdude, and anything else I can find. Nothing...
Lastly,
I tried to re-burn the bootloader as a normal Mini (168) and I get this error message:
avrdude: Expected signature for ATMEGA168 is 1E 94 06
Double check chip, or use -F to override this check.*
The Mini 04 needs the reset button pressed when you upload in my experience. If it has a 328 then try the Pro Mini 328 5V setting for the board. Or the duemilanova - so long as the processor and clock speed match it ought to work.
I seem to have the same problem: arduino mini4 with AtMega 28p
I use the setup as described in: http://arduino.cc/en/Guide/ArduinoMini with the usb adapter also (old version_ so different from the example_ could this affect something?)
and after resetting, the led connected to pin13 flashes 3 times, and when i press upload (also tried different timing etc.) it says:
avrdude: stk500_getsync(): not in sync: resp=0x20
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0xc)
also tried different serial ports and different boards / combinations in the tools menu but nothing seems to work
however i did notice the arduino is constantly sending 4 byte messages
captured over 5 seconds:
F5 B2 52 FA F5 86 52 FA F5 86 52 FA F5 86 22 FA F5 B6 52 FA F5 86 52 FC F5 86 52 FA F5 86 52 FA F5 86 52 FA F5 86 52 FA 49 86 52 FA F5 86 52 FA F5 B1 52 FA F5 86 22 FA F5 86 22 FA F5 86 52 FA F5 A6 52 FA F5 86 52 FA F5 B1 52 FA F5 86 52 FA
sparkfun mini usb + Sparkfun arduino mini ( with AT328 and unknowed bootloader ) : same issue, same results...
I have looked carefully on arduino pro 5V to apply the same schematic ( reset , supply , DTR connection ) on these arduino mini .
I use arduino software with arduino pro 5V 16 Mhz setting : upload start..and nothing append.
Next step : upload bootloader from arduino software, and try again. I'm waiting my tinyusb board.I have choosed these Sparkfun solution to have efficienty hardware solution : it is not : A lot of time loosed...
So I returned the Arduino 04 mini and received arduino mini pro and had the same problem. Then I thought it was the usb adapter so I ordered a the FTDI Basic Breakout - 5V. Same problem same errors.
Then I tried a different computer running windows XP and it worked! It still does not work on the 64 bit windows 7 for some reason. Both machines were using Arduino 0022. I could also be a driver issue, but I did try updating the drivers for the USB breakout board at some point and it didn't help.
I can't believe they did not publish this change on the site or better update the IDE's files. Only clue was a tiny sticker saying "328" on the mini. But that actually covered the processor so it took me some time to figure out that actually represented the processor type! This cost me half a day of development time...
But thank's a million for the solution or I would still be breaking my head over this.
I have the exact same error that daniel_melo is getting. I updated boards.txt with the new profile. No luck. FTDI and Arduino IDE are up to date, have power, etc.
This is such bull. On the bright side I think this might be the Arduino FAIL that pushes me over the edge. Time to learn to use PICs instead of wasting time and money on a company that doesn't give a shit.
I am using the same Arduino Mini 04 with Arduino 1.0 IDE . Insted of using a Mini USB adapter, I am using Arduino Duemilanove. The wiring is as follows
I get supply to the board, but When I try to upload, I get
Binary sketch size: 1026 bytes (of a 28672 byte maximum)
avrdude: stk500_getsync(): not in sync: resp=0x00
I even tried pressing shift while uploading, I get the same error