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

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Matthijs Kooijman-2
URL:
  <http://savannah.nongnu.org/bugs/?50480>

                 Summary: Add support of at*****A devices
                 Project: AVR Downloader/UploaDEr
            Submitted by: sigman
            Submitted on: Tue 07 Mar 2017 02:22:08 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: sigmaN
        Originator Email:
             Open/Closed: Open
                 Release: 6.3
         Discussion Lock: Any
     Programmer hardware: all
             Device type: atmega8A

    _______________________________________________________

Details:

There is no support for A devices like atmega8A attiny13A...etc

Yes I know about -F option, but why we can't just add signatures for *A
devices and be happy without -F??




    _______________________________________________________

Reply to this item at:

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

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


_______________________________________________
avrdude-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev
Reply | Threaded
Open this post in threaded view
|

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

Matthijs Kooijman-2
Follow-up Comment #1, bug #50480 (project avrdude):

Please, make a survey which devices actually need a different
ID at all.  I think there are a number of A devices which just
use the same ID as their non-A counterparts.

Of course, there's nothing wrong with also adding those as
aliases as well.  With the version 6.x config file format,
adding aliases is pretty simple.

    _______________________________________________________

Reply to this item at:

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

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


_______________________________________________
avrdude-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev
Reply | Threaded
Open this post in threaded view
|

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

Matthijs Kooijman-2
Follow-up Comment #2, bug #50480 (project avrdude):

Yes, you are right  IDs are equal. Just checked datasheets...
Hm. So we only need -p parts with a and it will be done. I mean it will be
good to have out of the box -p t13a or -p m8a without manual aliasing.

    _______________________________________________________

Reply to this item at:

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

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


_______________________________________________
avrdude-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev
Reply | Threaded
Open this post in threaded view
|

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

Matthijs Kooijman-2
Follow-up Comment #3, bug #50480 (project avrdude):

I think there are actually a few devices where Atmel indeed
changed the IDs for the A devices.  They weren't very consistent
in that, alas.

That's why I've been asking for someone to take a small survey,
and add the result to this bug report (or post it to the
mailinglist).  The survey could be based on the datasheets,
or alternatively, on the Atmel Studio XML files.

    _______________________________________________________

Reply to this item at:

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

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


_______________________________________________
avrdude-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev
Reply | Threaded
Open this post in threaded view
|

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

Matthijs Kooijman-2
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/


_______________________________________________
avrdude-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev
Reply | Threaded
Open this post in threaded view
|

Re: [bug #50480] Add support of at*****A devices

Joerg Wunsch
As Vasily Trotskyi wrote:

> 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.

Спасибо большое!
--
cheers, Joerg               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)

_______________________________________________
avrdude-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev