mariusgreuel / avrdude

AVRDUDE for Windows
GNU General Public License v2.0
112 stars 14 forks source link

FT4232H Channel B not working #14

Closed PhySix66 closed 8 months ago

PhySix66 commented 1 year ago

Programer: FT4232H IC - module: FT-MOD-4232HUB Target: ATMega1284P

Changing the line: usbdev = "A"; to usbdev = "B";

Has no effect. The FT4232H still communicates via PORTA (ChannelA). However in the LOG (verbosity lvl 4) it sates that PORTB (ChannelB) is in use: "I avrftdi_open(714): Using device VID:PID 0403:6011 and SN '(null)' on interface B." ... "D set_pin(243): Setting pin 4 (BDBUS4) as RESET: low (high active)"

mcuee commented 8 months ago

avrdude main line should work. https://github.com/avrdudes/avrdude/releases/tag/v7.2

PhySix66 commented 8 months ago

avrdude main line should work. https://github.com/avrdudes/avrdude/releases/tag/v7.2

avrdude 7.2 solved(fixed) the problem above. Thank You mcuee! Now I'm able to use PortB on the FT-MOD-4232HUB module. And tested this on the mikro click mikroe-1421 module (FT2232H chip) as well with success! Note: Only one downside with that module is that the RST pin is connected to the C-Channel (BCBUS0 / Pin0 on PortC) so I had to use the ChipSelect Pin(BDBUS3 / Pin3 on PortB). Closing Issue with Problem Solved via avrdude 7.2! (Hopefully new versions also.)