From a4635809452d5ed38a02439968b3250d5c3f59eb Mon Sep 17 00:00:00 2001 From: joerg_wunsch Date: Wed, 10 Jan 2018 06:59:26 +0000 Subject: [PATCH] patch #9506: Script to create device configuration stub from Atmel ATDF files Thanks to Morten Engelhardt Olsen for his contribution! git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1406 81a1dc3b-b13d-400b-aceb-764788c761c2 --- ChangeLog | 6 + NEWS | 5 +- tools/atdf-to-avrdude.xslt | 224 +++++++++++++++++++++++++++++++++++++ 3 files changed, 234 insertions(+), 1 deletion(-) create mode 100644 tools/atdf-to-avrdude.xslt diff --git a/ChangeLog b/ChangeLog index 1f1bff35..b1c7a006 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2018-01-10 Joerg Wunsch + + Submitted by Morten Engelhardt Olsen + patch #9506: Script to create device configuration stub from Atmel ATDF files + * tools/atdf-to-avrdude.xslt: New script + 2018-01-10 Joerg Wunsch Submitted by Jan Egil Ruud diff --git a/NEWS b/NEWS index 9b9671fd..2ca40b6a 100644 --- a/NEWS +++ b/NEWS @@ -41,8 +41,11 @@ Current: patch #9482: Add support for UPDI and AVR8X patch #9508: Add PowerDebugger and XPlained Mini in UPDI mode patch #9507: Fix UPDI chip erase - + patch #9506: Script to create device configuration stub from Atmel + ATDF files * Internals: + - New avrdude.conf keyword "family_id", used to verify SIB attributes + on AVR8X architecture if device is locked. Version 6.3: diff --git a/tools/atdf-to-avrdude.xslt b/tools/atdf-to-avrdude.xslt new file mode 100644 index 00000000..b4ad4037 --- /dev/null +++ b/tools/atdf-to-avrdude.xslt @@ -0,0 +1,224 @@ + + + + + + + + + + + + + + + + + No support for architecture '' + + + + + + + + + + + + + + + + + + + + + + + + + + + + part parent ""; + id = ""; + desc = ""; + signature = ; + + + + + + ; + + + + + + + + + + + + + + + + + + + + No memory-segment named '' + + + More than one memory-segments named '' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + memory "" + size = ; + offset = ; + page_size = ; + readsize = 0x100; + ; + + + + + + #------------------------------------------------------------ + # + #------------------------------------------------------------ + + + + + + + + + + + + + + + Unable to deduce device id from '' + + + + + + + + + .avr8x_tiny + .avr8x_mega + + Unable to deduce parent name from '' + + + + + + + + + + + + + + + + + + + + + + + + Provided value is not hexadecimal... + + + + + + + + + + + + + + + + + +