patchAVR Downloader/UploaDEr - Patches: patch #9506, Script to create device...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #9506: Script to create device configuration stub from Atmel ATDF files

Submitted by:  Morten Engelhardt Olsen <xoriath>
Submitted on:  Thu 30 Nov 2017 03:20:08 PM UTC  
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  Joerg Wunsch <joerg_wunsch> Open/Closed:  Closed

( Jump to the original submission)

Wed 10 Jan 2018 07:00:38 AM UTC, comment #6:

Thanks for updating it, committed in r1406.

I don't think it needs to handle older architectures as well,
most of that is covered already. Even if so, it's not too
hard to me to extend it myself if needed.

Joerg Wunsch <joerg_wunsch>
Project AdministratorIn charge of this item.
Wed 10 Jan 2018 02:10:36 AM UTC, comment #5:

Hehe, I've reuploaded the XSLT under GPL (blatantly copied from the jtagice3.h file, just to be consistent).

Would there be need to support xmega/avr8 etc? New devices should come in the AVR8X style, which 'should' just work...

(file #42880)

Morten Engelhardt Olsen <xoriath>
Tue 09 Jan 2018 11:30:07 PM UTC, comment #4:

New config file committed in r1405.

Joerg Wunsch <joerg_wunsch>
Project AdministratorIn charge of this item.
Tue 09 Jan 2018 10:26:23 PM UTC, comment #3:

Thanks for the script!

I'd appreciate some kind of redistributions conditions for it.
By default, no permission is granted, so I could thus not
include it into the AVRDUDE source code (though I could, of
course, keep it sitting here in the tracker, and just use it
to generate new avrdude.conf snippets ;-).

Joerg Wunsch <joerg_wunsch>
Project AdministratorIn charge of this item.
Wed 03 Jan 2018 12:18:03 PM UTC, comment #2:

Updated patches with changes needed for https://savannah.nongnu.org/patch/?9507, added more devices and corrected id prefix for tiny's.

(file #42800, file #42801)

Jan Egil Ruud <je_ruud>
Thu 30 Nov 2017 04:47:11 PM UTC, comment #1:

Added patch for rest of AVR8X devices (and updated XSLT to indent correctly for the template)

(file #42533, file #42534)

Morten Engelhardt Olsen <xoriath>
Thu 30 Nov 2017 03:20:08 PM UTC, original submission:

XSLT2 script to create the device configuration for avrdude based on ATDF.

Currently only supports the new AVR8X architecture. Writes the part info and flash and eeprom memory information.

When run agains the ATtiny817 ATDF file from Atmel Studio, it produces:

#------------------------------------------------------------
# ATtiny817
#------------------------------------------------------------

part parent ".avr8x"
id = "tn817";
desc = "ATtiny817";
signature = 0x1E 0x93 0x20;

memory "flash"
size = 0x2000;
offset = 0x8000;
page_size = 0x40;
readsize = 0x100;
;

memory "eeprom"
size = 0x80;
offset = 0x1400;
page_size = 0x20;
readsize = 0x100;
;
;

Will run this on the new AVR8X devices that should be supported from https://savannah.nongnu.org/patch/index.php?9482 .

Morten Engelhardt Olsen <xoriath>

 

Attached Files
file #42880:  atdf-to-avrdude.xslt added by xoriath (10KiB - application/xml - Updated with GPL text)
file #42800:  atdf-to-avrdude.xslt added by je_ruud (9KiB - application/xml - Updated patches with proper id prefix for tiny's, new "family_id" and some more new devices.)
file #42801:  avrdude.conf.in.avr8x.patch added by je_ruud (17KiB - application/octet-stream - Updated patches with proper id prefix for tiny's, new "family_id" and some more new devices.)
file #42533:  avrdude.conf.in.avr8x.patch added by xoriath (11KiB - application/octet-stream - patch for conf template. XSLT indents correctly.)
file #42534:  atdf-to-avrdude.xslt added by xoriath (8KiB - application/xml - patch for conf template. XSLT indents correctly.)
file #42532:  atdf-to-avrdude.xslt added by xoriath (8KiB - application/xml - v2 of the script, forgot about the PROG base )
file #42531:  atdf-to-avrdude.xslt added by xoriath (8KiB - application/xml)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by joerg_wunsch (Posted a comment)
  • -email is unavailable- added by je_ruud (Updated the item)
  • -email is unavailable- added by xoriath (Submitted the item)
  • -email is unavailable- added by xoriath
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 12 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-01-10 joerg_wunsch StatusIn Progress => Done
        Open/ClosedOpen => Closed
    2018-01-10 xoriath Attached File- => Added atdf-to-avrdude.xslt, #42880
    2018-01-09 joerg_wunsch StatusNone => In Progress
        Assigned toNone => joerg_wunsch
    2018-01-03 je_ruud Attached File- => Added atdf-to-avrdude.xslt, #42800
        Attached File- => Added avrdude.conf.in.avr8x.patch, #42801
    2017-11-30 xoriath Attached File- => Added avrdude.conf.in.avr8x.patch, #42533
        Attached File- => Added atdf-to-avrdude.xslt, #42534
    2017-11-30 xoriath Attached File- => Added atdf-to-avrdude.xslt, #42532
    2017-11-30 xoriath Attached File- => Added atdf-to-avrdude.xslt, #42531
        Carbon-Copy- => Added -email is unavailable-

    Back to the top


    Powered by Savane 3.3