avrdude-dev
[Top][All Lists]
Advanced

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

[avrdude-dev] [bug #50480] Add support of at*****A devices


From: Vasily Trotskyi
Subject: [avrdude-dev] [bug #50480] Add support of at*****A devices
Date: Tue, 7 Mar 2017 15:46:05 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0

Follow-up Comment #4, bug #50480 (project avrdude):

I combined files from two Atmel packs
/Program Files (x86)/Atmel/Studio/7.0/packs/atmel/ATmega_DFP/1.1.130
and /Program Files (x86)/Atmel/Studio/7.0/packs/atmel/ATtiny_DFP/1.1.102

Then run script to see deference between A and not A signatures
#!/bin/bash
#Files with A in the end of name
AFILES=`ls ./atdf/ | grep .*A.atdf`
for afile in $AFILES
do
  #remove A from end of file name and check if file exists
  notafile=${afile//A.atdf/.atdf}
  if [ -f ./atdf/$notafile ]; then
        sign=`cat ./atdf/$notafile | grep SIGNATURE[012]`
        asign=`cat ./atdf/$afile | grep SIGNATURE[012]`
        #compare signatures of A and not A version
        if [ "$sign" != "$asign" ]; then
                echo "$afile"
                echo "$asign"
                echo "$notafile"
                echo "$sign"
        fi
  fi
done

output:
ATmega324PA.atdf
          <property name="SIGNATURE0" value="0x1e"/>
          <property name="SIGNATURE1" value="0x95"/>
          <property name="SIGNATURE2" value="0x11"/>
ATmega324P.atdf
          <property name="SIGNATURE0" value="0x1e"/>
          <property name="SIGNATURE1" value="0x95"/>
          <property name="SIGNATURE2" value="0x08"/>


so only one MCU signatures is not equal for A and non-A versions.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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