Go Down

Topic: how can I get the Atmega32 working with arduino ide (Read 1 time) previous topic - next topic

icemetal

I been trying to run the IDE with the atmega32 I had successfully installed the bootloader on the atmega32 with the ATmegaBOOT_32.hex, and LED blinks on port DB0, but I can't communicated with the atmega32 what configurations I need to do on the IDE to communicate.

CrossRoads

Start by running IDE in verbose mode, check the error messages that are coming back.
In IDE 1, you can turn that on under File:Preferences.

Typically what happens is that the IDE and the bootloader are not using the same serial speed.
Check the boards.txt file you are using, may have to adust the speed there.
If you know the speed the bootloader is using, that makes it easier. Otherwise you may have to experiment.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

icemetal

#2
May 27, 2012, 12:05 am Last Edit: May 27, 2012, 12:22 am by icemetal Reason: 1
Thank you I finally got it working, well kinda, , I can program the atmega32 with the arduino ide only one time, after I burn the bootloader, and after that it does not connect anymore, and I get this error
Binary sketch size: 948 bytes (of a 28672 byte maximum)
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51


I got the bootloader from this site
http://avrprogrammers.com/proj_dev40.php

Go Up