Merge pull request #842 from mariusgreuel/pr-ft232r

Add a new programmer ft232h
This commit is contained in:
Jörg Wunsch 2022-01-18 13:25:25 +01:00 committed by GitHub
commit fa58267643
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 42 deletions

View File

@ -476,63 +476,47 @@ programmer
# from Amontec # from Amontec
; ;
# UM232H module from FTDI and Glyn.com.au.
# See helix.air.net.au for detailed usage information.
# J1: Connect pin 2 and 3 for USB power.
# J2: Connect pin 2 and 3 for USB power.
# J2: Pin 7 is SCK
# : Pin 8 is MOSI
# : Pin 9 is MISO
# : Pin 11 is RST
# : Pin 6 is ground
# Use the -b flag to set the SPI clock rate eg -b 3750000 is the fastest I could get
# a 16MHz Atmega1280 to program reliably. The 232H is conveniently 5V tolerant.
programmer programmer
id = "UM232H"; id = "ft232h";
desc = "FT232H based module from FTDI and Glyn.com.au"; desc = "FT232H in MPSSE mode";
type = "avrftdi"; type = "avrftdi";
connection_type = usb;
usbvid = 0x0403; usbvid = 0x0403;
# Note: This PID is reserved for generic 232H devices and
# should be programmed into the EEPROM
usbpid = 0x6014; usbpid = 0x6014;
usbdev = "A"; usbdev = "A";
usbvendor = ""; usbvendor = "";
usbproduct = ""; usbproduct = "";
usbsn = ""; usbsn = "";
#ISP-signals #ISP-signals
sck = 0; sck = 0; # AD0 (TCK)
mosi = 1; mosi = 1; # AD1 (TDI)
miso = 2; miso = 2; # AD2 (TDO)
reset = 3; reset = 3; # AD3 (TMS)
; ;
# C232HM module from FTDI and Glyn.com.au. # Pin J2-7 (AD0) is SCK
# : Orange is SCK # Pin J2-8 (AD1) is MOSI
# : Yellow is MOSI # Pin J2-9 (AD2) is MISO
# : Green is MISO # Pin J2-10 (AD3) is RESET
# : Brown is RST # Pin J2-6 is GND
# : Black is ground
# Use the -b flag to set the SPI clock rate eg -b 3750000 is the fastest I could get # Use the -b flag to set the SPI clock rate eg -b 3750000 is the fastest I could get
# a 16MHz Atmega1280 to program reliably. The 232H is conveniently 5V tolerant. # a 16MHz Atmega1280 to program reliably. The 232H is conveniently 5V tolerant.
programmer programmer parent "ft232h"
id = "C232HM"; id = "um232h";
desc = "FT232H based module from FTDI and Glyn.com.au"; desc = "UM232H module from FTDI";
type = "avrftdi";
usbvid = 0x0403;
# Note: This PID is reserved for generic 232H devices and
# should be programmed into the EEPROM
usbpid = 0x6014;
usbdev = "A";
usbvendor = "";
usbproduct = "";
usbsn = "";
#ISP-signals
sck = 0;
mosi = 1;
miso = 2;
reset = 3;
; ;
# Orange (Pin 2) is SCK
# Yellow (Pin 3) is MOSI
# Green (Pin 4) is MISO
# Brown (Pin 5) is RESET
# Black (Pin 10) is GND
# Use the -b flag to set the SPI clock rate eg -b 3750000 is the fastest I could get
# a 16MHz Atmega1280 to program reliably. The 232H is conveniently 5V tolerant.
programmer parent "ft232h"
id = "c232hm";
desc = "C232HM cable from FTDI";
;
# On the adapter you can read "O-Link". On the PCB is printed "OpenJTAG v3.1" # On the adapter you can read "O-Link". On the PCB is printed "OpenJTAG v3.1"
# You can find it as "OpenJTAG ARM JTAG USB" in the internet. # You can find it as "OpenJTAG ARM JTAG USB" in the internet.