Author Topic: CFW for KSGER/Quicko STM32 Soldering Stations  (Read 643387 times)

bozo and 2 Guests are viewing this topic.

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5835
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1500 on: August 01, 2021, 06:30:19 pm »
I think it was too sensitive, harder to adjust.
I also reverted to less agressive settings.
Now the defaults are 60-60-10-0.50
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline ricktendoTopic starter

  • Regular Contributor
  • *
  • Posts: 115
  • Country: hn
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1501 on: August 01, 2021, 06:37:01 pm »
Thank you David for the new Boost Mode feature, I think you did a great job implementing this!

I would like to report a possible bug, I tested the latest firmware on ksger v1.5 (not tested yet on 2.x) and I cannot seem to switch temperature display from numeric to graph

Can anybody else reproduce this?
« Last Edit: August 01, 2021, 06:38:33 pm by ricktendo »
 

Offline illiac4

  • Regular Contributor
  • *
  • Posts: 57
  • Country: si
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1502 on: August 01, 2021, 06:41:29 pm »
I have tested the newest firmware and STBY now works.

- I think that contrast in settings has no effect.
- And also about shake to wake. Maybe I am doing it wrong but what I would like to achieve is:
1. when it goes into the STBY mode that it is possible to wake it with shake (This works)
2. but when it goes into the Sleep mode it can only be waken with button press but not with Shake. (This does not because already a shake wakes him.)
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5835
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1503 on: August 01, 2021, 06:43:51 pm »
You can enable or disable button and shake wake independently.
You might not notice an instant change in brightness, you have 255 steps! Set contrast to minimum, the screen should dim a lot.

In sleep/standby/boost modes and button wake enabled, the first click will set the normal mode instead changing the temperature display mode.

Will check these issues later. For now, test it thoroughly and ensure it's not your fault :D
« Last Edit: August 01, 2021, 11:56:42 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline tatel

  • Frequent Contributor
  • **
  • Posts: 427
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1504 on: August 01, 2021, 07:08:45 pm »
Not happening here.
After factory reset, I created "2","3","4","5"... Deleting BC3(1st tip), deleted exactly that one.
Deleting any other tip also worked as it should.

Please describe the exact procedure to reproduce the issue.
Ensure you're using the latest, made few hours ago.
Since I've been doing multiple builds daily, it's a little confusing.


Update after writing this message:  I can't see that boost feature. Clicking github link in your signature, I see last commit 7716267 6 hours ago. Then, in BOARDS/Quicko/STM32F103C8, I see a09f40c 8 hours ago, which is the one I'm using. So I does look like I'm not getting the last update. FWIW, I'm including the report for a09f40c.

(somewhere in the past)
Well, the exact procedure is almost as I said... using last commit a09f40c. It's true that after calibrating, I have been able to delete BC3 as expected. But, to be sure, I flashed it again. What I see now is, after creating a new tip, going to BC3 I got into the last tip created -still uncalibrated. So, created DFLT, just named, saved, selected BC3 (still in Edit Tips menu), clic... and got into DFLT settings. Cancel. Created BC2, just named, saved, select BC3, clic... got into BC2. Create D16, just name it, save, select BC3, gets you into D16.

Selecting any created tip in the Edit tip menu, gets me into the last created tip settings. BC3, DFLT, BC2... no matter, selecting any of these I got now into D16 settings.

After that, selected BC3, clic, got into D16 settings, delete. D16 gets deleted. Now selected BC3 again. Clic. This time I got into default settings with a blank name. Cancel. Same with DFLT and BC2, I get into default settings with blank name.

After that, in main screen, clic+rotate right, selected DFLT tip. Then, in Edit tips menu, again I always get into default setting with blank name, no matter which one i select.

So, again in main screen, click+rotate right, select BC2 tip. Calibration->Adjust. Save.. Edit tips. Still default settings with blank name.

Calibration -> Start. Back. Exit. Edit tips. Same again. Any tip I enter into, has default settings and a blank name. Included the calibrated one. But, If I get into any of these and delete it, is that tip the one that gets deleted.

Well, last time somehow I was able to get it working. Not this time.






 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5835
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1505 on: August 01, 2021, 07:12:57 pm »
Will check that later
« Last Edit: August 01, 2021, 07:14:32 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline StephenR0

  • Regular Contributor
  • *
  • Posts: 52
  • Country: us
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1506 on: August 01, 2021, 07:57:00 pm »
I would like to report a possible bug, I tested the latest firmware on ksger v1.5 (not tested yet on 2.x) and I cannot seem to switch temperature display from numeric to graph

Can anybody else reproduce this?

Yes, I can verify that I can't seem to switch temperature display mode either.  Also, the new PID values don't seem to be an improvement, especially for my one wild tip.  But I expect that I can adjust the PID similar to what I had before.
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5835
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1507 on: August 01, 2021, 08:22:59 pm »
That pid is for the average tip, not your wild ones :D.
It reduces aggressiveness, so it should help a bit with most tips.
Maybe you're running old PID settings? Current defaults are 60-60-10-0.50, and filter 2.
« Last Edit: August 01, 2021, 11:42:02 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline Cuboy

  • Regular Contributor
  • *
  • Posts: 67
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1508 on: August 01, 2021, 09:44:58 pm »
I got a ksger t12 v2.1 with a stm32f103rbt6. Im waiting for a stlink v2 clone to test the firmware.
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5835
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1509 on: August 01, 2021, 11:16:19 pm »
I can confirm the temperature display mode bug. Fixed.
Couldn't reproduce other issues. Maybe some builds were not updated correctly as tatel's comment suggests.
New builds available, try them.
It's sleep time for me, more tomorrow!

Cuboy, that mcu will work fine with the current ksger v2 build.

Does anyone have original backups of ksger v1.5/v2/v3 or quicko F072?
« Last Edit: August 01, 2021, 11:57:35 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 
The following users thanked this post: Cuboy

Offline Cuboy

  • Regular Contributor
  • *
  • Posts: 67
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1510 on: August 02, 2021, 12:53:06 am »
I can confirm the temperature display mode bug. Fixed.
Couldn't reproduce other issues. Maybe some builds were not updated correctly as tatel's comment suggests.
New builds available, try them.
It's sleep time for me, more tomorrow!

Cuboy, that mcu will work fine with the current ksger v2 build.

Does anyone have original backups of ksger v1.5/v2/v3 or quicko F072?

Any problems i will report back.

Anyway today i was searching throught the code and saw that you reverted the pid algorithm to an old one, why is that? Doesn't the "new" algorithm work properly?

I'm willing to spend time debugging and working on it.
 

Offline tatel

  • Frequent Contributor
  • **
  • Posts: 427
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1511 on: August 02, 2021, 01:44:35 am »
Downloaded commit  f3b505b. Now I see boost settings. Weird behaviour in Edit Tips menu is gone. I created new tips, then deleted BC3, no problem 8). Thank you, man
 

Offline ricktendoTopic starter

  • Regular Contributor
  • *
  • Posts: 115
  • Country: hn
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1512 on: August 02, 2021, 02:18:05 am »
Anybody else with a 1.5 board have a similar issue as me, a stuck pixel/row on the LCD

It could be a faulty LCD screen, it could have always been like this and I am just noticing.

Edit: Also would it be possible to enable Shake wake from Standby but not Sleeping?
I like to start my iron sleeping, but any light movement it wakes, I would like to maintain the ability to have it wake from standby but if its sleeping I would like to have to press button.

« Last Edit: August 02, 2021, 02:42:30 am by ricktendo »
 

Offline StephenR0

  • Regular Contributor
  • *
  • Posts: 52
  • Country: us
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1513 on: August 02, 2021, 02:56:42 am »
That pid is for the average tip, not your wild ones :D.
It reduces aggressiveness, so it should help a bit with most tips.
Maybe you're running old PID settings? Current defaults are 60-60-10-0.50, and filter 2.

I'm running the new settings.  I did a full reset after flashing.  FYI.
 

Offline illiac4

  • Regular Contributor
  • *
  • Posts: 57
  • Country: si
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1514 on: August 02, 2021, 04:29:45 am »
I can confirm the temperature display mode bug. Fixed.
Couldn't reproduce other issues. Maybe some builds were not updated correctly as tatel's comment suggests.
New builds available, try them.
It's sleep time for me, more tomorrow!

Cuboy, that mcu will work fine with the current ksger v2 build.

Does anyone have original backups of ksger v1.5/v2/v3 or quicko F072?

Any problems i will report back.

Anyway today i was searching throught the code and saw that you reverted the pid algorithm to an old one, why is that? Doesn't the "new" algorithm work properly?

I'm willing to spend time debugging and working on it.

Hi. I have tested backups and flashing KSGER v2.1S and the one from HANDSKIT. The HANDSKIT does not asks for codes after flashing back to original but KSGER does.
Here is the keygen for codes that i have tested with 2.1S
http://t12.omegahg.com/keygen.htm

The files I have used are:
- T12_HW21S_Encryption-SH1106 _SW211.hex (version HW-2.1S; SW-2.11; SH1106)
- T12_HW21S_Encryption-SH1106_SW212.hex (version HW-2.1S; SW-2.12; SH1106)
- T12_v.2.1S_OLED1.3_enc_mod_SW211.hex   (version HW-2.1S; SW-2.11; SH1106; encoder moves in opposite direction)
- T12_HW21S_Encryption-SSD1306_SW211.hex (version HW-2.1S; SW-2.11; SSD1306)

Oled Info:
SSD1306 - 0.96 inch
SH1106 - 1.3 inch

I have also attached short info how to flash the firmware.
Since google drive for firmwares is dead, I have uploaded also original copy of all the files there. From the name you should be able to identify the version.

« Last Edit: August 02, 2021, 05:07:30 am by illiac4 »
 
The following users thanked this post: ricktendo

Offline ricktendoTopic starter

  • Regular Contributor
  • *
  • Posts: 115
  • Country: hn
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1515 on: August 02, 2021, 05:53:56 am »
I just flashed the 209KB T12_HW21S_Encryption-SH1106_SW212.hex file successfully, if you convert this to bin its 74.1KB.

So I guess the 64KB limit is nothing to worry about, maybe these boards can handle larger files :-//

Edit: This is not the first time I flashed a file larger than 64KB on a STM32 that said it was 64KB in size, when I converted my blue pill stm32 board to a blackmagic debugger it was two files with combined size over 100KB
« Last Edit: August 02, 2021, 06:43:29 am by ricktendo »
 

Offline wickated

  • Frequent Contributor
  • **
  • Posts: 326
  • Country: ru
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1516 on: August 02, 2021, 06:54:43 am »
all stm32f10x are 128kb based
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5835
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1517 on: August 02, 2021, 08:58:38 am »
Will add separate options for wake sources:
- Button Sleep wake
- Button Standby wake
- Shake Sleep wake
- Shake Standby wake

It's the only way to work in all combinations.
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline ygi

  • Regular Contributor
  • *
  • Posts: 202
  • Country: be
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1518 on: August 02, 2021, 09:32:49 am »
Anybody else with a 1.5 board have a similar issue as me, a stuck pixel/row on the LCD

It could be a faulty LCD screen, it could have always been like this and I am just noticing.

I'll be sure to get back to you in the unlikely event the same issue appears on my v1.5 next time I update (tonight or tomorrow). It looks like hardware failure though.

Edit: Updated to latest build, it's not on the software side; your screen is faulty/failing.
« Last Edit: August 02, 2021, 04:26:31 pm by ygi »
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5835
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1519 on: August 02, 2021, 09:44:18 am »
Anybody else with a 1.5 board have a similar issue as me, a stuck pixel/row on the LCD

It could be a faulty LCD screen, it could have always been like this and I am just noticing.

I'll be sure to get back to you in the unlikely event the same issue appears on my v1.5 next time I update (tonight or tomorrow). It looks like hardware failure though.

Also your offset is wrong


Added the extra wake options and made new builds.

It's a bit experimental: I unlocked 128KB for all devices.
Some clones truly have 64KB, as well as older 10x.
« Last Edit: August 02, 2021, 09:47:20 am by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline ygi

  • Regular Contributor
  • *
  • Posts: 202
  • Country: be
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1520 on: August 02, 2021, 10:00:53 am »
Not sure unlocking the full 128KB is a good idea. I mean, they may have 128KB physically but they also may be binned at the factory so that rejects with damaged flash end up in lower tiers with the damaged part disabled.
Just my 2 cents, I have no proof of that in one way or the other.
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5835
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1521 on: August 02, 2021, 10:04:36 am »
We will see. KSGER already does this from factory and nobody is having issues.
This allows the firmware to keep growing, also enabling O2 optimization, which is way faster than optimization for size.
I can always revert it if causing trouble :-+.
The programmer checks the written flash, and the firmware checksums the settings before and after writing.
Any flash issue will be detected instantly, so no worries.

Updates:
- Standby timer can be set to 0, effectively disabling it. In that case the station will switch from run to sleep state, skipping standby mode.
- Sleep timer cannot be disabled, or it would run forever.
- Any input (Shake or encoder) will "wake" the screen up when dimmed, even being disabled.
- When the screen is dimmed, the first encoder action will only wake the screen, blocking any action. The next one will do what it's supposed to do.
- Lastly, I realised there was a safety flaw. It's not good that the screen dims if the tip is hot. So the screen dimming will only happen when the tip is <100ÂșC

« Last Edit: August 02, 2021, 01:17:59 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 
The following users thanked this post: Tugo

Offline wickated

  • Frequent Contributor
  • **
  • Posts: 326
  • Country: ru
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1522 on: August 02, 2021, 11:42:22 am »
oh yeah, greetings in 128kb club buddy  :popcorn:
also they still are limited in ram amount.

p.s. plz note last standing 64kb rom in builds section, so it can be reversed for those who had failed.
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5835
  • Country: es
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1523 on: August 02, 2021, 12:24:45 pm »
No worries, if it fails, I'll set 64KB again. I won't be messing around with 2 different firmware versions for 64 and 128KB mcus. Too much work.
Neither I'm going to abandon 64KB devices.
The ram is ok, I can make really huge screens even in 10KB devices. For example, I could make system settings at least 2x larger.

Found litle bugs, fixed, enhanced some features.
From now same-day builds will add a letter at the end to differentiate them.
Also I will add it to the commit message.

Ex. I've just updated them, current version "2021-08-02a".

I think I've finished for today. Test it thoroughly!
Specially, the tip editing menu, to find out if Tatel's issue was an older build or there's still something wrong.

Oh, I almost forgot. There's a hidden feature somewhere, that does something, in some mode, and can be enabled somehow (doing something in some way) ... maybe you'll need to read some code in some file to find it out :D.
« Last Edit: August 02, 2021, 01:19:50 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline pupkinv

  • Contributor
  • Posts: 10
  • Country: ua
Re: CFW for KSGER/Quicko STM32 Soldering Stations
« Reply #1524 on: August 02, 2021, 05:48:39 pm »
Hi all!
Did somebody had issues with ambient temperature?
My HW KSGER v3.x fully identical with this one:
https://raw.githubusercontent.com/deividAlfa/stm32_soldering_iron_controller/master/BOARDS/KSGER/%5Bv3%5D/Schematic/STM32_T12_oled_v3.0.jpg
and MCU STM32F102C8T6. I flashed binary 2021/08/01
Real room temperature is 26~27C, but measurment temp is minus 15~14C.
Diference between seting temp and temp which measured with FS100 clone approx. 50 C
I can't found solution in this forum. Sorry for my english :-\
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf