[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] Fwd: avrdude.conf - ftdi-section
From: |
Daniel Schulz |
Subject: |
[avrdude-dev] Fwd: avrdude.conf - ftdi-section |
Date: |
Wed, 2 Nov 2011 13:56:11 +0100 |
I sent this to Joerg without realizing that it got not to the list,
sorry Joerg! Maybe someone else can support me with my ftdi-problem.
---------- Forwarded message ----------
From: Daniel Schulz <address@hidden>
Date: 2011/11/2
Subject: Re: [avrdude-dev] avrdude.conf - ftdi-section
To: Joerg Wunsch <address@hidden>
Hello Joerg!
First of all: thanks for your excellent work over the years!
> Nope, the LEDs would have to be attached to ADBUS[4:7] which are
> GPIOL[0:3] in MPSSE mode.
My setup:
ADBUS0 : SCK
ADBUS1 : MOSI
ADBUS2 : MISO
ADBUS4 : RESET
Is RESET correct on ADBUS4? On Jason's page it is on GPIOL0 (ADBUS4)?!
So there is one missing LED because there are only 3 other GPIOL.
But even without LEDs it does not work, because when I do
avrdude -p m8 -P /dev/ttyUSB0 -c avrftdi
I can see in syslog that the FTDI was disconnected:
"[725766.865511] ftdi_sio ttyUSB0: FTDI USB Serial Device converter
now disconnected from ttyUSB0"
Is this a reset problem? Do I have to change anything on my ftdi-board?
Here is the log from avrdude, maybe that helps?
avrdude -p m8 -P /dev/ttyUSB1 -c avrftdi -b 19200 -U lfuse:r:-:i -vvv
avrdude: Version 5.11.1, compiled on Oct 18 2011 at 21:41:15
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/daniel/.avrduderc"
User configuration file does not exist or is not a regular
file, skipping
Using Port : /dev/ttyUSB1
Using Programmer : avrftdi
Overriding Baud Rate : 19200
avrdude: device: 031, 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
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: 0x0137
avrdude info: Pin is zero val 0!
avrdude info: Pin is zero val 1!
AVR Part : ATMEGA8
Chip Erase delay : 10000 us
PAGEL : PD7
BS2 : PC2
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 20 128 0 no 512 4 0
9000 9000 0xff 0xff
Block Poll Page
Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages
MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------
----- ----- ---------
flash 33 10 64 0 yes 8192 64 128
4500 4500 0xff 0x00
Block Poll Page
Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages
MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------
----- ----- ---------
lfuse 0 0 0 0 no 1 0 0
2000 2000 0x00 0x00
Block Poll Page
Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages
MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------
----- ----- ---------
hfuse 0 0 0 0 no 1 0 0
2000 2000 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
2000 2000 0x00 0x00
Block Poll Page
Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages
MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------
----- ----- ---------
calibration 0 0 0 0 no 4 0 0
0 0 0x00 0x00
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
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
avrdude info: pin 0004 bit 0008 value 0x0000
avrdude info: direction: 0x000b, value: 0x0000, inversion: 0x0000
avrdude info: pin 0004 bit 0008 value 0x0008
avrdude info: direction: 0x000b, value: 0x0008, inversion: 0x0000
avrdude info: pin 0004 bit 0008 value 0x0000
avrdude info: direction: 0x000b, value: 0x0000, inversion: 0x0000
avrdude info: pin 0004 bit 0008 value 0x0008
avrdude info: direction: 0x000b, value: 0x0008, inversion: 0x0000
avrdude info: pin 0004 bit 0008 value 0x0000
avrdude info: direction: 0x000b, value: 0x0000, inversion: 0x0000
avrdude info: pin 0004 bit 0008 value 0x0008
avrdude info: direction: 0x000b, value: 0x0008, inversion: 0x0000
avrdude info: pin 0004 bit 0008 value 0x0000
avrdude info: direction: 0x000b, value: 0x0000, inversion: 0x0000
avrdude info: pin 0004 bit 0008 value 0x0008
avrdude info: direction: 0x000b, value: 0x0008, inversion: 0x0000
avrdude info: pin 0004 bit 0008 value 0x0000
avrdude info: direction: 0x000b, value: 0x0000, inversion: 0x0000
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
LED Mask=0x0000 value =0x0008 &=0x0000
avrdude info: direction: 0x0000, value: 0x0000, inversion: 0x0000
avrdude done. Thank you.
> --
> cheers, J"org .-.-. --... ...-- -.. . DL8DTL
>
> http://www.sax.de/~joerg/ NIC: JW11-RIPE
> Never trust an operating system you don't have sources for. ;-)
>
> _______________________________________________
> avrdude-dev mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/avrdude-dev
>
- [avrdude-dev] avrdude.conf - ftdi-section, Daniel Schulz, 2011/11/02
- Re: [avrdude-dev] avrdude.conf - ftdi-section, Joerg Wunsch, 2011/11/02
- Message not available
- [avrdude-dev] Fwd: avrdude.conf - ftdi-section,
Daniel Schulz <=
- Re: [avrdude-dev] Fwd: avrdude.conf - ftdi-section, Joerg Wunsch, 2011/11/02
- Re: [avrdude-dev] Fwd: avrdude.conf - ftdi-section, Daniel Schulz, 2011/11/02
- Re: [avrdude-dev] Fwd: avrdude.conf - ftdi-section, Jason Hecker, 2011/11/03
- Re: [avrdude-dev] Fwd: avrdude.conf - ftdi-section, Daniel Schulz, 2011/11/03
- Re: [avrdude-dev] Fwd: avrdude.conf - ftdi-section, Joerg Wunsch, 2011/11/03