avrdude-dev
[Top][All Lists]
Advanced

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

Re: [avrdude-dev] Using a FT232HL in slow bitbang mode


From: Ing. Daniel Rozsnyó
Subject: Re: [avrdude-dev] Using a FT232HL in slow bitbang mode
Date: Wed, 19 Jun 2013 11:23:18 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121026 Thunderbird/16.0.2

It still operates on the AD bus only in 8 bit mode.
Is it hard to get that to work on the FT232HL's AC bus too ? Maping to avrdude pin numbers 8-15 (or 9-16). The schematics we used is attached.

Daniel


On 06/17/2013 10:23 PM, René Liebscher wrote:
Hi,

there was still a problem in the first patch, so it reads the
samecontent for bitbanging and mpsse after the patch but this was both
wrong compared to the state before.

This is now fixed, eeprom should now work, and it uses mpsse when the
correct pins are used and falls back to bitbanging when using other pins.

Any comments?


René Liebscher


On 16.06.2013 23:03, René Liebscher wrote:
Hi,

for a first try you might test the attached patch. It modifies avrftdi
(not ftdi_syncbb, so you have to modify your conf entry).

It changes the avrftdi to use bitbanging over mpsse (using the set
bits commands) and disables the pin check for now. (eeprom writing
might not work.)

With my FT2232D it reads an ATmega168 in 27s (which was 4s using
mpsse). However I do not own any FT232H hardware so I can not do any
further checks.


Kind regards

René Liebscher


On 15.06.2013 22:59, "Ing. Daniel Rozsnyó" wrote:
Hi,
  would somebody on this list try to implement this? We can lend the
hardware for testing if required and even offer some compensation
/payment/.

  Would be nice to have a really universal soft-BB for FTDI chips.

Thanks,

Daniel Rozsnyo


On 06/06/2013 11:25 PM, René Liebscher wrote:
Hi,

currently only FT232R/FT245R are supported, for other chips one had to
extend this module.

René


On 06.06.2013 21:44, "Ing. Daniel Rozsnyó" wrote:
Hi,
  how can I make use of pins AC3~AC7 on a FT232HL for bitbang
programming an AVR?

  I naturally tried to count the pins in order AD0..AD7,AC0-AC9, but
avrdude is complaining:


$ avrdude -p atmega32 -c prob-hand -P usb -b 9600
avrdude: BUFF: Following pins are not valid pins for this function: 16
avrdude: RESET: Following pins are not valid pins for this
function: 12
avrdude: SCK: Following pins are not valid pins for this function: 13
avrdude: MOSI: Following pins are not valid pins for this function: 15
avrdude: MISO: Following pins are not valid pins for this function: 14
         Pin assignment  : 0..7 = DBUS0..7
           VCC     =  (not used)
           BUFF    =  16
           RESET   =  12
           SCK     =  13
           MOSI    =  15
           MISO    =  14
           ERR LED =  (not used)
           RDY LED =  (not used)
           PGM LED =  (not used)
           VFY LED =  (not used)

avrdude done.  Thank you.


CONFIG:


programmer
  id    = "prob-hand";
  type  = "ftdi_syncbb";
  connection_type = usb;
  usbvid = 0x0403;
  usbpid = 0x6014;
  reset = 12;
  sck   = 13;
  miso  = 14;
  mosi  = 15;
  buff  = 16;
;


Is there a trick or the support is just not there?

Thanks,

Daniel

_______________________________________________

_______________________________________________
avrdude-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/avrdude-dev



_______________________________________________
avrdude-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/avrdude-dev

Attachment: ft232hl_buff.png
Description: PNG image


reply via email to

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