erase programing

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,

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,

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

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.

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,