CH341A Programmer | [Programmer] Bios Firmware CH341A Programmer



Rep: (612)
CH341A Programmer
version: 1.3.4

Last update of the program in the header:15.03.2019

Attached Image


FAQ
Instructions to the programmer
Photo board green programmer without details
If you get an error while unarchiving archives (7zip, zip
AsProgrammer Sources
Error 43 in the CH341A programmer

The other day I ordered a batch of CH341A programmers in China, which are used to flash 24-25 series memory chips.
But as it turned out, when connected to Windows 10 and 7, a message is displayed that "USB device is not recognized."
Initially I thought that the problem was in the CH341A chip itself, but it turned out that everything was much simpler.
Screenshot
Attached Image

Also, in “Device Manager,” Windows defined it as “Unknown USB Device (device handle request failed)”,
and in the properties, writes about the error "The Windows system stopped this device, because it reported the occurrence of problems.
(Code 43) and, of course, the VID and PID (VID_0000 & PID_0002) are incorrectly defined.
Screenshot
Attached Image

Opening the CH341A documentation and looking at examples of schematic diagrams, you can see that 12 MHz quartz is used everywhere.
Screenshot
Attached Image

And on the CH341A programmer itself, the quartz is set to 27.120 MHz
Screenshot
Attached Image

We take a soldering iron and unsolder the wrong quartz 27.120 MHz and solder a new one at 12 MHz.
Screenshot
Attached Image

We connect the programmer CH341A to the computer and see that the OS has a new device with VID and PID wine (VID_1A86 & PID_5512)

How to connect Atmega controller using USBAsp as an example
If you do not write the chip but it reads
Flashing series ICs ...

Flashing chip 24 series
Flash 25 series chips
Flash 26 series chips
CH341A Pro Supported Programmer Chip 24 Series
ATMEL
AT24C01B AT24C01 AT24C01A AT24C02 AT24C02A AT24C02B AT24C04B AT24C04 AT24C04A AT24C08A AT24C08B AT24C08 AT24C16 AT24C16A AT24C16B AT24C32B AT24C32A AT24C32 AT24C64 AT24C64A AT24C64B AT24C128 AT24C128A AT24C128B AT24C256B AT24C256 AT24C256A AT24C512B AT24C512A AT24C512 AT24C1024 AT24C1024A AT24C1024B

CATALYST
CAT24C01 CAT24WC01 CAT24WC02 CAT24C02 CAT24C04 CAT24WC04 CAT24WC08 CAT24C08 CAT24WC16 CAT24C16 CAT24WC32 CAT24C32 CAT24WC64 CAT24C64 CAT24WC128 CAT24C128 CAT24WC256 CAT24C256 CAT24C512 CAT24CC525254

COMMON
24C01, C, A, C, A, C 24C4096 3V

FAIRCHILD
FM24C01L FM24C02L FM24C03L FM24C04L FM24C05L FM24C08L FM24C09L FM24C17L FM24C16L FM24C32L FM24C64L FM24C128L FM24C256L FM24C512L FM

HOLTEK
HT24C01 HT24LC01 HT24CD2 HT24LC02 HT24C04 HT24LC04 HT24C08 HT24LC08 HT24C16 HT24LC16 HT24LC32 HT24C32 HT24LC64 HT24C64 HT24C128 HT24LC128 HT24C256 HT24LC256 HT24LC512 HT24C512 HT24C1024 HT24LC1024

ISSI
IS24O01 IS24C02 IS24C04 IS24C08 IS24C16 IS24C32 IS24C64 IS24C128 IS24C256 IS24C512 IS24C1024

MICROCHIP
MIC24LC014 MIC24AA01 MIC24AA014 MIC24LC01B MIC24LC02B MIC24AA02 MIC24C02C MIC24AA025 MIC24AA04 MIC24LC04B MIC24LC024 MIC24AA024 MIC24LC025 MIC24LC08B MIC24AA08 MIC24LC16B MIC24AA16 MIC24LC32 MIC24AA32 MIC24LC64 MIC24FC64 MIC24AA64 MIC24FC128 MIC24AA128 MIC24LC128 MIC24AA256 MIC24LC256 MIC24FC256 MIC24AA512 MIC24LC512 MIC24FC512 MIC24AA1024

NSC
NSC24C02L NSC24C02 N5C24C64

RAMTRON
FM24CL04 FM24C04A FM24CL16 FM24C16A FM24CL64 FM24C64 FM24C256 FM24CL256 FM24C512

ROHM
BR24L01 BR24C01 BR24L02 BR24C02 BR24L04 BR24C04 BR24L08 BR24C08 BR24L16 BR24C16 BR24L32 BR24C32 BR24C64 BR24L64

ST
ST24C01 ST24C32 ST24C02 ST24C64 ST24C04 ST24C08 ST24C16

Xicor
X24O01 X24C02 X24C04 X24C08 X24C16
CH341A Pro Supported Programmer Chip 25 Series
AMIC
A25L512 A25L05P A25L10P A25L010 A25L020 A25L20P A25L40P A25L040 A25L080 A25L80P A25L016 A25L16P A25L032

ATMEL
AT25F512 AT25F512B AT25F512A AT25FS010 AT25F1024 AT25F1024A AT25F2048 AT25DF021 AT25F4096 AT25FS040 AT25DF041A AT25DF321 AT26DF321 AT25DF321 AT25DF641

COMMON
25X005 25X05 25X10 25X20 25X40 25X80 25X16 25X32 25X64 25X128 25X256 25X512 25X1024 25X2048

Eon
EN25F05 EN25P05 EN25LF05 EN25F10 EN25LF10 EN25D10 EN25P10 EN25F20 EN25D20 EN25LF20 EN25F40 EN25D40 EN25LF40 EN25Q80 EN25D80 EN25F80 EN25P80 EN25T80 EN25B16T EN25T16 EN25B16 EN25D16 EN25F16 EN25Q16 EN25P32 EN25Q32 EN25F32 EN25B32 EN25B32T EN25Q64 EN25B64 EN25F64 EN25B64T EN25F128 EN25Q128

ES
ES25P10 ES25P20 ES25M40A ES25M40 ES25P40 ES25M80 ES25P16 ES25M80A ES25P32 ES25P80 ES25M16 ES25M16A

ESMT (read only)
F25L04UA F25L16PA F25L004A F25L32QA F25L08PA F25L32PA F25L008A F25L016A

GIGADEVICE
GD25Q512 GD25Q10 GD25Q20 GD25F40 GD25D40 GD25Q80 GD25D80 GD25T80 GD25F80 GD25Q16 GD25Q32 GD25Q64 GD25Q128

KH
25L8036D

MXIC
MX25V512 MX25L4005A MX25L1635D MX25L3237D MX25L6455E MX25L12845E MX25L512 MX25V4035 MX25L1605D MX25L3225D MX25L6408D MX25L1005 MX25V4005 MX25L1608D MX25L3205D MX25L6406E MX25L2005 MX25V8005 MX25L3235D MX25L3206E MX25L6445E MX25L8035 MX25L8005 MX25L3208D MX25L6405D MX25L12805D

NEXFLASH
NX25P10 NX25P20 NX25P40 NX25P80 NX25P16 NX25P32

NSHINE
MS25X05 MS25X16 MS25X10 MS25X32 NS25X20 MS25X64 NS25X40 MS25X128 MS25X80

PMC
PM25LV512A PM25LV016B PM25LV010A PM25LV020 PM25LV040 PM25LV080B

SAIFUN
SA25F005 SA25F160 SA25F010 SA25F320 SA25F020 SA25F040 SA25F080

SPANSION
S25FL004A S25FL032A S25FL040A S25FL064A S25FL008A S25FL128P S25FL160 S25FL129P S25FL016A S25FL128A

SST (read only)
SST25VF512A SST25VF512 SST25VF010 SST25VF010A SST25 SST25VF020 SST25VF040B SST25VF040A SST25VF040 SST25 'SST25VF016B SST25VF032B SST25VF064C

ST
M25P05A M25PE10, M25P10A, M25P20, M25PE20, M25PE40, M25P40, M25PE80, M25P80, M25PX80, M25PX16, M25P16, M25PE16

Winbond
W25X10 W25X10L W25P10 W25X10AL W25X10A W25P20 W25X20AL W25X20A W25X20 W25X20L W25X40A W25P40 W25Q40BV W25X40L W25X40 W25X40AL W25Q80BV W25Q80V W25X80 W25P80 W25X80A W25X80L W25X80AL W25P16 W25Q16BV W25Q16V W25X16 W25Q32BV W25Q32V W25X32 W25P32 W25Q64BV W25X64 W25Q128BV
Completion of the programmer
In the process of working with the programmer revealed some shortcomings,
one of them: it is not possible to reset / set the QE bit in the second status register.
We read datashit, for example, on the chip W25Q64FV, and we find the puntQuad Enable (QE) ,
in which there is a warning:
WARNING: If the / WP or / HOLD pins are tied directly to the power supply or ground during
standard SPI or Dual SPI operation, the bit should never be set to a 1.

To fix this flaw, you need to detach the legs #WP (pin 3) and #HOLD (pin7) from VCC
and connect them to VCC via resistors 4.7 com.
On the "black programmer" it looks like this:
a photo
Attached Image

Photo of the programmer
Attached Image

Photo programmer
Attached Image

Screenshots of the program
Attached Image

YouTube Programmer Overview
Buy on Aliexpress
Usb programmer:Aliexpress
Clothespin for the programmer:Aliexpress
1.8 Volt Adapter:Aliexpress
Adapter to SOP8:Aliexpress

Attempting to flush SOP-8 microcircuits with a clip without soldering from the board gives an absolutely unpredictable result, such attempts are not discussed on the forum
Chinese software (especially versions above 1.18) is very unstable in operation, it is recommended to use AsProgrammer


Windows software
CH341A Programmer: CH341A Programmer 1.34

Alternative software: 1 Ch341Programmer_v1.1.1.33
Alternative software: 2 Attached fileAsProgrammer_1.4.0.zip (12.15 MB)
Alternative software: 3 Attached fileavrdudess_20140805.zip (956.04 KB)
Alternative software: 4 Postal Alternative software: 5 AVR Full mode programmer
ASUS BIOS CAP->Bin (If you have a UEFI Bios) Post # 1087
Drivers: Post # 626
ch341 serial 3.5 driver: Attached filech341_serial_3.5.zip (179.66 KB)

Past versions

Software (Linux
ch341prog (SPI

ch341eepromtool (I2C

flashrom

Topics Curator:boar-hooligan


Post has been editedboar-hooligan - 30.05.19, 02:48
Reason for editing: Instructions for the programmer (added link to version 1.34)



Rep: (406)
* goblin-gramotey,
Try this software.CH341A Programmer (Post vovan26_ # 83071216)



Rep: (8)
* goblin-gramotey, checksums are not correct for that and are necessary in order to compare the contents of the chip with the content of the image. a mismatch of the amount happens sometimes if you have not erased the chip beforehand and immediately pressed to write. Well, in other cases, if poor contact.

Post has been editedztel5 - 06.03.19, 23:17



Rep: (29)
ztel5 @ 03/06/19, 10:50*
I hope you saved what was on the chip before the firmware

I saved, but I doubt the usefulness of this dump, since the bios was covered during the firmware the electricity was turned off.
ztel5 @ 03/06/19, 10:50*
You can remove it from the board with an ordinary soldering iron if the hands are not crooked and there is an alloy of a rose

I have no such alloy. About four years ago I was taking a chip to solder to one master chip. So he did it with a simple soldering iron, although he had a station, and everything that could be done. And you can't even say that the chip was soldered, it was generally imperceptible, as if they were soldered at the factory.
ztel5 @ 03/06/19, 10:50*
with firmware on the board, you need to remove the battery

Yes, of course, I pulled out the battery.

Post has been editedteodorr - 06.03.19, 23:34



Rep: (18)
Tell me one more question, was successfully flashed on the W25Q64BV but I have a flash FV?

By the way, I pressed the check, it gave out data that is not suitable for the chip. Is that normal?



Rep: (8)
* goblin-gramotey, bv works for me and fv is the difference of the signature that (percent) who reads from this flash drive often understands this difference.

Posted 06/03/2019 23:42:

* goblin-gramotey, the chip is not the one or the dump is not the one and so on



Rep: (29)
* goblin-gramotey,
Choose your chip. Try to run the auto script, he will do everything himself, erase, record, check. I did it that way, and there were other inconsistencies.



Rep: (18)
* teodorr in the car is like?



Rep: (8)
* goblin-gramotey, if there is an offset to the missing or excessive data, it may not fully or partially work. the data must match the chip and go through a validation.



Rep: (406)
ztel5 @ 03/07/19, 01:13*
sometimes if you didn't erase the chip beforehand and immediately click on write
In general, the software will warn that the "chip is not empty."
ztel5 @ 03/07/19, 01:13*
Other times if poor contact.
I soldered the flash to the sop adapter, I also thought it was a bad contact, but it gave me "the chip content does not match the buffer," I replaced the flash and everything grew together.



Rep: (8)
* vovan26_, In general, I don `t know how this Chinese software considers everything. I wrote it down through a post. 3 There is nothing like that, there is no such thing that the chip is defined as it is and recorded. then compared in Chinese everything fits. I wish to add ezp2010 to post 3, but my mind is not enough for this, and the driver tezhe post 3 original uses that ezp2010

Post has been editedztel5 - 07.03.19, 00:00



Rep: (8)
* goblin-gramotey, I posted 3 in the topic header and there is a flash on the minimum setting.



Rep: (18)
Not that it does not work, I tried to sew with different programs, I did not save the flash drive, it writes the contents of the chip when checking it does not match the buffer. Chip W25Q64FW, maybe the fact is that the firmware is designed for GD25Q64. The format of the firmware is BIN. I also tried to sew the same result on BV. Bail out what's wrong? Below is the firmware itself.

Attached images
Attached Image
Attached Image


Attached files

Attached file55544_MYSTERY_MTV-402.rar(3.16 MB)


Post has been editedgoblin-gramotey - 07.03.19, 07:34
Reason for editing: Completed



Rep: (8)
* goblin-gramotey,
W25Q64FW so it is 1.8v. Without an adapter you can not pass it. Yes, she probably already from 3.3v lay back.

if you have exactly: W25Q64FW and not W25Q64FV, then without an adapter for 1.8 v you cannot sew a chip, at least, before flashing, people usually look through a magnifying glass at what is written on the chip and watch the chip voltage and voltage in your case This: W25Q64FW it consumes 1.8v and not 3.3v, even if it survives the overvoltage, the levels do not coincide as a result of which the data are distorted.


"W25Q64FW Publication Release Date: March 25,2013 Preliminary-Revision D1.8V 64M-BITSERIAL FLASH MEMORY WITH DUAL / QUADSPI & QPI"

By the way, I already wrote above about this in the winbond series: fw, dw, this is 1.8v. Gigadiways also have flash drives with such consumption. Usually such flash drives are installed in laptops and tablets.

Post has been editedztel5 - 07.03.19, 08:24



Rep: (18)
I stitched it successfully, it turned out that it had to be soldered, and not how I pressed the clothespin.



Rep: (8)
* goblin-gramotey,
W25Q64FW If on the chip it is: W25Q64FW is stuffed then on this programmer ch341a it can not be flashed without an adapter to 1.8v.
Despite the fact that in the program for the firmware, you can choose a voltage of 1.8v on the programmer there is no 1.8 v on the 3.3v programmer, this increase is almost double, such an increase is not permissible, there will be a bias of all the data, which you observed. where these progs are sold there is an adapter for 1.8v; such flash drives are only made through it, some craftsmen do not power the programmer with the firmware and serve 1.8v separately on the 8th leg of the chip, but then the same voltage should be applied to 7 and to 3 chip legs , if you apply for 8 leg 1.8v and for 3 and 7 you get 3.3v, then there will be a skewed data.

if there is no adapter, you can power up 8,7,3 separately, pzu legs feeding 1.8 volts from a third-party power source (not three different power sources to 1.8v but one) stitching the pzu not in a zif socket but hooking it to the port icsp (miso, mosi, cs, clk) pins displayed on the programmer. true in this case, the result is uncertain .....
You can choose a resistor that will turn 3.3v into 1.8 v and also flash it only through icsp (pins) in the folder with AsProgrammer 1.4.0 in the topic header. There is pinout where and how to connect.

Post has been editedztel5 - 07.03.19, 09:54



Rep: (29)
* goblin-gramotey , I wonder how you flashed and what did you do with the voltage?



Rep: (41)
ztel5 @ 03/07/19 16:05*
W25Q64FW If on the chip it is: W25Q64FW is stuffed then on this programmer ch341a it can not be flashed without an adapter to 1.8v.
It may be possible to stitch it, but how long it will serve after that is unknown. I would not dare to solder it somewhere after such experiments.

Post has been editedRUPOL - 07.03.19, 10:04



Rep: (8)
* RUPOL, if winbond is very tenacious, if not dead right then it will most likely work. but this is what is flooded there when the nominal is raised 2 times; I don’t even know this question, this is already a question above my understanding, this is a question for engineers, the manufacturer.

Post has been editedztel5 - 07.03.19, 10:06



Rep: (41)
* ztel5 , Survivors, he himself inserted and sewed a couple of times with the wrong “side” and tried, alive yet.

Post has been editedRUPOL - 07.03.19, 10:12



Rep: (43)
goldknight @ 03/06/19 16:36*
No one will tell? I want to buy W25M02GVZEIG, can I flash it on the CH341A? It seems that no prog officially supports this memory. Here is the datasheet: w25m02gv revb 070115.pdf

Well, or advise other flash drives from 512mbit and higher (preferably not wson8, but so-8 (sop-8, soic-8 and similar)

The question is still relevant. I would not refuse advice)

Post has been editedgoldknight - 07.03.19, 10:39


Full version    

Help     rules

Now: 07/16/19, 15:31