FTDI as ISP - grief on my end, any ideas?

Krupski: because I know a 'Doze user:

  • Probably doesn't have a Windows compiler
  • Probably wouldn't know what to do if he/she did have one
  • Probably doesn't even know what a "compiler" or "assembler" is
  • Probably is still looking for the proper icon to click for the last console mode program I uploaded

you have listed just a few of the advantages to winders and main reasons the Anything But MS (aka The One Percent, aka The No pain No Gain, aka If You Cant Take A Joke) crowd dislike it. we kid but there is underlying truth.

i know those items (except maybe #3) are usually true in my case.

regarding the eevblog thread i took part in that original discussion and insisted only the clones worked properly but came under attack big time. even cause to doubt what was genuine or fake in my own collection. now of course its common knowledge by ftdi own admission http://www.ftdichip.com/Support/Documents/TechnicalNotes/TN_120_FT232R%20Errata%20Technical%20Note.pdf.

like in the laurie anderson song... "right again".

Oh, a Laurie Anderson fan. So that explains your speaking in riddles. You probably listened to that Big Science LP one too many times. You've got to watch your exposure to that stuff, it'll mess you up. It can be fixed for some people by listening to Hall & Oates Greatest Hits. Your mileage may vary.

haha… only if you consider maybe 800 times over the years too much. and yes my original was vinyl replaced with cd after that wore out to skippy-dom. in fact was listening to the mp3 album just now triggered by my own quote. i dont know if you caught her performance on late night show couple weeks ago but she really has gone to the dogs.

let x=x

This works for me on an ATtiny85 with FTDI as ISP:

avrdude -p t85 -i 20 -P ft0 -c ft232r -s -e -v -v
avrdude: Version 6.1, compiled on Sep  8 2015 at 09:40:37
        Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
        Copyright (c) 2007-2014 Joerg Wunsch

        System wide configuration file is "/etc/avrdude.conf"
        User configuration file is "/home/joachim/.avrduderc"
        User configuration file does not exist or is not a regular file, skipping

        Using Port                    : ft0
        Using Programmer              : ft232r
        Setting isp clock delay        :  20
ft245r:  spi bitclk 75000 -> ft baudrate 150000
        AVR Part                      : ATtiny85
        Chip Erase delay              : 4500 us
        PAGEL                         : P00
        BS2                           : P00
        RESET disposition             : possible i/o
        RETRY pulse                   : SCK
        serial program mode           : yes
        parallel program mode         : yes
        Timeout                       : 200
        StabDelay                     : 100
        CmdexeDelay                   : 25
        SyncLoops                     : 32
        ByteDelay                     : 0
        PollIndex                     : 3
        PollValue                     : 0x53
        Memory Detail                 :

                                 Block Poll               Page                       Polled
          Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
          ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
          eeprom        65     6     4    0 no        512    4      0  4000  4500 0xff 0xff
          flash         65     6    32    0 yes      8192   64    128  4500  4500 0xff 0xff
          signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00
          lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
          lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
          hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
          efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
          calibration    0     0     0    0 no          2    0      0     0     0 0x00 0x00

        Programmer Type : ftdi_syncbb
        Description     : FT232R Synchronous BitBang
        Pin assignment  : 0..7 = DBUS0..7
          VCC     =  (not used)
          BUFF    =  (not used)
          RESET   =  4
          SCK     =  0
          MOSI    =  2
          MISO    =  1
          ERR LED =  (not used)
          RDY LED =  (not used)
          PGM LED =  (not used)
          VFY LED =  (not used)

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e930b
avrdude: safemode: lfuse reads as E2
avrdude: safemode: hfuse reads as DF
avrdude: safemode: efuse reads as FF
avrdude: erasing chip

avrdude: safemode: lfuse reads as E2
avrdude: safemode: hfuse reads as DF
avrdude: safemode: efuse reads as FF
avrdude: safemode: Fuses OK (E:FF, H:DF, L:E2)

avrdude done.  Thank you.

/Joe

How do you have it wired for that?

How do you have it wired for that?

[b]
     ATtiny              FTDI
   ----------------------------   
   1: PB5 (RESET) <----   DTR
   4: GND         <--->   GND
   5: PB0 (MOSI)  <----   RTS
   6: PB1 (MISO)  ---->   RX
   7: PB2 (SCK)   <----   TX
[/b]

By means of this modification:

ce357f35309e87c0b08030bd9ddb80c67db942e6.jpg

And this settings in ‘/etc/avrdude.conf’:

[b]
programmer
  id    = "ft232r";
  desc  = "FT232R Synchronous BitBang";
  type  = "ftdi_syncbb";
  connection_type = usb;
  miso  = 1;  # RxD
  sck   = 0;  # TxD
  mosi  = 2;  # RTS
  reset = 4;  # DTR
;

[/b]

Edit: programmer settings corrected!

/Joe

john1993: you have listed just a few of the advantages to winders and main reasons the Anything But MS (aka The One Percent, aka The No pain No Gain, aka If You Cant Take A Joke) crowd dislike it. we kid but there is underlying truth.

I despise Microsoft for a number of reasons.

JoeSto:
By means of this modification:

ce357f35309e87c0b08030bd9ddb80c67db942e6.jpg

Is that an EPROM type window on the FTDI chip, or just a sticker?

No, its only a sticker/mark

/Joe

JoeSto: No, its only a sticker/mark

/Joe

Kinda figured it was since a quartz window is usually fused to a CERAMIC package and there's no reason (I can imagine) why an FTDI would need to be erasable and if it DID need to be erased then why not flash or EEPROM?

Still, you have to admit that it LOOKS like a window!

P.S. That's the exact same FTDI boards that I have (aside one overpriced board from a "Fun" company).