ch341prog(1)

CH341prog(1) General Commands Manual CH341prog(1)

NAME

ch341prog - 24xx/25xx I2C/SPI EEPROM flashing tool for CH341-based programmers

SYNOPSIS

ch341prog <command> [parameters]

DESCRIPTION

ch341prog is a command line tool for flashing 24xx/25xx I2C/SPI EEPROMs using the popular cheap CH341-based programmers.

COMMANDS

-h, --help - display brief help

-i, --info - read the Chip ID info

-e, --erase - erase chip (send "chip erase" command)

-v, --verbose - turn on verbose mode (print diagnostic and debugging information)

-r filename or --read filename - read data from the EEPROM and save it to filename

-w filename or --write filename - write to the EEPROM data from filename

-l bytes or --length bytes - force set the data block size to bytes

-t, --turbo - increase I2C (TWI) speed

-d, --double - double the SPI speed

NOTES

Some I2C (TWI) chips allow -tt or even -ttt, but that's unsafe.

Double-speed SPI access may be unsupported by some hardware.

SEE ALSO

CH341 datasheet

04 Oct 2017