找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 2162|回复: 1

TS80P goes in standby mode while going in sleep mode and reboots on awake [bug?]

[复制链接]

1

主题

0

回帖

4

积分

新手上路

积分
4
发表于 2022-8-23 02:27:56 | 显示全部楼层 |阅读模式

Hello. As far as I understand this is the official support forum of Miniware products. I would like to report a minor issue in the official firmware for TS80P.

In short, if the device while going into "sleep mode" at the same goes into "standby mode", then pressing the "A" button for "Heating" - to exit from "standby mode" back to "working mode" - reboots the device.

Basic info:
* Product - Miniware Soldering Iron TS80P
* Firmware version - 1.30 (the latest official stable firmware at the time of reporting)

Steps to reproduce:
* Go to "Settings"
* Setup the following settings with following values: WkTemp=350, StbTemp=100, SlpTime=60 (in essence, there must be a big difference between WkTemp & StbTemp and a shortest time possible for sleep to illustrate the problem)
* Exit "Settings"
* Go to "Heating" (also known as "working mode")
* Put the iron down/on a holder
* Wait 60 seconds (SlpTime value)
* Watch the iron going from "working mode" to "sleep mode" while "350 >>> 100" keep displaying on the screen

What should happen:
* The iron goes to "sleep mode" first: status/state of display - showing the screen like it's in the "working mode" but with temperature of 100 (StbTemp) instead of 350 (WkTemp)
* After another 60 seconds (SlpTime value) the iron goes from "sleep mode" to "standby mode": status/state of display - showing the screen with Heating/Settings icons/hints flickering
* Pressing "A" button brings back the iron from "standby mode" to "working mode"

What really happens:
* Watch how before actually going to "sleep mode", the iron goes right from the screen with process of reducing the temperature to "standby mode" showing the screen with Heating/Settings hints flickering (now the iron "jumped" to "standby mode" before finishing actually reaching "sleep mode")
* Pressing "A" button to bring back the iron from "standby mode" to "working mode" reboots the iron

Notes on testing conditions:
* Yes, I tried different power sources with different voltage/amp like both QC & PD and different cables but I still have 100% reproducibility of this bug.

Probable root cause:
* "The second" timer (with the same value of SlpTime) which makes the device going from "sleep mode" to "standby mode" must start to tick only when the iron is in the "sleep mode" already (to clarify: when the iron just have reached the value of StbTemp but not before!)
* It seems that currently the second timer (which is responsible for going to "standby mode") starts to tick right away once when "sleep mode" only "begins activating" - the heating is decreasing but not reached the actual "sleep mode" (which later probably "confuses" the iron's firmware so it gets reboot while trying go back to heating)

Why is this important?
* It's very convenient to have smooth experience: user may have to put the iron into a stand pretty often, but user expect that once the iron is back into hand and "Heating" selected to wake it up then the iron must go from "standby mode" back to "working mode" instead of rebooting!

Current workaround - the real time for going from "working mode" to "sleep mode" must be less than SlpTime to prevent the iron going to standby mode when the iron is going to "sleep mode", so for achieving this:
* Increase SlpTime at least to 90 seconds
* Increase StbTemp at least to 190 C
* Decrease WrkTemp at least to 340 C
With my current settings - 90/190/320 - the iron seems switching between all three modes without any visible issues now.

How it can be solved in the next version of firmware?
* Option a, should be simple: start timer for standby after make sure that now the iron is in sleep mode already and that the iron reached StbTemp
* Option b, more advanced: implement one more setting in addition to SlpTime - let's say, StbTime: this timer starts only when the iron actually in sleep mode with StbTemp, and only after that time - StbTime - the iron goes from sleep to standby. PLUS! StbTime must be allowed to be set as 0 - to disable the iron going to "standby mode" at all so the iron would be always going to "sleep mode" only (but not into "standby mode" after) so the iron would be always ready once you just pick it up (without a need to press "A" button to get it back from standby mode).

In addition, pseudo C logic (as I could understand it according to what's going on although I do not have much of experience with such things as programming firmware for STM nor for smart irons):

* now:

while (reducing_heat_for_sleep_mode) {
    start_timer_for_standby_mode();
    while (CurrentTemp != StbTemp) {
        CurrentTemp--;
    }
    reducing_heat_for_sleep_mode = 0;
}

* should be:

while (reducing_heat_for_sleep_mode) {
    if (CurrentTemp == StbTemp) { /* sleep mode actually reached - start timer to standby (or wait for user to pick up the iron) */
        if (StbTime > 0) { /* enable timer for standby mode only if user sets StbTime greater than zero from probable presets: 0 60 90 120 150 etc.; StbTime setting must be implemented in this case */
            start_timer_for_standby_mode();
        }
        reducing_heat_for_sleep_mode = 0;
        break; /* to exit cooling off loop event */
    } else { /* keep the iron on, keep cooling off, keep timer untriggered, waiting when sleep mode will be actually reached, etc. */
        keep_device_awake();
        reset_timer();
        CurrentTemp--;
        reducing_heat_for_sleep_mode = 1;
    }
}

I hope I was more or less clear with my wishlist report. If anyone has any more detailed questions then I try to elaborate - just ask. If video is required - I could try to film but I hope my description is pretty detailed.

P.S. Yes, I'm aware about IronOS project. However, I really wish that official firmware could be easy & comfortable to use although it's proprietary. Because sometimes some users just want to use products with comfort out of box. Thanks for reading all of that in the first place. I sincerely hope that somehow eventually in the version 1.31 or further it will be fixed. Good luck & happy hacking.

回复

使用道具 举报

197

主题

1357

回帖

3052

积分

管理员

积分
3052

社区居民忠实会员

发表于 2022-8-23 10:03:18 | 显示全部楼层
Thank you for finding the problem and your patient feedback, we will arrange engineers to test this problem and improve it in subsequent firmware.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|MINIWARE产品技术交流 迷你工具-智能烙铁-加热平台-示波器-体感电动螺丝刀-数字电源-智能镊子 ( 粤ICP备07030012号-1 )

GMT+8, 2024-11-21 23:56 , Processed in 0.149984 second(s), 21 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表