Show Posts
Pages: [1]
1  Using Arduino / Installation & Troubleshooting / Re: Arduino Mini 04 with ATmega328 on: May 09, 2011, 09:11:10 am
FANTASTIC smiley smiley-mr-green smiley-grin

Adding the new board type worked for me.

Thanks for you help.

2  Using Arduino / Installation & Troubleshooting / Re: Arduino Mini 04 with ATmega328 on: March 28, 2011, 11:22:31 am

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.

No dice...

My circuit:

When I try to upload a sketch I always get the same output as everyone else with Mini upload problems:

"Binary sketch size: 2180 bytes (of a 14336 byte maximum)
C:\Program Files (x86)\arduino-0022\hardware/tools/avr/bin/avrdude -CC:\Program Files (x86)\arduino-0022\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega168 -cstk500v1 -P\\.\COM4 -b19200 -D -Uflash:w:C:\Users\saec-kv\AppData\Local\Temp\build6545575129176962314.tmp\AnalogInput.cpp.hex:i

avrdude: Version 5.4-arduino, compiled on Oct 11 2007 at 19:12:32
         Copyright (c) 2000-2005 Brian Dean,

         System wide configuration file is "C:\Program Files (x86)\arduino-0022\hardware/tools/avr/etc/avrdude.conf"

         Using Port            : \\.\COM4
         Using Programmer      : stk500v1
         Overriding Baud Rate  : 19200
avrdude: ser_open(): setting dtr
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Recv:
avrdude: stk500_getsync(): not in sync: resp=0x20
avrdude: Send: Q [51]   [20]
avrdude: Recv:
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0xcc

avrdude done.  Thank you."

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...


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.

Sorry for the long post.

Any Ideas?


Pages: [1]