Go Down

Topic: erase programing (Read 618 times) previous topic - next topic

spruce_m00se

Does anyone know of a good link on how to erase an atmega32 so that the arduino bootloader can be put onto it ?

and read off whats on it before erasure,

i have some old chips i would like to try and resuse, i have seen a link on supplying 12v to reset the fuses etc, was wondering if anyone can ellaborate on that

thanks,

retrolefty


Does anyone know of a good link on how to erase an atmega32 so that the arduino bootloader can be put onto it ?

and read off whats on it before erasure,

i have some old chips i would like to try and resuse, i have seen a link on supplying 12v to reset the fuses etc, was wondering if anyone can ellaborate on that

thanks,



First the action of burning a bootloader will erase any prior sketch. As far as reading the contents of an existing sketch then using AVRDUDE in command line mode using a hardware ISP programmer will allow that and other tasks like reading/writing fuse bytes, etc.

Lefty

CrossRoads

If you have an Atmel AVR ISP MKii I think it can do all that easily.
If you a different ISP/Programmer, may also be doable but not so easily.

The ATMega32 data sheet will tell you whether you need to erase before programming.
12V (High Voltage programming) is used to wipe out everything from what I recall in reading the '328 data sheet.

http://www.atmel.com/devices/ATMEGA32.aspx
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.

spruce_m00se

I have a
TUXGRAPHICS chip 45 AVR ISP

i guess i can use that right ? any pointers are appreciated, i havent even used this before,

i have avr studio 4. Can i use that ?
i will look for an avrdude download,

Go Up