├── .gitignore ├── AVR-Programmer ├── CH341DP-ExecutableProgram.ZIP └── CH341DPS-ProgramSourceCode.ZIP ├── CH341-Android-SPI-I2C-Driver+SDK-lib+APK └── CH341PAR_ANDROID.ZIP ├── CH341-Android-Serial-Driver+SDK-lib+APK └── CH341SER_ANDROID.ZIP ├── CH341-Evaluation-Kit-SDK └── CH341EVT.ZIP ├── CH341-Linux-SPI-I2C-Driver+SDK-library └── CH341PAR_LINUX.ZIP ├── CH341-Linux-Serial-Driver+SDK-library └── CH341SER_LINUX.ZIP ├── CH341-MAC-Serial-Driver+SDK-library └── CH341SER_MAC.ZIP ├── CH341-PCBs ├── CH341PCB.ZIP └── EV341PCB.ZIP ├── CH341-Windows-PRINTER-Driver+SDK-library └── CH341PRT.ZIP ├── CH341-Windows-SPI-I2C-Driver+SDK-library └── CH341PAR.ZIP ├── CH341-Windows-Serial-Driver+SDK-library └── CH341SER.ZIP ├── CH341A Mini Programmer Schematic and Drivers · One Transistor.pdf ├── CH341_EN.pdf ├── Driver-OEM ├── CH341PRT.ZIP ├── USBPRINT.ZIP └── USBSER.ZIP ├── LICENSE ├── NOTWORKING-CH341A_1.30_V2.rar ├── NOTWORKING-CH341A_programmer-software-1.30.rar ├── README.md ├── USB_SER.PDF ├── WORKING-CH341A-programmer-software-1.29.zip ├── ch341a_miniprogrammer_schematic.png └── ch341a_pcb.jpg /.gitignore: -------------------------------------------------------------------------------- 1 | # Prerequisites 2 | *.d 3 | 4 | # Compiled Object files 5 | *.slo 6 | *.lo 7 | *.o 8 | *.obj 9 | 10 | # Precompiled Headers 11 | *.gch 12 | *.pch 13 | 14 | # Compiled Dynamic libraries 15 | *.so 16 | *.dylib 17 | *.dll 18 | 19 | # Fortran module files 20 | *.mod 21 | *.smod 22 | 23 | # Compiled Static libraries 24 | *.lai 25 | *.la 26 | *.a 27 | *.lib 28 | 29 | # Executables 30 | *.exe 31 | *.out 32 | *.app 33 | -------------------------------------------------------------------------------- /AVR-Programmer/CH341DP-ExecutableProgram.ZIP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stahir/CH341-Store/5b4fda3add3d492f14f73a8376c580644f6c8195/AVR-Programmer/CH341DP-ExecutableProgram.ZIP -------------------------------------------------------------------------------- /AVR-Programmer/CH341DPS-ProgramSourceCode.ZIP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stahir/CH341-Store/5b4fda3add3d492f14f73a8376c580644f6c8195/AVR-Programmer/CH341DPS-ProgramSourceCode.ZIP -------------------------------------------------------------------------------- /CH341-Android-SPI-I2C-Driver+SDK-lib+APK/CH341PAR_ANDROID.ZIP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stahir/CH341-Store/5b4fda3add3d492f14f73a8376c580644f6c8195/CH341-Android-SPI-I2C-Driver+SDK-lib+APK/CH341PAR_ANDROID.ZIP -------------------------------------------------------------------------------- /CH341-Android-Serial-Driver+SDK-lib+APK/CH341SER_ANDROID.ZIP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stahir/CH341-Store/5b4fda3add3d492f14f73a8376c580644f6c8195/CH341-Android-Serial-Driver+SDK-lib+APK/CH341SER_ANDROID.ZIP -------------------------------------------------------------------------------- /CH341-Evaluation-Kit-SDK/CH341EVT.ZIP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stahir/CH341-Store/5b4fda3add3d492f14f73a8376c580644f6c8195/CH341-Evaluation-Kit-SDK/CH341EVT.ZIP -------------------------------------------------------------------------------- /CH341-Linux-SPI-I2C-Driver+SDK-library/CH341PAR_LINUX.ZIP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stahir/CH341-Store/5b4fda3add3d492f14f73a8376c580644f6c8195/CH341-Linux-SPI-I2C-Driver+SDK-library/CH341PAR_LINUX.ZIP -------------------------------------------------------------------------------- /CH341-Linux-Serial-Driver+SDK-library/CH341SER_LINUX.ZIP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stahir/CH341-Store/5b4fda3add3d492f14f73a8376c580644f6c8195/CH341-Linux-Serial-Driver+SDK-library/CH341SER_LINUX.ZIP -------------------------------------------------------------------------------- /CH341-MAC-Serial-Driver+SDK-library/CH341SER_MAC.ZIP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stahir/CH341-Store/5b4fda3add3d492f14f73a8376c580644f6c8195/CH341-MAC-Serial-Driver+SDK-library/CH341SER_MAC.ZIP -------------------------------------------------------------------------------- /CH341-PCBs/CH341PCB.ZIP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stahir/CH341-Store/5b4fda3add3d492f14f73a8376c580644f6c8195/CH341-PCBs/CH341PCB.ZIP -------------------------------------------------------------------------------- /CH341-PCBs/EV341PCB.ZIP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stahir/CH341-Store/5b4fda3add3d492f14f73a8376c580644f6c8195/CH341-PCBs/EV341PCB.ZIP -------------------------------------------------------------------------------- /CH341-Windows-PRINTER-Driver+SDK-library/CH341PRT.ZIP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stahir/CH341-Store/5b4fda3add3d492f14f73a8376c580644f6c8195/CH341-Windows-PRINTER-Driver+SDK-library/CH341PRT.ZIP -------------------------------------------------------------------------------- /CH341-Windows-SPI-I2C-Driver+SDK-library/CH341PAR.ZIP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stahir/CH341-Store/5b4fda3add3d492f14f73a8376c580644f6c8195/CH341-Windows-SPI-I2C-Driver+SDK-library/CH341PAR.ZIP -------------------------------------------------------------------------------- /CH341-Windows-Serial-Driver+SDK-library/CH341SER.ZIP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stahir/CH341-Store/5b4fda3add3d492f14f73a8376c580644f6c8195/CH341-Windows-Serial-Driver+SDK-library/CH341SER.ZIP -------------------------------------------------------------------------------- /CH341A Mini Programmer Schematic and Drivers · One Transistor.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stahir/CH341-Store/5b4fda3add3d492f14f73a8376c580644f6c8195/CH341A Mini Programmer Schematic and Drivers · One Transistor.pdf -------------------------------------------------------------------------------- /CH341_EN.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stahir/CH341-Store/5b4fda3add3d492f14f73a8376c580644f6c8195/CH341_EN.pdf -------------------------------------------------------------------------------- /Driver-OEM/CH341PRT.ZIP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stahir/CH341-Store/5b4fda3add3d492f14f73a8376c580644f6c8195/Driver-OEM/CH341PRT.ZIP -------------------------------------------------------------------------------- /Driver-OEM/USBPRINT.ZIP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stahir/CH341-Store/5b4fda3add3d492f14f73a8376c580644f6c8195/Driver-OEM/USBPRINT.ZIP -------------------------------------------------------------------------------- /Driver-OEM/USBSER.ZIP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stahir/CH341-Store/5b4fda3add3d492f14f73a8376c580644f6c8195/Driver-OEM/USBSER.ZIP -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Abhijit Bose 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /NOTWORKING-CH341A_1.30_V2.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stahir/CH341-Store/5b4fda3add3d492f14f73a8376c580644f6c8195/NOTWORKING-CH341A_1.30_V2.rar -------------------------------------------------------------------------------- /NOTWORKING-CH341A_programmer-software-1.30.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stahir/CH341-Store/5b4fda3add3d492f14f73a8376c580644f6c8195/NOTWORKING-CH341A_programmer-software-1.30.rar -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # CH341-Store 2 | Documents and Software Related to the famous CH341a used in I2C/SPI Flash Programmers also called as Bios Programmers 3 | 4 | Please note that this repository is a Coagulation of know-how from diffrent sources. 5 | 6 | ![CH341A Devices](https://1.bp.blogspot.com/-RFzfABqVamg/WlEZ-s0FkxI/AAAAAAAAIqg/3L0JBCCQN9sNm4e7ST9Csczwwu7tO1OzgCLcBGAs/s1600/ch341a_products.png) 7 | > Source : https://www.onetransistor.eu/2017/08/ch341a-mini-programmer-schematic.html 8 | 9 | ## About CH341 10 | 11 | This is versetaile USB to multi-protocol converter chip. 12 | 13 | There are 4 major items that becoe clear from the enclosed **[Datasheet(English)](https://github.com/boseji/CH341-Store/raw/master/CH341_EN.pdf)** 14 | 15 | * UART - The chip can be used as a USB to UART converter. It can also be used for RS-485 since it has automatic driver convtrol pin also available. 16 | * Synchronous Serial - I2C and SPI - The chip has 3 chip selct pins and Multi-mode support for SPI prototocol. Also the chip has dedicated I2C pins. 17 | * Parallel Interface - This interface can be used to talk to parallel memory Bus with all the required control signals 18 | * Printer Port - The deivice can emulate a EPP Parallel Port over USB to be able to connect to older printers .etc. 19 | 20 | ## Attributions 21 | 22 | * **OneTransistor** https://www.onetransistor.eu/ - Good website if you are looking for electronics ideas and many Maker topics. 23 | - More Specifically the Article : https://www.onetransistor.eu/2017/08/ch341a-mini-programmer-schematic.html . A PDF version of this article is available here. 24 | - How to use CH341A to Program a **Arduino-Pro Mini** : https://www.onetransistor.eu/2018/02/program-arduino-pro-mini-with-ch341a.html 25 | - Windows API for I2C Programming : https://www.onetransistor.eu/2017/09/ch341a-usb-i2c-programming.html 26 | - Windows API for SPI Programming : https://www.onetransistor.eu/2017/12/ch341a-usb-spi-programming.html 27 | * **Electrodragon** https://www.electrodragon.com - One of the best Maker shops out there, you can find tons of goodies for your projects 28 | - Very useful breakout board for CH341a Chip: https://www.electrodragon.com/product/ch341-usb-convert-flash-board-usb-ttl-iic-spi-etc/ 29 | - Documentation about the board: https://www.electrodragon.com/w/CH340 30 | * ***Jiangsu QinHeng Ltd*** Company creating these wonderful CH341a ICs http://www.wch.cn/ 31 | - Translated Version of the Website: https://translate.google.com/translate?hl=en&sl=zh-CN&u=http://wch.cn/ 32 | - Product Page of **CH341a** IC : https://translate.google.com/translate?depth=1&hl=en&rurl=translate.google.com&sl=zh-CN&sp=nmt4&u=http://www.wch.cn/products/CH341.html 33 | 34 | ## CH341a based Programmer 35 | 36 | The Main uses that this chip finds is programing SPI flash chips. These SPI flash chips are ofen used in the BIOS of many computer cards. Infact most of the WiFi routers use these SPI flash chips to store the embedded linux image. So ideally these programmers can actually help you swap the linux image on a WiFi Router. Also it has been reported that this programmer can be used to recover bricked or locked out Bios from laptops. 37 | 38 | Lets look at how the programmer looks like: 39 | 40 | ![Typical CH341 based programmer](https://2.bp.blogspot.com/-gweW5sI33Jo/WYXq-vJAEbI/AAAAAAAAHHE/MXFTaSMgVtkn7ueKZdjpzoOu0i7tV_pJQCLcBGAs/s1600/ch341aminiprog.jpg) 41 | > Source: https://www.onetransistor.eu/2017/08/ch341a-mini-programmer-schematic.html 42 | 43 | Folks at **[Onetransistor](https://www.onetransistor.eu)** have been kind enough to provide a schematics also: 44 | 45 | ![Schematics of a CH341 based programmer](https://github.com/boseji/CH341-Store/raw/master/ch341a_miniprogrammer_schematic.png) 46 | > Source: https://www.onetransistor.eu/2017/08/ch341a-mini-programmer-schematic.html 47 | 48 | ![PCB of a CH341 based programmer](https://github.com/boseji/CH341-Store/raw/master/ch341a_pcb.jpg) 49 | > Source: https://www.onetransistor.eu/2017/08/ch341a-mini-programmer-schematic.html 50 | 51 | ## CH341a Drivers 52 | 53 | We have downloaded the drivers from **[Jiangsu QinHeng Ltd Website](http://www.wch.cn/products/CH341.html)** hence all should be Genuine Drivers , malicious items free. 54 | 55 | ### For Windows 56 | 57 | * **[CH341-Windows-SPI-I2C-Driver+SDK-library/CH341PAR.ZIP](https://github.com/boseji/CH341-Store/raw/master/CH341-Windows-SPI-I2C-Driver%2BSDK-library/CH341PAR.ZIP)** - For the programmer 58 | * **[CH341-Windows-Serial-Driver+SDK-library/CH341SER.ZIP](https://github.com/boseji/CH341-Store/raw/master/CH341-Windows-Serial-Driver%2BSDK-library/CH341SER.ZIP)** - Serial Driver 59 | 60 | ### For Linux 61 | 62 | Most of the times you would not need any driver specifically since its auto registered. 63 | However to communicate you might need the help of libraries. 64 | 65 | * **[CH341-Linux-SPI-I2C-Driver+SDK-library/CH341PAR_LINUX.ZIP](https://github.com/boseji/CH341-Store/raw/master/CH341-Linux-SPI-I2C-Driver%2BSDK-library/CH341PAR_LINUX.ZIP)** - For the Programmer 66 | * **[CH341-Linux-Serial-Driver+SDK-library/CH341SER_LINUX.ZIP](https://github.com/boseji/CH341-Store/raw/master/CH341-Linux-Serial-Driver%2BSDK-library/CH341SER_LINUX.ZIP)** 67 | 68 | ### For Android Devices 69 | 70 | It's interesting that the manufacturer actually provides support Android support. Not only that they provide the Android application to test and the Library in `.jar` form. 71 | 72 | ### For MAC 73 | 74 | There is not much support for MAC from the manufacturer. 75 | 76 | ## CH341a Programmer Application 77 | 78 | We could find only one working version of the programmer **v1.29**, though we got other versions but they do not work. 79 | 80 | Here is the working link: 81 | https://github.com/boseji/CH341-Store/raw/master/WORKING-CH341A-programmer-software-1.29.zip 82 | -------------------------------------------------------------------------------- /USB_SER.PDF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stahir/CH341-Store/5b4fda3add3d492f14f73a8376c580644f6c8195/USB_SER.PDF -------------------------------------------------------------------------------- /WORKING-CH341A-programmer-software-1.29.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stahir/CH341-Store/5b4fda3add3d492f14f73a8376c580644f6c8195/WORKING-CH341A-programmer-software-1.29.zip -------------------------------------------------------------------------------- /ch341a_miniprogrammer_schematic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stahir/CH341-Store/5b4fda3add3d492f14f73a8376c580644f6c8195/ch341a_miniprogrammer_schematic.png -------------------------------------------------------------------------------- /ch341a_pcb.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stahir/CH341-Store/5b4fda3add3d492f14f73a8376c580644f6c8195/ch341a_pcb.jpg --------------------------------------------------------------------------------