[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avrdude-dev] avrrftdi driver port selection
From: |
Jon Schneider |
Subject: |
Re: [avrdude-dev] avrrftdi driver port selection |
Date: |
Fri, 17 Jan 2014 09:16:18 +0000 |
Here is some output. I have 'scoped it. nRESET, MOSI, and SCK are being
wiggled but I don't see anything on MISO.
Jon
===
address@hidden:~$ lsusb
...
Bus 002 Device 002: ID 0403:6010 Future Technology Devices International,
Ltd FT2232C Dual USB-UART/FIFO IC
address@hidden:~$ uname -a
Linux jms-eee 3.2.0-58-generic #88-Ubuntu SMP Tue Dec 3 17:40:43 UTC 2013
i686 i686 i386 GNU/Linux
address@hidden:~$ sudo avrdude -c avrftdi -p 2313 -vvvv -P 0403:6010
avrdude: Version 5.11.1, compiled on Oct 30 2011 at 10:41:10
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "/etc/avrdude.conf"
User configuration file is "/home/jms/.avrduderc"
User configuration file does not exist or is not a regular file,
skipping
Using Port : 0403:6010
Using Programmer : avrftdi
avrdude: device: 002, serial number: ? type 0x0500 found
avrdude: Using device VID:PID 0403:6010 type 0x0500(C/D) and SN '?'.
avrdude: Using USB Interface A
avrdude info: reset pin value: 3
avrdude info: direction: 0x0000, value: 0x0000, inversion: 0x0000
FTDI LOG: 80 00 00 82 00 00
add_pins: 1: 0x0000, inv=0x0000
add_pins: 2: 0x0000, inv=0x0000
add_pin: 7: bit 0x0000 inv=0x0000
add_pin: 8: bit 0x0000 inv=0x0000
add_pin: 9: bit 0x0000 inv=0x0000
add_pin: 10: bit 0x0000 inv=0x0000
pin direction mask: 000b
pin value mask: 0000
avrdude info: clock divisor: 0x0027
avrdude info: Pin is zero val 0!
avrdude info: Pin is zero val 1!
AVR Part : AT90S2313
Chip Erase delay : 20000 us
PAGEL : P00
BS2 : P00
RESET disposition : dedicated
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 4 12 64 0 no 128 0 0
4000 9000 0x80 0x7f
Block Poll Page
Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW
MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------
----- ----- ---------
flash 4 12 128 0 no 2048 0 0
4000 9000 0x7f 0x7f
Block Poll Page
Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW
MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------
----- ----- ---------
signature 0 0 0 0 no 3 0 0
0 0 0x00 0x00
Block Poll Page
Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW
MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------
----- ----- ---------
fuse 0 0 0 0 no 1 0 0
0 0 0x00 0x00
Block Poll Page
Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW
MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------
----- ----- ---------
lock 0 0 0 0 no 1 0 0
9000 9000 0x00 0x00
Programmer Type : avrftdi
Description : FT2232D based generic programmer
avrdude info: Pin is zero val 0!
avrdude info: Pin is zero val 0!
avrdude info: Pin is zero val 0!
avrdude info: Pin is zero val 0!
avrdude info: pin 0004 bit 0008 value 0x0000
SameVal
avrdude info: Pins is zero!
avrdude info: pin 0001 bit 0001 value 0x0000
SameVal
avrdude info: pin 0004 bit 0008 value 0x0008
avrdude info: direction: 0x000b, value: 0x0008, inversion: 0x0000
FTDI LOG: 80 08 0b 82 00 00
avrdude info: pin 0004 bit 0008 value 0x0000
avrdude info: direction: 0x000b, value: 0x0000, inversion: 0x0000
FTDI LOG: 80 00 0b 82 00 00
avrdude info: pin 0004 bit 0008 value 0x0008
avrdude info: direction: 0x000b, value: 0x0008, inversion: 0x0000
FTDI LOG: 80 08 0b 82 00 00
avrdude info: pin 0004 bit 0008 value 0x0000
avrdude info: direction: 0x000b, value: 0x0000, inversion: 0x0000
FTDI LOG: 80 00 0b 82 00 00
avrdude info: pin 0004 bit 0008 value 0x0008
avrdude info: direction: 0x000b, value: 0x0008, inversion: 0x0000
FTDI LOG: 80 08 0b 82 00 00
avrdude info: pin 0004 bit 0008 value 0x0000
avrdude info: direction: 0x000b, value: 0x0000, inversion: 0x0000
FTDI LOG: 80 00 0b 82 00 00
avrdude info: pin 0004 bit 0008 value 0x0008
avrdude info: direction: 0x000b, value: 0x0008, inversion: 0x0000
FTDI LOG: 80 08 0b 82 00 00
avrdude info: pin 0004 bit 0008 value 0x0000
avrdude info: direction: 0x000b, value: 0x0000, inversion: 0x0000
FTDI LOG: 80 00 0b 82 00 00
avrdude info: pin 0004 bit 0008 value 0x0008
avrdude info: direction: 0x000b, value: 0x0008, inversion: 0x0000
FTDI LOG: 80 08 0b 82 00 00
avrdude info: pin 0004 bit 0008 value 0x0000
avrdude info: direction: 0x000b, value: 0x0000, inversion: 0x0000
FTDI LOG: 80 00 0b 82 00 00
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude info: Pin is zero val 0!
avrdude info: Pins is zero!
avrdude info: pin 0004 bit 0008 value 0x0008
avrdude info: direction: 0x000b, value: 0x0008, inversion: 0x0000
FTDI LOG: 80 08 0b 82 00 00
LED Mask=0x0000 value =0x0008 &=0x0000
avrdude info: direction: 0x0000, value: 0x0000, inversion: 0x0000
FTDI LOG: 80 00 00 82 00 00
avrdude done. Thank you.
===