[Guide] How to Use a CH341A SPI Programmer/Flasher (with Pictures!)

@cyanno Use Flashrom on Linux as in the guide and see if that works. Flashrom will also be more specific about what the issue is (connection etc).

@_haru ,
yes I used Flashrom, result attached. There is no connection to the BIOS Chip. I already mentioned that I tried many times (<30 times) and never got a positive response. Everytime I replaced the clip und then restartet the programm.
I have now dissembled the pc and wanted to desolder the BIOS chip and make a direct wiring between the BIOS chip and the CH341A. By doing so, do I need an additional voltage? And if yes, how? Would be really pleased for an answer.

Bildschirmfoto zu 2019-10-04_11-31-46.jpg

Sounds like your SOIC8 clip is faulty. You can desolder and resolder the chip onto an adapter board that should have come with your CH341A, and program it like a socketed chip without extra voltage. Be careful not to lift a pad on your motherboard when desoldering.

To be serious, I thought so too! I´m now waiting for a hot air soldering device and will inform afterwards!

Thx and best regards,

cyanno

do we need to remove the CMOS battery before we attach the clip?

My asus x555lb laptop bricked and I can look up the hardware. Can I use CH341a instead of service center. My chip is gigadevice 25Q and there is a g letter on the chip.

@_haru ,

could you please have a short look on the latest screenshot attached hereby. I´ve unsoldered the BIOS chip and soldered it on the adapter. In your opinion, what could be the reason: A bricked BIOS Chip or a faulty CH341A programmer?

Thx for an answer,

cyanno

PICT1522.JPG

Bildschirmfoto zu 2019-10-09_17-10-03.jpg

@cyanno - Programmer initiation error? I’ve not used flashrom before, but that could be faulty CH341A, I’m sure _haru will answer shortly on this.

Also, that chip you soldered on possibly does not look like BIOS chip to me, looks too narrow (ie not squared) and may be some other IC/controller etc. Can you read what is written on it?
* Edit - Looking back at your post #91 and I think this is the issue, and probably why your clip attempts failed too! uP0104P is not a BIOS chip, this is a DC-DC converter (voltage regulator), linear regulator etc
http://www.chipset-ic.com/UP0109P

@Lost_N_BIOS ,

yes you are right. I switched the layout of the motherboard with another one. Sorry about the inconvenience and thanks for the help.

cyanno

It is still hurting to admit such a mistake regarding the mainboard. Nevertheless, can someone tell me where to find this BIOS Chip on the mainboard A55M-P33?

Layout A55M-p33.jpg

@cyanno - it’s OK, don’t feel bad, we all have to make mistakes and learn sometime! Show me image of the actual motherboard and I will show you which is BIOS chip.
Actually, I looked at MSI Stock images, the BIOS chip is here, directly above SATA ports, right beside JSPI1 header

BIOS.jpg

@Lost_N_BIOS
yes, I found the BIOS chip, thanks. As you can see in the attached foto, there is not enough place to fix the SOIC8 clip, I therefore removed some of the plasic body from the nose and tried again, unfortunately again without a result. The programm is not recognizing a BIOS chip. Perhaps a last question, same question a asked by nikey22 in post 93: shall we remove the CMOS battery or is this of no concern?
cyanno

PICT1534.JPG

Yes, you may need to shave/file down the clip some and try to make it fit. MSI Always does this, usually it’s too close to PCIE slot
Maybe you are not getting good connection yet? CMOS Battery does not need removed, but board may need power connected (24+8 pin), or may need it removed.

If you have wires and a spare BIOS chip, you can use JSPI1 header, here is pinout info - Flashing BIOS chip (MX25L3205D) with CH341A progammer - can’t detect chip
You will need to solder wires to spare chip, unless you have a spring loaded socket like seen in the link above.
You need to program the BIOS on the spare chip with CH341A, then connect this programmed BIOS to the JSPI1 header, then boot to BIOS and while in BIOS remove the connected chip from the JSPI1 header and reflash BIOS from M-Flash

@Lost_N_BIOS ,
a very helpfull information. Now I need some time, for safety I ordered another CH341A programmer and also a cable suitable for a connection between the JSP1 header and the CH341A:
https://de.aliexpress.com/item/328370132…8f-3c44f952904b
Hope that this time it will be succesfull and will report later on (which could be about one month).

cyanno

Hi All, I am very new here and also flashing bios.
I have two doubts to share, It will be very helpful if anyone can support.

1) I would like to flash my Intel motherboard. I have only the “.bio” file (955 KB size) not the “.bin” file. Can I Use this “.bio” file to flash?
( My pc is very old one DG35EC)
https://downloadcenter.intel.com/downloa…8?product=34689

2) Did the device and software support the chip in the image, and is it the correct bios chip?

IMG_20191011_160246.jpg

@cyanno - very nice, looks like reports are good for this cable working. I’ve never seen flash possible like that, usually needs to be pre-programmed chip on other end of cable to JSPI1 and BIOS boots directly from this, but sounds like it works this way somehow. Look forward to hearing how it goes

@Prasanth - you cannot flash .BIO files from Intel with programmer. To fix your board you need to dump the current BIOS contents, make sure someone checks to be sure they are valid BIOS contents and not corrupted dump, then you can pull serial or MAC out.
Then you need another dump from same system, put your details back into it and then re-program back in.

That looks like correct chip. What is the problem with this system, are you recovering it from bad BIOS flash or something like that?

Another option is to use the Recovery BIOS method described on the site you linked.

@Lost_N_BIOS

Thank you for your quick reply,
I will try to explain the exact problem. The first thing is my system is working fine without any issue, the only problem is I can’t update my bios.

My system is pretty old ( Over 10 years ). Each time I try to update my bios I will get the error message please check the below screens.

Bios-exe.jpg



I tried to update with bootable USB, and find out my bios id is blank.

IMG_20191013_110610.jpg



I also tried to update with recovery, which also failed.

Recovery-update-failed.jpg



Please see how my bios information displaying in the bios, system information and CPU-Z

IMG_20191013_094113.jpg


IMG_20191013_094128.jpg


System Information.JPG


Motherboard info CPU-Z.JPG



After some research, I find this video. In the video, he is flashing the bios chip with the “.bio” file. But using different programming tools and software.
https://www.youtube.com/watch?v=ENchKl3a1L0

Then I find out CH341A after lots of research.
In simple words, I want to update my bios but now it is nearly impossible. So thinking about reprogramming the chip. Please also guide me if I can solve this problem without reprogramming.

Please also check the motherboard images.

IMG_20191013_094617.jpg


IMG_20191011_153653.jpg



Thank you so much for your time.

Thanks, yes, that is corrupted in some areas, surprised it’s working still like that! What is your current actual BIOS version, do you know? Maybe there is some interim BIOS you should try flashing before the latest ones?
Did you try No jumper for “recovery” mode and reflash BIOS from USB using that .BIO file? That may be all you need to do.

Yes, he is using flash programmer just with different software. Maybe some older Intel boards .BIO file is bootable, I think the “recovery” ones can be, but I’ve never seen .BIO file work that way, it usually needs edited, or only part of it programmed into certain region of the chip with programmer.
He may have made that video to be misleading to then direct you towards his site for paid recovery help. Or, it may be valid, and that particular models .BIO file is programmable and bootable as-is, but I doubt it, never seen that possible, but I do not know a ton about old Intel BIOS/boards
Or maybe that allows it to boot into recovery mode, so you can then properly recover or reflash? he didn’t show that screen at the end, and abruptly cut the video there.

Hey! I see that file is labelled as “Recovery” at Intel’s site, sorry I didn’t see that previously, just replied what I knew in general about normal intel .BIO files.
So yes, do that and see if you can get into BIOS or recovery! I checked the file, this is a partial UEFI encapsulated file (So not old, new stuff,) Since you say this is old I doubt it has anything UEFI on the BIOS and this is not a complete BIOS I don’t think, I see microcodes though, so maybe more than just recovery is possible.

Best you dump your current chips contents and have someone look at them before you do any erase/write, just to be sure you have a copy of whatever is there and it’s a valid proper copy, in case you need anything out of it later

@Lost_N_BIOS
No way to find my current bios version. Yes, I tried the recovery mode without the jumper, I already shared the screen.
I tried to back up my bios using "Universal BIOS Backup ToolKit 2.0" but got an error message.

Error from the BIOS Backup ToolKit.JPG


After some search, I found these two blogs are providing .bin files of my board (DG35EC).
Can I use this for flash?
http://techcarecomputers.blogspot.com/p/blog-page.html?m=1

https://ajayantech.blogspot.com/2018/11/…s-download.html


Did the USB programmer support MX25L8005M2C-15G, is this MXIC?

I can open my pc but I’m worried about the keyboard won’t function. Should I uninstall battery before using CH341a? Should I flash a hacked dsdt bios for hackintosh?
-------------------
I have got two PCs. First is HP Pavilion 15 cs1011nt. Second and broken is Asus K555LB-XO187H. Its bios has bricked.
-------------------------
I think it has got soldered chip but I cannot find any online seller for SOIC8 in Turkey. In direnc.net I could find the CH341a but not SOIC8.