Thanks for your hints, I just tried them and with the config file
snippet in  (see below) I managed to read the signature, the fuses
and the lockbits via avrdude! I also verfied every reading using AVR
Studio - all of them are okay. Unfortunately, reading the eeprom as well
as the flash isn't working. In both cases, avrdude just hangs with this
Funny thing is: When I comment the "page_size" as well as the
"num_pages" parameters from the eeprom section I can successfuly read
the eeprom. Appyling the same "trick" to the flash section is not
working (avrdude then complains about "Floating point exception"). Seems
that we're almost there but I need a little more help. Any ideas?
: Partly working config file snippet for ATmega406
> hubert-b@... wrote:
>> I'm trying to add support for ATmega406 to the avrdude.conf but
>> apparently, this MCU does not support the "SPI Serial Instruction
>> Programming Set", so I don't know what to enter in the "pgm_enable",
>> "chip_erase", "read", "write", "loadpage", etc. sections.
> I think you could simply omit those in that case. The JTAG ICE code
> will never reference them anyway.
>> Can someone assist me on that? I already have the "JTAG Instruction
>> Programming Set" of the ATmega406, but those instructions are split
>> into a TDI and a TDO part.
> AVRDUDE doesn't talk JTAG by itself, it always relies on tools like
> the JTAGICEmkII or AVR Dragon for that. Thus, the low-level JTAG
> instructions are not needed here. (The communication with the ICE or
> Dragon is described in appnote AVR067, this is what AVRDUDE uses.)