avrdude-dev
[Top][All Lists]
Advanced

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

Re: [bug #60008] linuxspi programmer does not seem to release AVR reset


From: Ralf Herrmann
Subject: Re: [bug #60008] linuxspi programmer does not seem to release AVR reset when finished
Date: Thu, 11 Feb 2021 14:53:06 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Dear Alexander,

   <https://savannah.nongnu.org/bugs/?60008>

                  Summary: linuxspi programmer does not seem to release AVR
reset when finished

...

linuxspi.c and did not see any code that releases the reset
GPIO line of the AVR.

is it rather about supporting "-E noreset" for linuxspi programmer, which
is currently unsupported?

No, i did not mean to refer to this option.

When you select linuxspi as your programmer in r1450,
avrdude will put the AVR into reset via GPIO, do all the operations
you ask from it (e.g. upload new flash image), and then exit.

During avrdude exit, AVR reset is never deactivated, i.e. it remains
in reset state. You have to manually release the reset via GPIO to be
able to work with the AVR when you used avrdude to do something.

As i wrote in my bug report, i'm not sure if it was intended like this,
however, an old version of avrdude with support for linuxspi and
reset GPIO which i found does indeed release the AVR reset before it
finishes.

Thx,

Ralf



reply via email to

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