How to communicate with ATMEL AT89s52

USB AVR Programmer and SPI interface. Adafruit's USBtinyISP.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
kj4fgi
 
Posts: 5
Joined: Sun May 25, 2014 6:14 am

How to communicate with ATMEL AT89s52

Post by kj4fgi »

How to communicate with ATMEL AT89s52 using AVRDUDE 6.1.
I tried different command lines but it just comes up with a supported chip index.
I searched the web and found it does communicate with avrdude, adafruit shows the USBtinyISP AVR Programmer Kit will.
I have a clock kit I built and the time increases by 1 minuet every 2 days so I need to get into the chip to make the adjustment.
Any Ideas or a command line?

Thanks
Eddie

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: How to communicate with ATMEL AT89s52

Post by adafruit_support_rick »

I don't see the AT89s52 in the avrdude.conf I have here. The part needs to be represented in avrdude.conf before you can target it. Do you see it in the supported chip index you get from avrdude?

kj4fgi
 
Posts: 5
Joined: Sun May 25, 2014 6:14 am

Re: How to communicate with ATMEL AT89s52

Post by kj4fgi »

No I don't see it. Can you suggest a program I can use to get into the Atmel at89s52

Thanks Eddie

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: How to communicate with ATMEL AT89s52

Post by adafruit_support_rick »


kj4fgi
 
Posts: 5
Joined: Sun May 25, 2014 6:14 am

Re: How to communicate with ATMEL AT89s52

Post by kj4fgi »

I tried it, I need a Atmel programming cable. They give you the program for free but you have to buy from them.
I already have a programming cable assembly. (adafruit)

Thanks Eddie

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: How to communicate with ATMEL AT89s52

Post by adafruit_support_rick »

Google came up with this:

I haven't watched it, but maybe it can help.

kj4fgi
 
Posts: 5
Joined: Sun May 25, 2014 6:14 am

Re: How to communicate with ATMEL AT89s52

Post by kj4fgi »

That works to write to it I just don't know how to read or edit what's on the chip?

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: How to communicate with ATMEL AT89s52

Post by adafruit_support_rick »

There are plenty of avrude tutorials on the web. The command to read the chip is essentially the same as the command to write it - you just use "flash:r:<filename>" instead of "flash:w:<filename>"

kj4fgi
 
Posts: 5
Joined: Sun May 25, 2014 6:14 am

Re: How to communicate with ATMEL AT89s52

Post by kj4fgi »

Thanks, I appreciate your time.

Eddie

Locked
Please be positive and constructive with your questions and comments.

Return to “USBtinyISP”