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
How to communicate with ATMEL AT89s52
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: How to communicate with ATMEL AT89s52
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?
-
- Posts: 5
- Joined: Sun May 25, 2014 6:14 am
Re: How to communicate with ATMEL AT89s52
No I don't see it. Can you suggest a program I can use to get into the Atmel at89s52
Thanks Eddie
Thanks Eddie
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: How to communicate with ATMEL AT89s52
Atmel Studio, maybe?
http://www.atmel.com/microsite/atmel_studio6/
http://www.atmel.com/microsite/atmel_studio6/
-
- Posts: 5
- Joined: Sun May 25, 2014 6:14 am
Re: How to communicate with ATMEL AT89s52
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
I already have a programming cable assembly. (adafruit)
Thanks Eddie
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
-
- Posts: 5
- Joined: Sun May 25, 2014 6:14 am
Re: How to communicate with ATMEL AT89s52
That works to write to it I just don't know how to read or edit what's on the chip?
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: How to communicate with ATMEL AT89s52
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>"
-
- Posts: 5
- Joined: Sun May 25, 2014 6:14 am
Re: How to communicate with ATMEL AT89s52
Thanks, I appreciate your time.
Eddie
Eddie
Please be positive and constructive with your questions and comments.