Author Topic: CH341A Serial Memory Programmer Power Supply Fix  (Read 641427 times)

0 Members and 3 Guests are viewing this topic.

Offline camber

  • Newbie
  • !
  • Posts: 3
  • Country: gr
Re: CH341A Serial Memory Programmer Power Supply Fix
« Reply #75 on: July 26, 2022, 12:48:04 pm »
Good point. The datasheet is in Chinese but as far as I can tell there is no write protect pin.
I resoldered every joint. I measured every component and is OK. I will order another board.
 

Offline Roland_W

  • Newbie
  • Posts: 9
  • Country: pl
Re: CH341A Serial Memory Programmer Power Supply Fix
« Reply #76 on: August 25, 2022, 01:03:36 pm »
Hi All,

I bought a black CH341A and made the modification to use it with 3.3V, and 5V signal. I add the goldpin to power supply selector 3.3V or 5V.


Below the SPI signal measure using the saleae.com logic analyser 3.3V interface
* Screenshot 2022-08-25 143137.jpg (206.61 kB. 1334x1092 - viewed 742 times.)

Below the SPI signal measure using the saleae.com logic analyser 5V interface
* Screenshot 2022-08-25 143314.jpg (138.45 kB. 1155x1060 - viewed 558 times.)
« Last Edit: August 25, 2022, 01:16:57 pm by Roland_W »
 
The following users thanked this post: MegaVolt

Offline Chamara Electronic

  • Newbie
  • Posts: 1
  • Country: lk
Re: CH341A Serial Memory Programmer Power Supply Fix
« Reply #77 on: September 21, 2022, 10:17:46 am »
I find the problem of some ic not responding

Error message is IC not responding

This is video i made about,

https://youtu.be/Ooe0mcnHb5M


 

Offline Georgdew

  • Newbie
  • Posts: 2
  • Country: hr
Re: CH341A Serial Memory Programmer Power Supply Fix
« Reply #78 on: October 17, 2022, 07:52:48 pm »
Hello Roland_W . Some of my opinion,explaining from your picture which I have modified below..
It was unnecessary to cut the threshold from U1 to C1 Capacitor. You will use 3.3V and 5V on the same capacitor, you will have an unstable fluctuation.
3.3V and 5V have separate capacitors, that is C2 and C1..Which means that each capacitor has different ratings (its own ratings) for different Voltages...
See my Mod in the next comment..
« Last Edit: October 19, 2022, 09:50:53 am by Georgdew »
 

Offline Georgdew

  • Newbie
  • Posts: 2
  • Country: hr
Re: CH341A Serial Memory Programmer Power Supply Fix
« Reply #79 on: October 17, 2022, 09:53:12 pm »
My modification:

Tested and working properly..
1.Reading bios dump file
2.Deleting the bios chip dump file
3.Writing the bios dump file
« Last Edit: October 17, 2022, 10:01:13 pm by Georgdew »
 
The following users thanked this post: sathex

Offline impetus_maximus

  • Contributor
  • Posts: 31
  • Country: us
Re: CH341A Serial Memory Programmer Power Supply Fix
« Reply #80 on: June 16, 2023, 05:09:53 pm »
was this mod ever really necessary? i purchased a KeeYees SOP8 SOIC8 Test Clip and CH341A USB Programmer recently. when not hooked to a chip, it has 5v on the data(?) line. after connecting it to a video card BIOS chip, the pins that were 5v now show 3.5v

so, was this a case of early version issue or was it one person checking the open voltage and everyone freaking out?  :bullshit: :scared:
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6025
  • Country: es
Re: CH341A Serial Memory Programmer Power Supply Fix
« Reply #81 on: June 16, 2023, 07:38:51 pm »
You're forcing the pins to clamp the voltage coming from the ch341, it's up to you to "freak out" or take the risk.
But one day you might want to read some important memory and get a surprise.
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 
The following users thanked this post: impetus_maximus

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 6076
  • Country: ca
Re: CH341A Serial Memory Programmer Power Supply Fix
« Reply #82 on: June 18, 2023, 01:33:21 am »
some infoes here

need registration i think  or password to unarchive them ?

https://4pda.to/forum/index.php?showtopic=884713&st=7440

neoprogrammer
https://forum.laboneinside.com/viewtopic.php?f=35&t=76

asprogrammer  i think replaced by neoprogrammer
https://github.com/nofeletru/UsbAsp-flash/releases

 
The following users thanked this post: impetus_maximus

Offline impetus_maximus

  • Contributor
  • Posts: 31
  • Country: us
Re: CH341A Serial Memory Programmer Power Supply Fix
« Reply #83 on: June 25, 2023, 05:52:36 pm »
You're forcing the pins to clamp the voltage coming from the ch341, it's up to you to "freak out" or take the risk.
But one day you might want to read some important memory and get a surprise.
i see. it's my understanding the programmer limits the current. now i'm hoping to find scrapped chips to see if i can read, then possibly kill one with it.  :-/O

some infoes here

need registration i think  or password to unarchive them ?

https://4pda.to/forum/index.php?showtopic=884713&st=7440

neoprogrammer
https://forum.laboneinside.com/viewtopic.php?f=35&t=76

asprogrammer  i think replaced by neoprogrammer
https://github.com/nofeletru/UsbAsp-flash/releases


thanks
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6025
  • Country: es
Re: CH341A Serial Memory Programmer Power Supply Fix
« Reply #84 on: June 25, 2023, 09:22:41 pm »
Killing chips is rare, but do you really want to take the risk?
Furthermore, the modification is really simple.
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline impetus_maximus

  • Contributor
  • Posts: 31
  • Country: us
Re: CH341A Serial Memory Programmer Power Supply Fix
« Reply #85 on: June 26, 2023, 01:11:47 am »
Killing chips is rare, but do you really want to take the risk?
Furthermore, the modification is really simple.
well i risked it, and was victorious. (this time)
 

Online Ian.M

  • Super Contributor
  • ***
  • Posts: 12921
Re: CH341A Serial Memory Programmer Power Supply Fix
« Reply #86 on: June 27, 2023, 11:35:13 am »
Do you also boast about jaywalking on the freeway?

The only reasons *NOT* to do the mod are if you lack the skills to lift a SOIC pin and run some bodge-wires, or if it isn't your CH341A board.  Even the need to work with 5V memory isn't a reason not to, as the switchable version of the mod isn't much more expensive or difficult to do.
 

Offline Starfox

  • Newbie
  • Posts: 2
  • Country: de
Re: CH341A Serial Memory Programmer Power Supply Fix
« Reply #87 on: December 01, 2023, 12:11:12 pm »
Hi I´m new to this Forum and found the 3.3V Fix from here on Google.

So I have modded my CH341A Black Edition, because i want to Flash a Winbond Chip with 3.3V

Only to be sure i have attached a Picture. On the above Pins for 25xxx Chipsets i have now 7 Pins with 3.3V and one Pin with GND (see Picture)

Is this correct ?

Schematic shows 3 Pins are 3.3V original without the 3V Fix

Pin 11,12 and 7 has 3.3V original
Now i have additional 3.3V on Pins 5,6,9,10 (called MOSI, MISO, CS and CLK)
Pin 8 is GND

Only to be sure before i Frie my Bios Chip 
« Last Edit: December 01, 2023, 02:01:47 pm by Starfox »
 

Offline Starfox

  • Newbie
  • Posts: 2
  • Country: de
Re: CH341A Serial Memory Programmer Power Supply Fix
« Reply #88 on: December 03, 2023, 01:41:56 pm »
This Voltages are correct i have attached in Picture post above.

Also a new CH341A don´t have to be modified, it switches automaticly to 3.3V when connect to Chip.
 

Offline uski

  • Frequent Contributor
  • **
  • Posts: 295
  • Country: us
Re: CH341A Serial Memory Programmer Power Supply Fix
« Reply #89 on: January 14, 2024, 07:24:59 am »
I think the ACT pin should go low if the chip has enumerated correctly. I have no idea why they made the jumper thing on the side, but according to the chinglish datasheet I believe the ACT pin is just supposed to connect to cathode of an LED with a resistor. The pin already has a 2k2 resistor in series and pin "3" has no connection, but is right beside a power trace. Just add a solder bridge and LED...or check with a meter.

I was wondering too... I removed the jumper and realized the CH341A enumerates in serial port mode. With the jumper on, it enumerates as the programmer.

Upon further research I found this in the datasheet:
Quote
To avoid effect 2-wire
synchronous serial interface when using SCL and SDA to configure, the ACT# of CH341 is set to low-level
through 2KΩ resistance during configuration time. The CH341 is enforced as EPP/MEM parallel interface
and synchronous serial interface, it doesn’t detect outside configuration chip forwardly

The datasheet is a bit confusing. This double-function of the ACT# pin is only specified deep inside the datasheet and not where the ACT# pin is described. So that's why many people, including myself, are confused as to why this jumper was there.
 

Offline majkl21

  • Newbie
  • Posts: 1
  • Country: cz
Re: CH341A Serial Memory Programmer Power Supply Fix
« Reply #90 on: February 01, 2024, 08:07:08 pm »
I just want to place here some different 3V3 fix which source I found after browsing with Google: https://github.com/OpenIPC/wiki/blob/master/en/hardware-programmer-ch341a-voltage-fix.md
It is nicer solution because you only need to cut part of 5V rail, add short wire between C4 and output of 3.3V stabilizer and connect rest of isolated 5V rail to 3.3V.
In the source there is slightly different PCB version but after measuring I found that it is quite similar. Modification was checked by programming Atmel 24C01 and Puya P25Q21U with CH341 / NeoProgrammer.
Shortly: Cut continuation of 5V rail on the bottom side of PCB (now it goes only to 3.3V stabilizer). On the top side connect now isolated 5V rail part with 3.3V supply via jumper between 3.3V and 5V. Finally connect pin 9 of CH341A equipped with C4 to 3.3V supply (as mentioned in datasheet for 3.3V).
« Last Edit: February 01, 2024, 08:08:40 pm by majkl21 »
 

Offline sir_cedric_lex

  • Newbie
  • Posts: 6
  • Country: 00
Re: CH341A Serial Memory Programmer Power Supply Fix
« Reply #91 on: February 24, 2024, 04:25:44 am »
I just want to place here some different 3V3 fix which source I found after browsing with Google: https://github.com/OpenIPC/wiki/blob/master/en/hardware-programmer-ch341a-voltage-fix.md
It is nicer solution because you only need to cut part of 5V rail, add short wire between C4 and output of 3.3V stabilizer and connect rest of isolated 5V rail to 3.3V.
In the source there is slightly different PCB version but after measuring I found that it is quite similar. Modification was checked by programming Atmel 24C01 and Puya P25Q21U with CH341 / NeoProgrammer.
Shortly: Cut continuation of 5V rail on the bottom side of PCB (now it goes only to 3.3V stabilizer). On the top side connect now isolated 5V rail part with 3.3V supply via jumper between 3.3V and 5V. Finally connect pin 9 of CH341A equipped with C4 to 3.3V supply (as mentioned in datasheet for 3.3V).

I just noticed in your second picture (IMG_3050.jpeg) that C5 is a zero ohm resistor and not a capacitor. This might be a factory fault. C5 should normally be the same as C6 with a value of ca. 20 pF since both (C5 and C6) are crystal load capacitors.
 

Offline sir_cedric_lex

  • Newbie
  • Posts: 6
  • Country: 00
Re: CH341A Serial Memory Programmer Power Supply Fix
« Reply #92 on: March 07, 2024, 05:29:44 pm »
Has somebody here saved the second attachment named ch341aProB+.jpeg from Reply #34 in this tread?
It should be a larger version of the shown thumbnail with a size of 1618.03 kB and a resolution of 2557x3300.

Reason: Due to a bug, the download button downloads the third attachment (51.99 kB, 1270x738) instead.

This might be a shot in the dark but maybe somebody saved it earlier...

-> It looks like this, just larger
 

Online Ian.M

  • Super Contributor
  • ***
  • Posts: 12921
Re: CH341A Serial Memory Programmer Power Supply Fix
« Reply #93 on: March 07, 2024, 06:01:14 pm »
I just had a rummage through my old PC's temp folders and found this.  No promises that its the right file as this forum recompresses image uploads, but it certainly looks*very* similar.  I've also uploaded it zipped, so you can see the exact file I've got rather than the recompressed version.
 

Offline sir_cedric_lex

  • Newbie
  • Posts: 6
  • Country: 00
Re: CH341A Serial Memory Programmer Power Supply Fix
« Reply #94 on: March 13, 2024, 09:49:32 pm »
I just had a rummage through my old PC's temp folders and found this.  No promises that its the right file as this forum recompresses image uploads, but it certainly looks*very* similar.  I've also uploaded it zipped, so you can see the exact file I've got rather than the recompressed version.

Indeed, the image looks almost identical. Thank you very much for all the effort Ian.M!

PS: I don't know if it's a problem on my side but I can't open the extracted file with any image viewer on my pc. It might have gotten corrupted before archiving but thankfully the other (recompressed) upload works fine!
« Last Edit: March 13, 2024, 10:14:03 pm by sir_cedric_lex »
 

Online Ian.M

  • Super Contributor
  • ***
  • Posts: 12921
Re: CH341A Serial Memory Programmer Power Supply Fix
« Reply #95 on: March 14, 2024, 02:40:05 am »
Hmm.  Its a 2550 x 3300  px JPEG, progressive, quality: 72, subsampling ON (2x1), and I can open the freshly downloaded and decompressed (with IzArc) zipped file here in IrfanView with no problems.  However, none of Microsoft's Win10 image or photo viewers or editors can handle that, nor can Chromium based browsers.  Maybe that's why it went AWOL!
 

Offline md5001996

  • Newbie
  • Posts: 2
  • Country: ve
Re: CH341A Serial Memory Programmer Power Supply Fix
« Reply #96 on: May 26, 2024, 01:17:20 am »
My modification:

Tested and working properly..
1.Reading bios dump file
2.Deleting the bios chip dump file
3.Writing the bios dump file

I like this mod, a 5v and 3.3v switch.

Only lift pin 28 and solder cables like on your images and add switch?

@DavidAlfa The mod seems reliable, but in my case I am getting the CH341a from amazon, so I would like to know if this will help, although I would like to solve the WP/HOLD pins issue as Libreboot says: https://libreboot.org/docs/install/spi.html#do-not-use-ch341a.

But the pictures is low quality and I can't see which pins/tracks to solder/cut. According to what I saw in the pictures, i understood the following and I modified the pictures (although I would require validation if what I indicated in the modified pictures is correct)

Separated Images is Libreboot Images (0000_th.jpg and 0001.jpg ) and one image is my modified photo to do at least the WP/Hold Pins (ch34a.jpg).

 

Offline md5001996

  • Newbie
  • Posts: 2
  • Country: ve
Re: CH341A Serial Memory Programmer Power Supply Fix
« Reply #97 on: May 26, 2024, 01:23:09 am »
Also I would like to know if what I show in the picture (ch341a with a logic converter) will also work.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf