Author Topic: KSGER 2.1S r3 controller with defective STM32 processor  (Read 7749 times)

0 Members and 1 Guest are viewing this topic.

Offline cosmin1Topic starter

  • Regular Contributor
  • *
  • !
  • Posts: 117
  • Country: ro
Re: KSGER 2.1S r3 controller with defective STM32 processor
« Reply #25 on: December 13, 2020, 05:53:22 pm »
Sorry, i forgot about this topic. Problem is solved long ago. New STM, programmed and work like a charm.
Thanks floobydust for all support and help.
I attached here the finished schematic for this black board, if anyone will need it in future.

In the meantime, if that black board was dead, i ordered other version. Blue PCB 'Ve2.1S' r2 KSGER Version (LWFP-64).
Problems here too. Controller worked just fine until i connected the 3V battery.
Suddenly it does nothing. Just the green led from the back lights continuously. The ST-link utility does not see it either, so MCU is not working.
i'm really lucky with these boards...  :(


« Last Edit: December 13, 2020, 10:04:12 pm by cosmin1 »
 
The following users thanked this post: REWEREWE

Offline floobydust

  • Super Contributor
  • ***
  • Posts: 6987
  • Country: ca
Re: KSGER 2.1S r3 controller with defective STM32 processor
« Reply #26 on: December 13, 2020, 08:21:38 pm »
I would check the battery cable has the right polarity. Maybe it is backwards? (-) is to outside of pcb edge.
Did you order these from the KSGER store, or some shady dark alley? Sometimes I think they ship different quality boards.

This Ve2.12S board has the mystery op-amp "621K" that the Russians have problems with, low accuracy on temperature. What does it report for H/W and S/W version?
Thanks for the Ve2.12S pictures, another schematic to draw lol.
 

Offline S. Petrukhin

  • Super Contributor
  • ***
  • Posts: 1144
  • Country: ru
Re: KSGER 2.1S r3 controller with defective STM32 processor
« Reply #27 on: December 13, 2020, 08:50:11 pm »
Problems here too. Controller worked just fine until i connected the 3V battery.
Suddenly it does nothing. Just the green led from the back lights continuosly. The ST-link utility does not see it either, so MCU is not working.
i'm really lucky with these boards...  :(

After disconnecting the battery, the controller does not work?

Maybe you have a large static charge on you and damage the MCU with it?
Or when connecting the board bent and damaged the soldering.

The STM will not respond to the programmer when properly connected (preferably with an nReset wire) if it is dead or has no power supply. Have you checked the power supply?
« Last Edit: December 13, 2020, 08:52:51 pm by S. Petrukhin »
And sorry for my English.
 

Offline cosmin1Topic starter

  • Regular Contributor
  • *
  • !
  • Posts: 117
  • Country: ro
Re: KSGER 2.1S r3 controller with defective STM32 processor
« Reply #28 on: December 13, 2020, 09:54:58 pm »
I would check the battery cable has the right polarity. Maybe it is backwards? (-) is to outside of pcb edge.
I checked. Polarity is good.

Did you order these from the KSGER store, or some shady dark alley? Sometimes I think they ship different quality boards.
They are from KSGER stores (there are 2-3 stores on Ali).

This Ve2.12S board has the mystery op-amp "621K" that the Russians have problems with, low accuracy on temperature. What does it report for H/W and S/W version?
As i remember, it's just the usual H/W 2.0, S/W 2.12, MCU STM32F103 (now can't check it anymore). I had it connected in the past with ST-link without problems.
Can the op-amp be replaced with the 8551? I ordered a few pieces.

Thanks for the Ve2.12S pictures, another schematic to draw lol.
We'll do it, friend! I have more accurate pictures, will send you over if you want. I think is a bit different (or not) from your Ve2.12S.


After disconnecting the battery, the controller does not work?
No. Only the LED lights continuously after 2s from connecting the power and no tip connected.

Maybe you have a large static charge on you and damage the MCU with it?
Or when connecting the board bent and damaged the soldering.
I don't think i had any static charge, because in same time i played with the black board and he's ok. Anyway, i didn't touch the MCU.

Have you checked the power supply?
Yes, i have 3,3V on MCU.
But interesting is, i have only 1,4V in battery connector (without battery connected). On the good board i have 3,3V in it.
« Last Edit: December 13, 2020, 10:41:31 pm by cosmin1 »
 

Offline cosmin1Topic starter

  • Regular Contributor
  • *
  • !
  • Posts: 117
  • Country: ro
Re: KSGER 2.1S r3 controller with defective STM32 processor
« Reply #29 on: December 14, 2020, 06:44:34 am »
Solved this too! ;D

Resoldered the quartz oscillator (didn't seem soldered right) and didn't start. But... at least i had again communication with ST-link.
Tested all available fw and only one work: T12_v.2.1S_OLED1.3.
SW version is reported as 2.11.

« Last Edit: December 14, 2020, 12:16:55 pm by cosmin1 »
 

Offline S. Petrukhin

  • Super Contributor
  • ***
  • Posts: 1144
  • Country: ru
Re: KSGER 2.1S r3 controller with defective STM32 processor
« Reply #30 on: December 14, 2020, 09:01:53 am »
Did you connect the nReset wire to the ST-Link, select a hardware Reset in the settings?
STM32 always starts after Reset on the built-in generator and an external faulty quartz does not prevent the programmer from seeing the MCU. But to do this, the programmer must be able to perform a Reset over the wire.
And sorry for my English.
 

Offline cosmin1Topic starter

  • Regular Contributor
  • *
  • !
  • Posts: 117
  • Country: ro
Re: KSGER 2.1S r3 controller with defective STM32 processor
« Reply #31 on: December 14, 2020, 09:16:21 am »
No, i did not.
Just resoldered the quartz and already had the communication with ST-Link.
 

Offline SunnyDay

  • Contributor
  • Posts: 10
  • Country: us
Re: KSGER 2.1S r3 controller with defective STM32 processor
« Reply #32 on: December 16, 2020, 05:27:05 pm »
In the meantime, if that black board was dead, i ordered other version. Blue PCB 'Ve2.1S' r2 KSGER Version (LWFP-64).

It's interesting that your version from the KSGER store has the STM32F101RBT6, but the assembled one I ordered this month from the "KSGER Store" on Amazon advertised as V2.1S came with the identical blue PCB marked Ve2.12s on the silkscreen, but fitted with an STM32F101R8T6 chip, and Q3 and D3 installed to control a vacuum pump. The info screen says
"Soldering Iron
 HW Version 2.1S
 SW Version 2.10"

And I noticed that on some pictures of KSGER irons that I've seen posted, there is a KSGER logo on the screen. Mine doesn't have a KSGER logo on the bootup screen. Does yours have a KSGER logo on the boot screen?
« Last Edit: December 16, 2020, 05:32:31 pm by SunnyDay »
 

Offline cosmin1Topic starter

  • Regular Contributor
  • *
  • !
  • Posts: 117
  • Country: ro
Re: KSGER 2.1S r3 controller with defective STM32 processor
« Reply #33 on: December 16, 2020, 06:20:51 pm »
My Ve2.12s blue controller has the STM32F103, not F101 MCU.

The KSGER logo i have never seen. How is it look like?
 

Offline SunnyDay

  • Contributor
  • Posts: 10
  • Country: us
Re: KSGER 2.1S r3 controller with defective STM32 processor
« Reply #34 on: December 16, 2020, 07:49:04 pm »
My Ve2.12s blue controller has the STM32F103, not F101 MCU.

Yes, you're right. I didn't look carefully enough at your photo :palm:. So that's another difference in these "KSGER" Ve2.12S versions.

Here is the picture from a Russian forum with the KSGER logo:
 

Offline cosmin1Topic starter

  • Regular Contributor
  • *
  • !
  • Posts: 117
  • Country: ro
Re: KSGER 2.1S r3 controller with defective STM32 processor
« Reply #35 on: December 16, 2020, 07:59:14 pm »
Nice.
I have no such a logo. It all depends on firmware. The chinese did not copy all the details...
Maybe DavidAlfa could help us out, adding boot logo to certain firmwares.
« Last Edit: December 16, 2020, 09:37:04 pm by cosmin1 »
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5907
  • Country: es
Re: KSGER 2.1S r3 controller with defective STM32 processor
« Reply #36 on: December 17, 2020, 01:48:16 am »
RB and R8 are the same thing, the R8 has part of flash not tested or defective, therebefore sold as 64KB
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline cosmin1Topic starter

  • Regular Contributor
  • *
  • !
  • Posts: 117
  • Country: ro
Re: KSGER 2.1S r3 controller with defective STM32 processor
« Reply #37 on: December 17, 2020, 02:47:31 am »
What do you say David, can you add a boot logo to firmware i use?
 

Offline SunnyDay

  • Contributor
  • Posts: 10
  • Country: us
Re: KSGER 2.1S r3 controller with defective STM32 processor
« Reply #38 on: December 17, 2020, 03:20:15 am »
I know that the only difference between the R8 and the RB within the same series is the amount of memory, but what I don't understand is if the F101 has enough features to run the iron, why do they put the F103 in some of their controllers?

The other thing I wonder about is how they fit the the stock firmware into F101R8 controllers like mine, because the stock firmware files I've looked at have a binary size of about ~75KB. So are they putting 75K of firmware in an MCU with only 64K of tested memory, and risking malfunction, or are they taking something out of their firmware to make it fit the smaller 64K memory space available?
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5907
  • Country: es
Re: KSGER 2.1S r3 controller with defective STM32 processor
« Reply #39 on: December 17, 2020, 09:08:31 am »
Easy, if the flash is defective, it will fail the verification.
They use whatever is cheaper in that moment, simple as that.
Adding a logo would be a huge and hard work, patching a compiled fw needs a knowledge in assembler programming that I don't have..
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 
The following users thanked this post: cosmin1

Offline SunnyDay

  • Contributor
  • Posts: 10
  • Country: us
Re: KSGER 2.1S r3 controller with defective STM32 processor
« Reply #40 on: December 18, 2020, 12:00:36 am »
Easy, if the flash is defective, it will fail the verification.

The problem with that approach is that although the flash memory may pass verification under the specific conditions of temperature and voltage that they test it at in their factory, that doesn't necessarily mean that it will work over its full rated temperature and voltage range that it could be exposed to after hours of operation inside a sealed case without ventilation. It could still be partially defective, and might fail under other conditions. Maybe that accounts for the reports of peoples' controllers freezing, and irons spontaneously glowing red hot. Borderline or defective flash memory is very sensitive to environmental conditions, and chips that can't be read at all at one temperature may read out perfectly at another higher or lower temperature.

I couldn't imagine any of the reputable soldering iron manufacturers stuffing 75K of firmware into a chip that was marked and sold by its manufacturer as a 64K device, even if it happened to pass verification.
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5907
  • Country: es
Re: KSGER 2.1S r3 controller with defective STM32 processor
« Reply #41 on: December 18, 2020, 09:18:49 am »
Sure, that behavior is not profesional. But for the DIYer it's a cool hack.
These glowing irons are pretty much software bugs,  they didn't consider certain possibilities and it stucks somewhere.
I've had few of these, mainly caused by hard faults or the main error handler.
So I set some debugging output there, and disable the pwm when It happens.
Didn't had any more iron "bulbs" haha.
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline cosmin1Topic starter

  • Regular Contributor
  • *
  • !
  • Posts: 117
  • Country: ro
Re: KSGER 2.1S r3 controller with defective STM32 processor
« Reply #42 on: December 24, 2020, 03:38:08 pm »
So these boards can really control JBC tips?
My JBC 245 tip+handle arrived and i would give it a try.

Merry Xmas everyone!
« Last Edit: December 24, 2020, 07:36:25 pm by cosmin1 »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf