avr-chat
[Top][All Lists]
Advanced

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

Re: [avr-chat] avrdude, stk600, updi, attiny3216


From: Rogier Wolff
Subject: Re: [avr-chat] avrdude, stk600, updi, attiny3216
Date: Wed, 12 Jun 2019 08:17:51 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Jun 12, 2019 at 07:58:30AM +0200, Till Sellschopp wrote:
> The error messages declares a missing "pgm_enable"  of the respective part
> (attiny3216).
> In all configurations I could find, the attiny3216 or similar uC of the
> same family do not have that property. Neither do the parent parts.
> Are you aware of any ressources dealing with this topic? Currently it seems
> to me, that alle devices in the configuration file have the same
> "pgm_enable" pattern.

Just looking for "pgm_enable" in my avrdude.conf I find under "attiny12":

    pgm_enable          = "1 0 1 0  1 1 0 0   0 1 0 1  0 0 1 1",
                          "x x x x  x x x x   x x x x  x x x x";

    
Now my avrdude.conf is too old to have your '3216 device listed. 

Sometimes the error messages are not completely clear. Maybe the first
reference to the '3216 is where the code tries to look up the
pgm_enable instruction. If the lookup fails, because avrdude is
looking in a different avrdude.conf file than you, and that file
doesn't have the 3216 like mine, then yes, the lookup fialed, but the
whole device is missing.

Double check that by running avrdude under "strace" and grep for "open"
in the trace output.... 

My avrdude.conf does not have /any/ variation in the "pgm_enable"
instruction. Maybe the avrdude guys decided to remove the config
parameter from the config file. Then you have a new config file and
an old avrdude (that still requires it?) 

Try adding the pgm_enable instruction listed above. 

        Roger. 

-- 
** address@hidden ** https://www.BitWizard.nl/ ** +31-15-2049110 **
**    Delftechpark 11 2628 XJ  Delft, The Netherlands.  KVK: 27239233    **
The plan was simple, like my brother-in-law Phil. But unlike
Phil, this plan just might work.



reply via email to

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