How to add AT89S52 to avrdude support list?

View: New views
3 Messages — Rating Filter:   Alert me  

How to add AT89S52 to avrdude support list?

by Niels Lu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I have a USBasp programmer.

To program ATMEGA8, I can use avrdude.
To program AT89S52, it seems need add some part info into avrdude.conf.

Does anyone succeed programming AT89S52 with USBasp under Linux?

Just add part info into avrdude.conf or modify the avrdude source code?

Thank you.

_______________________________________________
AVR-chat mailing list
AVR-chat@...
http://lists.nongnu.org/mailman/listinfo/avr-chat

RE: How to add AT89S52 to avrdude support list?

by Matt.VanDeWerken :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In my version of avrdude (shipped with winavr-20090313), there is already an AT89S52 part defined.

Cheers,
--
Matt van de Werken
Electronics Engineer
Mining Geoscience, CSIRO Exploration & Mining
1 Technology Ct   Pullenvale   QLD   4069
P: 07 3327 4142  F: 07 3327 4455  M: 0400 538 608
E: matt.vandewerken@...
"You can't solve your problems with the same mind that created them." - Albert Einstein
-----Original Message-----
From: avr-chat-bounces+matt.vandewerken=csiro.au@... [mailto:avr-chat-bounces+matt.vandewerken=csiro.au@...] On Behalf Of Niels Lu
Sent: Thursday, 25 June 2009 5:20 PM
To: avr-chat@...
Subject: [avr-chat] How to add AT89S52 to avrdude support list?

Hi,

I have a USBasp programmer.

To program ATMEGA8, I can use avrdude.
To program AT89S52, it seems need add some part info into avrdude.conf.

Does anyone succeed programming AT89S52 with USBasp under Linux?

Just add part info into avrdude.conf or modify the avrdude source code?

Thank you.



_______________________________________________
AVR-chat mailing list
AVR-chat@...
http://lists.nongnu.org/mailman/listinfo/avr-chat

Re: How to add AT89S52 to avrdude support list?

by Joerg Wunsch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

<Matt.Vandewerken@...> wrote:

> In my version of avrdude (shipped with winavr-20090313), there is
> already an AT89S52 part defined.

No, there's no part info for it.

It requires a little more, and while this question appears to be asked
once each couple of years, nobody appears to be willing to implement
the extra logic.

If you're using a genuine STK500, it should be possible with moderate
effort to add it.  The STK500 is capable of programming these, but as
these controllers have positive reset polarity, the STK500 needs to be
instructed for that.  That requires a minor addition to the config
file parser to add the respective flag, and consequently some
modification to the stk500v2.c file.  This should be done in a way so
any other programmer type will detect it cannot support the request,
and bail out.

--
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)


_______________________________________________
AVR-chat mailing list
AVR-chat@...
http://lists.nongnu.org/mailman/listinfo/avr-chat