avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] program 4433 with avrdude and avrisp


From: Brian Dean
Subject: Re: [avr-gcc-list] program 4433 with avrdude and avrisp
Date: Sun, 20 Jul 2003 22:30:19 -0400
User-agent: Mutt/1.4.1i

Hi Bodo,

On Thu, Jul 17, 2003 at 12:16:21AM +0200, Bodo Gravert wrote:

> i am desperately trying to programm AT90S4433 with avrdude-4.1.0.
> The Programmer i use is an avrisp (stk500) serial device.
> The Avrdude docs state that there is an error with 4433 avr's.
> These devices need a POR cycle after fuse burning, otherwise
> the flash could not be burned.

If I recall, avrdude works around this with the 'pwroff_after_write'
flag set to 'yes' for the affected memory in the config file.  But of
course, avrdude can only do that if it has control over the
programmer's power or can direct the programmer to cycle power on the
device.  You can do this if you have a "simple" parallel port
programmer where the parallel port pins are actually used to power the
device.  However, I don't think there is a way for avrdude to
automatically do this with the STK500 type programmer.

So, I think the only thing you can do is to set your fuses in avrdude,
then exit programming mode, power off your device and then power it
back on.  Then go back into avrdude and verify your settings, they
should be correct.

> Does any one have a suggestion how to work around this problems.
> Does any one knew what is meant by PAGEL and BS2 Parameters.

These are parallel programming parameters needed by the STK500
protocol.  I don't recall if the 4433 supports parallel programming or
not.  If so, enter the correct values available from the parallel
programming section of the datasheet.  If not, just enter any non-zero
value and it should keep avrdude from complaining.

Cheers,
-Brian
-- 
Brian Dean, address@hidden
BDMICRO - Maker of the MAVRIC ATmega128 Dev Board
http://www.bdmicro.com/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]