[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avrdude-dev] attiny10 with ftdi and bitbang
From: |
René Liebscher |
Subject: |
Re: [avrdude-dev] attiny10 with ftdi and bitbang |
Date: |
Tue, 03 Jul 2012 09:52:27 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 |
Hi,
FT232R is supported by ftdi_syncbb (see files ft245r.* in svn
repository). But this does not support TPI.
Regards
Rene Liebscher
Am 03.07.2012 06:43, schrieb Darell Tan:
Hi Matt,
avrdude uses regular serial ports for bitbang programmers. The FTDI
chips appear as a virtual serial port, so they have to play by the
rules. The receive pin is used to receive, therefore it doesn't make
sense for a program to be able to control this line for output.
However, FTDIs also have another GPIO-like mode, in which all (?) pins
can be used for general purpose I/O. When used in this mode, the
serial port restrictions don't apply because they aren't serial ports
any more. This is what the "avrftdi" programmer uses, though TPI isn't
implemented there, and I think FT232R's are not supported. I may be
wrong about this though.
Well at least you got it to work :) If you want the convenience,
you'll have to use an FTDI breakout board instead.
--
Regards,
Darell Tan
On Tue, Jul 3, 2012 at 1:06 AM, matthew venn [1]<address@hidden> wrote:
Dan,
sorry I should have made that clear. I'm using the ftdi cable (5v version)
and I'm doing the reset by hand. Tying it low then trying to program. Though
I don't know why avrdude can't do it.
I used libusb to write a test program to test all the pins of the ftdi
cable, and can use all the 4 pins as outputs (didn't test inputs). However,
avrdude can't seem to make full use of all the pins so I skipped reset as I
can do this easily myself.
Cheers,
Matt
--
Matthew Venn
mattvenn.net
_______________________________________________
avrdude-dev mailing list
address@hidden
[3]https://lists.nongnu.org/mailman/listinfo/avrdude-dev
References
1. mailto:address@hidden
2. mailto:address@hidden
3. https://lists.nongnu.org/mailman/listinfo/avrdude-dev
- Re: [avrdude-dev] attiny10 with ftdi and bitbang, (continued)
- Re: [avrdude-dev] attiny10 with ftdi and bitbang, Hannes Weisbach, 2012/07/03
- Re: [avrdude-dev] attiny10 with ftdi and bitbang, Hannes Weisbach, 2012/07/08
- Re: [avrdude-dev] attiny10 with ftdi and bitbang, Darell Tan, 2012/07/09
- Re: [avrdude-dev] attiny10 with ftdi and bitbang, Hannes Weisbach, 2012/07/09
- Re: [avrdude-dev] attiny10 with ftdi and bitbang, Darell Tan, 2012/07/09
- Re: [avrdude-dev] attiny10 with ftdi and bitbang, Hannes Weisbach, 2012/07/09
- Re: [avrdude-dev] attiny10 with ftdi and bitbang, Darell Tan, 2012/07/09
- Re: [avrdude-dev] attiny10 with ftdi and bitbang, Hannes Weisbach, 2012/07/09
- Re: [avrdude-dev] attiny10 with ftdi and bitbang, Darell Tan, 2012/07/09
- Re: [avrdude-dev] attiny10 with ftdi and bitbang, Joerg Wunsch, 2012/07/09
- Re: [avrdude-dev] attiny10 with ftdi and bitbang,
René Liebscher <=