avrdude-dev
[Top][All Lists]
Advanced

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

Re: [avrdude-dev] avrftdi TPI support


From: Joerg Wunsch
Subject: Re: [avrdude-dev] avrftdi TPI support
Date: Wed, 8 May 2013 16:58:17 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

As Hannes Weisbach wrote:

> I have updated usbasp.c and bitbang.c. Because I don't have either
> one of those programmers I provide the changes as patch files, so
> they can be tested and applied if everything works.

Hehe, just look at the attached photos, it's really simple to build
these. :-)

However, I cannot get the "ponyser" to produce any usable TPI right
now.  I think it used to work back when I committed patch #7244 in
2011, but even if I revert SVN to that date, it just doesn't work for
me now (TPICLK is low all the time).  Thus, it doesn't make sense for
me to test the bitbang.c patch.

The usbasp.c patch doesn't work: USBasp doesn't have a cmd_tpi, so
when avr_tpi_program_enable() calls pgm->cmd_tpi(), it segfaults.
I don't understand enough of the USBasp TPI implementation to get an
idea how to establish a cmd_tpi method there.

(Besides, the TPI-capable firmware appears to have a bug, too.  It
works well in terminal mode, but when I try reading back the entire
flash using -U flash:r:foo.hex:i, I get an empty file.)

-- 
cheers, Joerg               .-.-.   --... ...--   -.. .  DL8DTL

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

Attachment: ponyser.jpg
Description: JPEG image

Attachment: usbasp.jpg
Description: JPEG image


reply via email to

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