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: NonePriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open

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 #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
  • -unavailable- added by xoriath (Submitted the item)
  • -unavailable- added by xoriath
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 30 Nov 2017 04:47:11 PM UTCxoriathAttached File-=>Added avrdude.conf.in.avr8x.patch, #42533
      Attached File-=>Added atdf-to-avrdude.xslt, #42534
    Thu 30 Nov 2017 03:31:40 PM UTCxoriathAttached File-=>Added atdf-to-avrdude.xslt, #42532
    Thu 30 Nov 2017 03:20:08 PM UTCxoriathAttached File-=>Added atdf-to-avrdude.xslt, #42531
      Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1