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

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

Re: [avr-gcc-list] avrdude: Cannot program ATmega8 using JTAG ICE mkII


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] avrdude: Cannot program ATmega8 using JTAG ICE mkII
Date: Sat, 13 Jan 2007 23:59:14 +0100
User-agent: Mutt/1.5.11

As Shaun Jackman wrote:

> I read the protocol documentation that Atmel provides and found that
> the status code of 0x80 is the warning STATUS_CMD_TOUT `Command timed
> out'. avrdude doesn't currently handle this status code and exits.
> What should it do? This warning was in response to a
> CMD_PROGRAM_FLASH_ISP (0x13) command.

Well, it could probably handle the error more gracefully -- but it
would fail anyway.

Sigh.  That's yet another case where Atmel has silently modified
parameters in their XML files.  Between AVR Studio build 452 (the XML
files our initial STK500v2 implementation has been based on), and
build 460 (final AVR Studio 4.12), the delay values for flash and
EEPROM of the ATmega8 have been bumped.

Please change the delay value in the ATmega8 section of your
avrdude.conf from 6 to 10 for the "flash" memory, and from 10 to 20
for the "eeprom" memory area.

-- 
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]