avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] Does anyone know how to write avrdude configuration f


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] Does anyone know how to write avrdude configuration file effectively ?
Date: Mon, 1 Mar 2010 13:53:44 +0100 (MET)

In article <address@hidden> you write:

>I saw that the there is much more info required than actually
>provided in the official help file of avrdude, there is no
>explanation about many things that are actually used in Atmega8
>configuration which I have decided to use as reference.

Sorry, the documentation for this might really be outdated.

>( for FLASH memory)
>
>mode  = 0x21;
> delay  = 6;
> blocksize = 64;
> readsize = 256;

These are parameters from various sections of the Atmel XML part
description file, which are required in order to talk with Atmel tools
(STK500, STK600, AVRISPmkII, JTAG ICE mkII, AVR Dragon).

Some of them map to the datasheet (like the "delay" parameter here),
most others are internal to the STK500v2 (in this case) firmware.

Unfortunately, there's currently no one-stop method to generate these
from the XML file.  Some of the parameter blocks (like the debugWire
parameters or the high-voltage programming ones) can be generated with
xslt, using .xsl "style sheets" from the tools/ subdirectory, others
(like STK500v2 ISP parameters) are unfortunately still created by
copy&pasting an existing entry, and then manually verify against the
XML file section.
-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

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




reply via email to

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