Go Down

Topic: Arduino Mini 04 with ATmega328 (Read 9 times) previous topic - next topic

graviton2

I finally got it to work:

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.

avrdude: Recv:
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: Send: Q [51]   [20]
avrdude: Recv:
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

avrdude done.  Thank you.

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. 



Falc

Weird. I tried win xp but wihtin a vmware. I'll reinstall win xp on my test rig and give it a try

fry

Hi everybody

Same problem here. Tried it on Mac OS X 10.6.7 and Windows XP (fresh installation).

Using:
-Arduino Mini 04 with ATmega328
-Arduino Serial USB Board (connected like showed in the guide)
-Arduino SW 0022         

kivig


fry

Problem solved!

Add the following lines to boards.txt:

Code: [Select]
mini328.name=Arduino Mini with ATmega328

mini328.upload.protocol=stk500
mini328.upload.maximum_size=28672
mini328.upload.speed=115200

mini328.bootloader.low_fuses=0xff
mini328.bootloader.high_fuses=0xd8
mini328.bootloader.extended_fuses=0x05
mini328.bootloader.path=bt
mini328.bootloader.file=ATmegaBOOT_168_atmega328.hex
mini328.bootloader.unlock_bits=0x3F
mini328.bootloader.lock_bits=0x0F

mini328.build.mcu=atmega328p
mini328.build.f_cpu=16000000L
mini328.build.core=arduino


Now you can select your board "Arduino Mini with ATmega328". Do a reset 1 second before upload.

Go Up