Trel725 / chavrprog

AVR programmer based on Chinese ch341a
GNU General Public License v3.0
58 stars 19 forks source link

support for device 1a86:5523 (not needed, change jumper) #20

Open hmollercl opened 4 weeks ago

hmollercl commented 4 weeks ago

currently it only support device 1a86:5512 but I have 5523


$ lsusb
Bus 002 Device 009: ID 1a86:5523 QinHeng Electronics CH341 in serial mode, usb to serial port converter

try changing only in ch341a.h

//#define     CH341A_USB_PRODUCT     0x5512
#define     CH341A_USB_PRODUCT     0x5523

but when trying to upload:

Erasing...
Device reported its revision [4.03]
ch341SpiStream: Failed to read 4 bytes 'Argument list too long'
No answer, sorry
Exiting...

so I assume further investigation needs to be done

HilmarSt commented 4 weeks ago

The CH341A is configured in "serial mode". I think this should be "parallel mode"? May be you change the jumper setting and try again...

hmollercl commented 4 days ago

SOLVED!! changing the jumper from 2-3 TTL to 1-2 and the device changed to 1a86:5512 thanks!!