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: (8)
* ser.tuner
oh well :))) in hex editor? In the latest versions of BIOS devices, you don’t even hope that such data is encrypted.

no one asked him to bend the foot of the chip, I talked about the track on the board going to 8 foot

Post has been editedztel5 - 03.03.19, 19:00



Rep: (100)
ztel5 @ 03/03/19 09:58*
oh well :))) in hex editor?
in the latest versions of BIOS devices
you don’t even hope that such data is encrypted.

dump will help you)))
the software will open it
a hex editor
checksum will correct.
Do not ban progers ...
ztel5 @ 03/03/19 09:58*
no one asked him to bend the leg of the chip,
I talked about the track on the board going to 8 foot

clothespin, so that the flash died, aka bend legs ...

Post has been editedser.tuner - 04.03.19, 14:40



Rep: (29)
ztel5 @ 03/03/19, 14:48*
some are just the way that by the 8th leg goes cut across stitch and connect again

At the last mother, I wanted to do it with a leg up. But I thought that to throw off the chip faster and easier)

ztel5 @ 03/03/19, 14:48*
But in general, flashing the BIOS of the router or laptop motherboard (in some cases and the desktop) through the programmer is very fraught with the loss of mac addresses, if it is possible to flash the BIOS using standard tools, it is desirable to avoid firmware through the programmer.

This is an extreme case when the bios is dead and there is no time for poppies, etc.

ser.tuner @ 03/03/19, 17:52*
Do not do this, buy an adapter.

I ordered from the cap, I came across late on this topic)



Rep: (223)
ser.tuner @ 03/03/19, 22:15*
Who tried the thread GD25Q512TIGR (150mil)?

Careful ...
Attached Image



Rep: (100)
* shaman1010,
oh already my carelessness
I did not even watch .pdf,
so the catalog looked ...
hinted that SOIC8 512Mb (64MB) appeared.
(declared wanted)
- WSON8 (64MB) Microchip Technology
(no longer met under SOP8)



Rep: (8)
* ser.tuner

damp will help you)))
the software will open it
a hex editor
checksum will correct.
Do not ban progers ...



Probably in this story you have some meaning, although I doubt that this is feasible.

Post has been editedztel5 - 04.03.19, 09:46



Rep: (8)
There is a question for the ch341a chip specialists, is it possible to get f-bus (m-bus) levels from it?
There is a Nokia 1280 dialer good but there is a known firmware bug in which the phone perceives a short-term disconnection from the hundredth as the absence of a SIM card in the slot, in older versions of the firmware the bug is fixed. If you can get f-bus levels out of ch341a (for the sake of it, not to buy the same cyclone box)

about max3232 chip vkurse question on ch341a

Post has been editedztel5 - 04.03.19, 09:54



Rep: (100)
ztel5 @ 03/04/19 00:43*
Probably in this story you have some meaning,
although I doubt it is feasible.

let's be more specific
What is a router, a video card, a laptop?
But then everything is in a bunch, like "bios devices".
If the laptop, then there can be two flash.
one at 208mil, and the second 150mil and software
can not count, well, prog ...
ch341a with a small flash volume,
quite quickly cope.



Rep: (8)
* ser.tuner
What do you mean when you talk about some checksum adjustment? for it to be correct for a specific dump, it should have the full number of all the data available on the memory chip, if you didn’t enter there the mac addresses or other data in one way or another, how can it be correct and how will you put it there?

Specifically? I have 3 FM2A75M-DGS (2.70) ROM dumps, one merged from the chip using a programmer (dump a working BIOS), the second is merged by the Universal BIOS Backup ToolKit 2.0, and another one is downloaded from an offsite in FM2A75D2.70 format (uefi capsule) from it has a distorted image of the BIOS format 123.rom, all three dumps have checksums that differ, the data in them are not the same, what method can you do so that all these 3 dumps have the same checksum? :))))

Post has been editedztel5 - 04.03.19, 11:14



Rep: (406)
* vlrk
If the seller has already indicated the shipment and has not yet transferred it to the carrier, then after 10 days you can cancel the order, open a dispute and return the money, if the status “seller processes your order” is specified, then the money will return to you automatically, and if it has not expired, then wait.
These programmers on Ali are a black cloud, CH341A, choose to taste, use the search on the site.
https: //www.aliexpress...=0&isViewCP=y&jump=afs
It is necessary to replace the link in the header!

Post has been editedvovan26_ - 04.03.19, 14:10



Rep: (100)
* ztel5,
In the software made changes and fixes?
Here's a hex editor as well.

bios can not upgrade
motherboard?
here is horror to drive out of nothing ...



Rep: (8)
* ser.tuner
I have already updated everything that was needed before the merged dump from the w25q64fvsiq chip itself. It was about the fact that after the firmware poppy addresses fly off (on some versions of desktops and laptops) it was not about the fact that I can not flash the BIOS.



Rep: (29)
There is such a set. Tell me how to properly connect the clothespin with a programmer with these wires.
Attached Image



Rep: (14)
* teodorr, for starters, I would recommend on one side to remove the connectors from the cable and unsolder it (cable) on the "clothespin".
The more connectors, the greater the chance of contact failure.

Post has been editedold_pepper - 05.03.19, 07:39



Rep: (29)
* old_pepper
I have a loop with pins, I have already removed black pieces from it, and put a shrink on the pins
Attached Image
Attached Image

I would know the order where to stick. Because only this went with the programmer.
Attached Image
Attached Image

Clothespin with a train I bought separately.

Post has been editedteodorr - 05.03.19, 08:03



Rep: (14)
Teodorr @ 03/05/19 07:51*
I would know the order where to stick.

It's simple! Watchhere. Respectively connect with "clothespin".
And on the board you have the designation - what and where.

Post has been editedold_pepper - 05.03.19, 08:31



Rep: (29)
Old_pepper @ 03/05/19, 08:29*
And on the board you have the designation - what and where.

On the back of my legs are not signed
Attached Image

Old_pepper @ 03/05/19, 08:29*
It's simple! Watch here.

I'm not like that.

Post has been editedteodorr - 05.03.19, 08:36



Rep: (100)
* teodorr,
Attached Image



Rep: (29)
* ser.tuner ,
Thank. My programmer is not working yet. The computer is not defined. Most likely a marriage. I'll go change. I will change in the evening I will try according to your scheme. Unsubscribe.
P. S. In principle, is it possible to stick pins without a green card and clamp them? I'm on mamma will sew bios without drinking out.

Post has been editedteodorr - 05.03.19, 12:14
Reason for editing: Completed



Rep: (14)
Demonis @ 03/05/19 12:36*
"Mice cried, pricked, but continued to eat the cactus"

They are such mice: D
Teodorr @ 03/05/19, 12:07*
In principle, you can stick pins without a green card and clamp them?

Need to.


Full version    

Help     rules

Now: 07/16/19, 15:28