# Ch341A

![CH341A](https://577287991-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZxnCyqJaYdEmxpiYjn%2Fuploads%2Fgit-blob-ddaed0a9d967b4707a40a3f9bdb338e521ebe2ff%2Fch341a.png?alt=media)

## Dump SPI flash

### ch341eeprom

> [plumbum/ch341eeprom](https://github.com/plumbum/ch341eeprom)

```bash
sudo apt install git make libusb-1.0-0-dev clang
git clone https://github.com/plumbum/ch341eeprom.git
make
./ch341eeprom -v -s 24c05 -r dump.bin
```

### Flashrom

```bash
sudo flashrom -V --programmer ch341a_spi -r dump.bin
sudo flashrom -V --programmer ch341a_spi -r dump.bin -c W25Q16.V # Specify the chip
```
