[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avrdude-dev] avrdude with stk500boot...
From: |
Joerg Wunsch |
Subject: |
Re: [avrdude-dev] avrdude with stk500boot... |
Date: |
Tue, 11 Sep 2007 07:10:17 +0200 |
User-agent: |
Mutt/1.5.11 |
As Neil Davey wrote:
> Reading | | 0%
> 0.00savrdude:
> Send: . [1b] . [08] . [00] . [08] . [0e] . [1d] . [04] . [04] . [00] 0
> [30] . [0
> 0] . [00] . [00] 8 [38]
> avrdude: Recv:
> avrdude: Recv:
> avrdude: Recv:
> avrdude: Recv:
> avrdude: Recv:
> avrdude: Recv:
> avrdude: Recv:
> avrdude: Recv:
> avrdude: stk500v2_command(): command failed
> avrdude: stk500v2_cmd(): failed to send command
Too bad the Win32 build of avrdude doesn't display the response bytes.
However, my guess as that this bootloader simply doesn't implement the
CMD_SPI_MULTI command (SPI passthrough). Due to the history of how
avrdude's STK500 support has been developed, this command is used
quite a lot in avrdude, but probably not at all by Atmel's stk500.exe
command.
It could/should be possible to convert most if not all of avrdude's
stk500v2 protocol handling to native commands instead, but someone has
to do it.
As an alternative, you might have a look at Matthias Weißer's USBisp
device. It also contains a bootloader that talks enough of the STK500
(v1) protocol to bootstrap the device.
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)