[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:49:04 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0) Gecko/20100101 Firefox/7.0 |
URL:
<http://savannah.nongnu.org/patch/?7610>
Summary: Patch for FTDI 232H chip against AVRDUDE 5.11
Project: AVR Downloader/UploaDEr
Submitted by: roklobster
Submitted on: Tue 30 Aug 2011 05:49:03 AM GMT
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Here is a patch to support the FTDI 232H part in AVRDUDE 5.11. It uses
libftdi 0.19 plus git patches that support the 232H part. It has been built
and tested to success in Windows32 with mingw32 and the development
libftdi0.19git drivers from http://code.google.com/p/picusb/downloads/list .
$ ./avrdude -c um232h -p m1280 -v -b 3700000 -U
flash:w:ATmegaBOOT_168_atmega1280.hex
avrdude.exe: Version 5.11, compiled on Aug 30 2011 at 15:21:23
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is
"C:\temp\av\avrdude-5.11-FT232HPatch\avrdude.conf"
Using Port : lpt1
Using Programmer : um232h
Overriding Baud Rate : 3700000
avrdude.exe: device: \\.\libusb0-0255--0x0403-0x6014, serial number: FTUIF780
type 0x0900 found
avrdude.exe: Using device VID:PID 0403:6014 type 0x0900(232H) and SN
'FTUIF780'.
avrdude.exe: Using USB Interface A
avrdude.exe 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.exe 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.exe: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.10s
avrdude.exe: Device signature = 0x1e9703
avrdude.exe: safemode: lfuse reads as 8E
avrdude.exe: safemode: hfuse reads as 1B
avrdude.exe: safemode: efuse reads as FD
avrdude.exe: NOTE: FLASH memory has been specified, an erase cycle will be
performed
To disable this feature, specify the -D option.
avrdude.exe: erasing chip
avrdude.exe: reading input file "ATmegaBOOT_168_atmega1280.hex"
avrdude.exe: input file ATmegaBOOT_168_atmega1280.hex auto detected as Intel
Hex
avrdude.exe: writing flash (130838 bytes):
Writing | ################################################## | 100% 6.37s
avrdude.exe: 130838 bytes of flash written
avrdude.exe: verifying flash memory against ATmegaBOOT_168_atmega1280.hex:
avrdude.exe: load data flash data from input file
ATmegaBOOT_168_atmega1280.hex:
avrdude.exe: input file ATmegaBOOT_168_atmega1280.hex auto detected as Intel
Hex
avrdude.exe: input file ATmegaBOOT_168_atmega1280.hex contains 130838 bytes
avrdude.exe: reading on-chip flash data:
Reading | ################################################## | 100% 5.01s
avrdude.exe: verifying ...
avrdude.exe: 130838 bytes of flash verified
avrdude.exe: safemode: lfuse reads as 8E
avrdude.exe: safemode: hfuse reads as 1B
avrdude.exe: safemode: efuse reads as FD
avrdude.exe: safemode: Fuses OK
avrdude.exe done. Thank you.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 30 Aug 2011 05:49:03 AM GMT Name: avrdude-5.11-232H.patch Size:
10kB By: roklobster
<http://savannah.nongnu.org/patch/download.php?file_id=23901>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?7610>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [avrdude-dev] [patch #7610] Patch for FTDI 232H chip against AVRDUDE 5.11,
Jason Hecker <=