[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] [patch #7610] Patch for FTDI 232H chip against AVRDUDE 5.1
From: |
Jason Hecker |
Subject: |
[avrdude-dev] [patch #7610] Patch for FTDI 232H chip against AVRDUDE 5.11 |
Date: |
Tue, 30 Aug 2011 05:53:12 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0) Gecko/20100101 Firefox/7.0 |
Follow-up Comment #1, patch #7610 (project avrdude):
I will add I have tried this patch in Ubuntu 11.04 with the same AVRDUDE 5.11
tarball. The results to Windows are different - the speed is about 5x faster
(does Windows libusb have a bottleneck?) but the validation for the hex file
fails. libftdi0.19git was built and used as well. At this point I haven't
investigated why this patch fails in Linux.
address@hidden:~/avrdude/avrdude-5.11$ sudo ./avrdude -C ./avrdude.conf -c
um232h
-p m1280 -v -b 3700000 -U flash:w:ATmegaBOOT_168_atmega1280.hex
avrdude: Version 5.11, compiled on Aug 30 2011 at 15:00:29
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "./avrdude.conf"
User configuration file is "/home/blah/.avrduderc"
User configuration file does not exist or is not a regular file,
skipping
Using Port : /dev/parport0
Using Programmer : um232h
Overriding Baud Rate : 3700000
avrdude: device: 003, serial number: FTUIF780 type 0x0900 found
avrdude: Using device VID:PID 0403:6014 type 0x0900(232H) and SN 'FTUIF780'.
avrdude: Using USB Interface A
avrdude info: reset pin value: 4
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
avrdude info: clock divisor: 0x0007 Actual SPI ClK freq: 3750000Hz
AVR Part : ATMEGA1280
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
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 65 10 8 0 no 4096 8 0 9000
9000 0x00 0x00
flash 65 10 256 0 yes 131072 256 512 4500
4500 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
lock 0 0 0 0 no 1 0 0 9000
9000 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0
0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0
0 0x00 0x00
Programmer Type : avrftdi
Description : FT232H based module from FTDI and Glyn.com.au
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e9703
avrdude: safemode: lfuse reads as 8E
avrdude: safemode: hfuse reads as 1B
avrdude: safemode: efuse reads as FD
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be
performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "ATmegaBOOT_168_atmega1280.hex"
avrdude: input file ATmegaBOOT_168_atmega1280.hex auto detected as Intel Hex
avrdude: writing flash (130838 bytes):
Writing | ################################################## | 100% 1.47s
avrdude: 130838 bytes of flash written
avrdude: verifying flash memory against ATmegaBOOT_168_atmega1280.hex:
avrdude: load data flash data from input file ATmegaBOOT_168_atmega1280.hex:
avrdude: input file ATmegaBOOT_168_atmega1280.hex auto detected as Intel Hex
avrdude: input file ATmegaBOOT_168_atmega1280.hex contains 130838 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 1.65s
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x1f000
0x0c != 0xff
avrdude: verification error; content mismatch
avrdude: safemode: lfuse reads as 8E
avrdude: safemode: hfuse reads as 1B
avrdude: safemode: efuse reads as FD
avrdude: safemode: Fuses OK
avrdude done. Thank you.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?7610>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/