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

0 Members and 22 Guests are viewing this topic.

Offline magic

  • Super Contributor
  • ***
  • Posts: 2952
  • Country: pl
Re: CH341A Serial Memory Programmer Power Supply Fix
« Reply #50 on: January 21, 2021, 09:20:51 pm »
I suppose the 3.3V reg is used to power USB so the USB interface operates at reduced voltage without this connection because of losses in the internal regulator. Not a big deal if it works, but I would fix it.
 

Offline Mcast

  • Contributor
  • Posts: 5
  • Country: br
Re: CH341A Serial Memory Programmer Power Supply Fix
« Reply #51 on: January 24, 2021, 12:28:06 am »
Quote
I suppose the 3.3V reg is used to power USB so the USB interface operates at reduced voltage without this connection because of losses in the internal regulator. Not a big deal if it works, but I would fix it.

I tried to do what you said, I disconnected pin 28 and left only pin 9 powered, the device didn't turn on. I believe that there are other components within the integrated circuit that need power from pin 28.
« Last Edit: January 24, 2021, 12:30:41 am by Mcast »
 

Offline magic

  • Super Contributor
  • ***
  • Posts: 2952
  • Country: pl
Re: CH341A Serial Memory Programmer Power Supply Fix
« Reply #52 on: January 24, 2021, 12:46:25 am »
No, that's not what I meant. It looks like everything on this chip runs from VCC except for USB communications which require 3.3V.
When VCC=5V the chip generates V3 internally. When VCC=3.3V the internal regulator will output less than 3.3V on V3 so USB may work if you are lucky or it may sometimes fail to work. That's why you short V3 toVCC.
 

Offline fearconte

  • Newbie
  • Posts: 1
  • Country: ro
Re: CH341A Serial Memory Programmer Power Supply Fix
« Reply #53 on: January 24, 2021, 05:11:06 pm »
Hi,

I have a CH341A Pro black "edition" and I tried to read some chips using clamp (chips are on board soldered), first the Detect doesn't work - ok china - i have selected the correct chip from list and read the chip.
on second read some data shifted and I was like this is not ok the chip is a Winbond W25X10
I have tried on different chip a PMC PM25LV512A which was read ok multiple times - erase - write - all good, strange but works with PMC not with Winbond which I need.

So I have searched the web and saw this post about the voltage, checked mine - 5V everywhere and I have started the mod using the OP
Lifted the pin 28 connect to C3 then to 1117 tested - success 3.3V - tried to Detect the chip still not working, tried to read, erase, program all error
Then I have tried next mod pin 28 to 1117 and pin 9 to 1117 - 3.3V but the same errors

Any ideas?

Thank you!

 

Offline Mcast

  • Contributor
  • Posts: 5
  • Country: br
Re: CH341A Serial Memory Programmer Power Supply Fix
« Reply #54 on: January 24, 2021, 06:33:41 pm »
Quote
No, that's not what I meant. It looks like everything on this chip runs from VCC except for USB communications which require 3.3V.
When VCC=5V the chip generates V3 internally. When VCC=3.3V the internal regulator will output less than 3.3V on V3 so USB may work if you are lucky or it may sometimes fail to work. That's why you short V3 toVCC.

Now I get it. I measured it and the difference between Vcc and V3 was about 130 millivolt, there is a loss of voltage too.
It's like 78xx, the regulator starts to become unstable (with noise, variation and the whole thing) when the input voltage stays the same with the output voltage.
I made the change, thank you all!
 

Online Ian.M

  • Super Contributor
  • ***
  • Posts: 9733
Re: CH341A Serial Memory Programmer Power Supply Fix
« Reply #55 on: January 24, 2021, 08:15:45 pm »
@Mcast, that's a nice neat job you should be proud of.

If you want to mod it to be a switchable 3.3V/5V programmer, in addition to the Vcc pin lift already discussed, you need to add a tiny DPDT switch with one pole switching Vcc between 3.3V from the LM1117-3.3V, and 5V (via a polyfuse), and the other shorting V3 to Vcc in the 3.3V position to bypass the internal regulator.  Where to mount it is the problem - if its small enough it may be possible to solder the switch body to the ground track along the board edge next to the three capacitors by the regulator, otherwise epoxying it on top of the CH341A chip would be a sensible option.

There's a good page about this programmer here: https://www.onetransistor.eu/2017/08/ch341a-mini-programmer-schematic.html

Finally, for those of you less experienced with SMD rework and board mods *PLEASE* for your and our sanity, and to reduce the risk of snapping the Vcc pin, get some 28 or 30 AWG Kynar wirewrap wire or magnet wire to do the mod with! If you *MUST* use stranded wire it needs to be something really thin and flexible, but with a good quality core,e.g. a single wire stripped from an old 80 wire UDMA PATA cable, ends carefully stripped, pre-tinned and trimmed to length *BEFORE* making the joints, and you need an order of magnitude more skill to get a decent result with stranded wire.
 

Offline Mcast

  • Contributor
  • Posts: 5
  • Country: br
Re: CH341A Serial Memory Programmer Power Supply Fix
« Reply #56 on: January 24, 2021, 10:23:38 pm »
Quote
@Mcast, that's a nice neat job you should be proud of.

If you want to mod it to be a switchable 3.3V/5V programmer, in addition to the Vcc pin lift already discussed, you need to add a tiny DPDT switch with one pole switching Vcc between 3.3V from the LM1117-3.3V, and 5V (via a polyfuse), and the other shorting V3 to Vcc in the 3.3V position to bypass the internal regulator.  Where to mount it is the problem - if its small enough it may be possible to solder the switch body to the ground track along the board edge next to the three capacitors by the regulator, otherwise epoxying it on top of the CH341A chip would be a sensible option.

There's a good page about this programmer here: https://www.onetransistor.eu/2017/08/ch341a-mini-programmer-schematic.html

Finally, for those of you less experienced with SMD rework and board mods *PLEASE* for your and our sanity, and to reduce the risk of snapping the Vcc pin, get some 28 or 30 AWG Kynar wirewrap wire or magnet wire to do the mod with! If you *MUST* use stranded wire it needs to be something really thin and flexible, but with a good quality core,e.g. a single wire stripped from an old 80 wire UDMA PATA cable, ends carefully stripped, pre-tinned and trimmed to length *BEFORE* making the joints, and you need an order of magnitude more skill to get a decent result with stranded wire.

I was really thinking about this upgrade, but there are 2 obstacles for me: I really care about the aesthetics of the adapter and the most of the memories I use, work at 3.3 volts. Maybe I will make a separate box to hold the new sockets and switches. Thanks for the tip!
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf