Pages: [1]   Go Down
Author Topic: erase programing  (Read 473 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Sr. Member
****
Karma: 0
Posts: 252
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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,
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 331
Posts: 16523
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 439
Posts: 23782
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
Sr. Member
****
Karma: 0
Posts: 252
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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,
Logged

Pages: [1]   Go Up
Jump to: