avrdude-dev
[Top][All Lists]
Advanced

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

[avrdude-dev] [bug #53839] ATtiny and Programmer running after download


From: Michael Sadaway
Subject: [avrdude-dev] [bug #53839] ATtiny and Programmer running after download done
Date: Fri, 4 May 2018 19:40:23 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48

Follow-up Comment #3, bug #53839 (project avrdude):

There are still applications in which chips are programmed separately outside
the devices in which they are eventually installed. After all, some AVR chips
are still sold in DIPs to facilitate this.

However, even if you discount this case and even if you are O.K. with letting
the newly programmed chip run immediately after programming it, there is still
johnbarr's "bug #2" to consider.

For chips with a limited number of pins, i.e., the ATtiny84 and 85, the same
pins used for programming the chips are often also used as I/O pins in the
application.

We have noticed that if the code downloaded to the chip runs and outputs
signals to either the MISO or MOSI pin, AVRDUDE apparently responds by
generating signals on the SCK pin.

If the SCK pin is used as an input pin in the application, this can have
undesirable effects.

In johnbarr's case, the SCK pin is also used as an input from a switch, and
the SCK signals generated by AVRDUDE after the chip is programmed activate the
switch input and cause his code to modify EEPROM.

In another application, the unwanted SCK signals could have a different
undesirable effect.

It would be better if AVRDUDE didn't send any signals to a chip once it has
been programmed.


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?53839>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

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