Ralim / IronOS

Open Source Soldering Iron firmware
https://ralim.github.io/IronOS/
GNU General Public License v3.0
7.29k stars 724 forks source link

Various new bugs with the latest 2.06 firmware on a ts100 #422

Closed sefer2 closed 4 years ago

sefer2 commented 5 years ago

Hi,

In installed the latest 2.06 firmware onto my ts100. I upgraded from the official 2.18 firmware. The first thing I noticed is that the main screen flickers twice before settles whenever the solder iron is plugged into power.

Next, entering "Advanced Options" there's a checkbox square to the right of "Detailed idle screen", its right most edge flickers all the time. In fact, this appears to happen with all the items that draw the right-most column on the screen.

Lastly, when I enable the iron, it shows only "305C" (it does heat up, but the screen displays a constant 305C, not showing the current temperature) and no warming/cooling progression. I have no idea when it reached its final designated temperature.

I tried doing a factory reset (I hope I did it correctly) without any effect.

ghost commented 5 years ago

Also I was able to find that:

Fussiness:

Thank you.

iLLiac4 commented 5 years ago

I have also tested the new firmware and besides the bugs above there is also screen tearing when text is scrolling. I really like the thermal mass of the tip and would it be possible to implement with the tip model also a small icon of the tip or. is it overkill? https://www.dropbox.com/s/n6pi25vqieyiafl/TS100tips2.jpg?dl=0

Ralim commented 5 years ago

TS100A_2_6_AtollicBuild.zip Any chance you could give the above build a shot? Its build using my local machine rather than linux and want to narrow down if this is a compiler issue or not.

@sefer2 I cant reproduce locally the flickering much, can you see if the above build is better or worse?

@federck The text running into each is interesting ,what language are you running? This is most likely a language related issue (I only test EN here usually). Advanced calibration is only shown when its a user tuned tip, not when you select a preset. Do you mean the temperature on the screen doesnt show fluctuations or that its not showing live data at all ? When your using it with the new PID the tip temperature fluctuations are reduced considerably. This new build has a slightly lower cap to try and reduce the ADC bad tip protection, i might re-work that more in a day or two.

@iLLiac4 Basically out of room at the moment to fit any :( (some builds are down to single digit free bytes in the binary). If someone (me or others) impliements compile time font generation we could free up some room for more graphics.

iLLiac4 commented 5 years ago

Have tried it and the flickering seems to be gone. There is still bad tib if boost mode is selected. And also new bug that turns off the soldering iron if you do not select detailed soldering info under advanced settings.

ghost commented 5 years ago

Well, I think that the italian release, like other releases using a certain number of characters, it's affected by the problem just because text isn't drawn in the most right part of the screen. jamm

Yes, I meant live data as @sefer2 did, but that's a problem circumscribed only to graphical interface. However, in your newest relaese, soldering mode (using GUI) leads to the reboot/freeze of the iron.

Also writings through "Simple calibration" do not fit properly (and, you know, they are only in English :wink:).

Thanks for the other clarifications!

Jaroslaw1 commented 5 years ago

Calibrate temperature still not working. Only i have this problem :) ? When calibrating is done appear: "calibrate tip offset". Temperature showing in menu 005C. Temperature on my room is 23C. Please see video. Thanks and good luck dsc_0062

https://youtu.be/2yat2SqHzoQ

sefer2 commented 5 years ago

The latest build seems to solve most of these issues I've encountered, with the exception for the double blink when the power is plugged in. I no longer see the flickering with this build. Great work Ralim! Thank you for a fantastic firmware!

Jaroslaw1 commented 5 years ago

@sefer2 You don't have problem temperature calibration? Maybe I'm doing something wrong?

sefer2 commented 5 years ago

I didn't try that, most of the original problems I reported appear to be solved though.

Ralim commented 5 years ago

@Jaroslaw1 Interesting to hear the temp isnt fixed, I'll look at this shortly. Honestly was focusing on other bugs. The temp issue is known about, and its mostly a UI thing, the tip tracks fairly accurately (on my units).

Jaroslaw1 commented 5 years ago

Hey,

Before calibration temperature in main menu is ~15°C, 8°C less than the temperature in the room. After calibration is ~003°C. When i begin soldering, temperature 160°C it melts the tin [solder]. In ver-2.05.1 temp. after calibration is correct. Otherwise everything is fine [best firmware ever!].

Thanks for your work and Regards

iLLiac4 commented 5 years ago

I have tested calibration and it really does not work. When calibrating it sets to around 0 when at room temperature.

ghost commented 5 years ago

"Simple calibration" and "Advanced calibration" show "Detailed Idle screen" description.

mixxxlalex commented 5 years ago

Hello. I tried the version v2.06-RC2. In it, as in version v2.05.01, Russian letters are displayed incorrectly. Is there any way to fix this? 1 2 3 4 5 6 7 8

RustyWraith commented 5 years ago

@sefer2 You don't have problem temperature calibration? Maybe I'm doing something wrong?

I can confirm the problem on ts80. Room temp is 0 degrees after a calibration.

ElenaPower commented 5 years ago

I can confirm 0°C at room temperature after calibration on my TS100.

Cherenkov11 commented 5 years ago

Yes, same bug, after you do the calibration shows ~0 C, and for me I checked the temperature at 300 set, and the external thermocouple shows around 325 C, so a little bit of overshoot. (B2 tip)

feivur commented 5 years ago

Russian letters are displayed incorrectly

i have same bug

csdpm commented 5 years ago

V2.06 RC2:

Apart from that, it's a great usable release.

iLLiac4 commented 5 years ago

Today I have got a new TS100 with PCB v2 and the rotation of the screen for left and right handed is acting strange. It tilst too fast in right hand position (i am left handed). Can this be tweaked? On the other TS100 with PCB v1 it works as it should.

bakerenko commented 5 years ago

No russian language, please fix.

Brassee commented 5 years ago

V2.06 RC2:

  • Yes, I see the ~0'C tip temperature at ambient.
  • L/R swapped on display orientation
  • Cooldown blink not working (simple soldering screen, detailed idle screen)
  • Boost and Standby temps appear to track the operating tip temp as it is adjusted up and down.

Apart from that, it's a great usable release.

Same here

Nazosan commented 5 years ago

So I just tried this RC3 update from a few hours ago on my TS80 and now it won't even turn on. The only function that works is flash mode by holding + while plugging it in.

A previous one (I think RC2? EDIT: probably RC1) worked fine. Unfortunately previous TS80 files are gone now so I can't downgrade. I didn't realize I should keep backups.

EDIT: Side note, I just bought a new power supply. It is much higher quality than the one that shipped with my TS80. It is capable of a very high wattage -- 40 something I think -- though of course still the standard 2 amps at 9V via the normal USB 3 port (can QC actually do 2.66 to get 24W or isn't that PD only? I don't really need 24W, I just wanted something better quality that I could be 100% sure would handle the 9V 2A with room to spare.) I mostly did this because the stock one seemed really cheap and some component smelled like it had gotten too hot to me. Anyway, with the version of this custom firmware I was using before this would not work. While heating up it would shut off and reset every time I tried it. I assumed the power supply was faulty. On a whim I tried it with the stock firmware (which I'm now having to use since the custom firmware doesn't boot and I must say that it's definitely much clunkier to actually do the simplest things) and it works fine. Voltage goes down a tiny bit (8.57V while heating) then stabilizes at 9.03V once completed. At this point I wonder if there is anything at all wrong with the plug after all or if it isn't something specific to the custom firmware. I really don't like the stock firmware, but I'd feel more confident using this presumably much higher quality power supply. Does it just not like the lower voltage? Seems to work fine though. It still heats up very fast and holds steady.

iLLiac4 commented 5 years ago

Same on TS100. Does not power on after RC3. Only DFU works so have downgraded to latest available online.

bradanlane commented 5 years ago

I have a TS80 which came with the USB-C cable and a 9V 2A power supply. The TS80 shows 18W on the status screen.

When I use a 5V 2.1A source ithe TS80 only shows between 5W and 5.3W. I’ve trated several wall chargers and USB batteries with a 2.1A output.

Nazosan commented 5 years ago

The TS80 isn't supposed to really use 5V at all except for the USB connection. I think also 5V 2.1A chargers expect the device to do something or other to indicate a larger current is safe and fall back to 1A max otherwise (which would be consistent with the results you got.) Official documentation and specifications explicitly state 9V 2A via QC 3.0 is the only thing it supports.

BTW, I was getting 3C for my tip temperature when it was at room temperature before too on my TS80 even after calibration. It didn't seem to be that big of a deal since heat mode seemed accurate enough, but anyway, TS80 was doing it too.

whitehoose commented 5 years ago

bradanlane Nazosan is correct, the iron is QC3 Withour negotiation the default is 5v, and mine will sit at the menu screen quite happily on 5v - but as soon as the iron starts working it negotiates more volts and heats up using 8 or 9v. The stock 1.06 would give a low volts error as soon as a button was pressed if connected to USB2 I first came to Ralim looking for f/w that would allow me 5v working (just in case). But the bugbear is this is (almost) exclusively a QC device - and to make it worse - it can be very picky about which QC it will and wont work with. If you buy a power brick ... or even a wallwart do your homework and be sure other people are using that model with the 80 too. You can't even be certain that even a manufacturer is good ... you need to be model specific.

Xiaomi MI 2 - 10000 mAh Power Bank works (I think the 20000 works too - but you need to ask that question). Search ebay QC3.0 QC2.0 USB DC-DC Buck Converter Charging Step Down Module 6-32V 9V 12V J6N1 works but needs a 12v source so it has something to step down. I've combined it with a step up/down buck/boost converter so any source above 3.6v can be boosted to 12v or more to provide enough to get the Iron working And the DS.OX wall wart that comes with the Iron's "extras" works. The ISDT BattGo BG-8S Smart Battery Checker Balancer has a QC3 output - and that works too.

If you look through https://github.com/Ralim/ts100/issues/349 there are plenty of other suggestions that work.

bradanlane commented 5 years ago

whitehoose - thanks for background and issue reference. I wanted 5V support for emergency/backup. I have plenty of USB2 batteries which work - albeit slowly. If I opt for a new battery, I’ll het one of the USB-C models with proper voltage and wattage.

whitehoose commented 5 years ago

Didn't make that clear .. the compatibility issues are with the USB-c models (QC3). The standard USB2 models only sort of work depending on the firmware you are using. The firmware that came with the iron originally didn't work past the first menu screen on USB2 a quite early version of Ralim's firmware did ...

If (when) you go for USBc - do that research - the QC3 "standard" is anything but standard.

ElenaPower commented 5 years ago

V2.06-RC3DE does not work for me on my TS-100. Only black screen.

xamindar commented 5 years ago

My TS100 doesn't even turn on with the latest RC3.

Brassee commented 5 years ago

TS100, EN V2.06-RC3, nothing on screen

asymcon commented 5 years ago

My TS80 does this with 2.06RC2 using QC3: VID_20190129_162500.zip Is this voltage pulsating behavior normal? Also it negotiated for 12V even on 18W setting. Edit: Power cycle caused the correct 9V negotiation happen at 18W.

asymcon commented 5 years ago

So I just tried this RC3 update from a few hours ago on my TS80 and now it won't even turn on. The only function that works is flash mode by holding + while plugging it in.

A previous one (I think RC2? EDIT: probably RC1) worked fine. Unfortunately previous TS80 files are gone now so I can't downgrade. I didn't realize I should keep backups.

EDIT: Side note, I just bought a new power supply. It is much higher quality than the one that shipped with my TS80. It is capable of a very high wattage -- 40 something I think -- though of course still the standard 2 amps at 9V via the normal USB 3 port (can QC actually do 2.66 to get 24W or isn't that PD only? I don't really need 24W, I just wanted something better quality that I could be 100% sure would handle the 9V 2A with room to spare.) I mostly did this because the stock one seemed really cheap and some component smelled like it had gotten too hot to me. Anyway, with the version of this custom firmware I was using before this would not work. While heating up it would shut off and reset every time I tried it. I assumed the power supply was faulty. On a whim I tried it with the stock firmware (which I'm now having to use since the custom firmware doesn't boot and I must say that it's definitely much clunkier to actually do the simplest things) and it works fine. Voltage goes down a tiny bit (8.57V while heating) then stabilizes at 9.03V once completed. At this point I wonder if there is anything at all wrong with the plug after all or if it isn't something specific to the custom firmware. I really don't like the stock firmware, but I'd feel more confident using this presumably much higher quality power supply. Does it just not like the lower voltage? Seems to work fine though. It still heats up very fast and holds steady.

Here, I made a backup (sorry @Ralim ): TS80_EN.zip

Nazosan commented 5 years ago

Thanks. Is that RC2? I'm wondering about the above user's description of voltage issues and it does say something about voltage oscillation while heating. I wonder if that might be kind of harmful to the iron. I'm sort of inclined to stick with the stock one even though I kind of hate it (in particular the fact they didn't switch the buttons in left handed mode drives me nuts.) The fact it seems to give such consistent voltage and works with what has to be a better quality power supply makes me think I would be better off waiting for another version anyway.

asymcon commented 5 years ago

Is that RC2?

Yes

voltage oscillation while heating

Only on 24W and only on QC3. QC2 works fine QC3 on 18W works fine 12V directly applied to USB power terminals works fine :-)

FiveOhCS commented 5 years ago

I don't get any activity at all on 2.06 RC3. No flickering or anything.

Reverted to 2.05 and it works fine.

RustyWraith commented 5 years ago

No activity on TS80_EN.hex from v2.06 RC3.

I cannot figure out how to compile/flash RC4. Little help here?

rozwell commented 5 years ago

@Ralim Any chances for TS100_EN.hex RC4 file?

Ralim commented 5 years ago

@rozwell @RustyWraith My apologies, hex files uploading now.

Nazosan commented 5 years ago

This "RC4" build definitely works on my TS80. Cool tip temperature shows correctly in this one too -- or at least really close (it was a few degrees above actual ambient, but I couldn't give a specific number. Very close anyway. Much closer than the 3C it said before.) It still won't work with the (presumably) better power plug that the stock firmware will though. Watching the voltage on the screen, it's going up and shuts off right as it hits 8.9V for some reason.

From what I'm understanding after trying to read up on the QC 3.0 "standard" is it seems like there are three voltage profiles. 3-6, 6.2-9, 9.2-12 at 3A, 2A, and 1.5A I think. Is it possible it does something like trying to go to the next range as it hits 9 but fails or something? I notice when I use the original charger it oscillates as high as 9.8V but never shuts off. And it smells worse than ever (I think the one they sent with the TS80 really does not like that oscillation,) so I seriously don't trust it. With the stock firmware it holds an extremely steady ~8.57V while heating with no oscillation so I wonder if it just goes too high and falls in the other range. (Maybe, in fact, it's the plug itself shutting off power when it exceeds where it should be?)

Ralim commented 5 years ago

@Nazosan It sounds like your "nice" plug isnt rated for higher than 9V, can you confirm this?

In the 18W mode the iron measures the tip resistance and calculates the ideal voltage to meet the 1.5A. What firmware language are you using? Ill make you one hard coded to 9V to test this theory with.

The features that will come in future firmware is to allow you to set 9V/12V or 18W/24W modes for the TS80. Just want to get the current features stable first :)

Nazosan commented 5 years ago

I'm using the EN firmware. This QC 3.0 charger can probably do 24W mode if that's somehow better. I just thought a lower wattage setting would mean the iron is working less hard (I want this thing to last a long time.)

EDIT: Actually, I should ask: exactly what IS 24W mode? The charger itself is capable of handling more current than this thing will ever do (it's also a PD charger capable of 27.6 watts via USB type-c to type-c) but as nearly as I can determine QC 3.0 doesn't actually specify an official voltage*current that would be 24W and generally it's officially supposed to be 18W max. Most things that claim to be a high wattage are just multiple outputs rather than a single one capable of going that high, so I don't really fully understand what 24W means in this context.

rozwell commented 5 years ago

Flashed RC4 with TS100_EN.hex and it works - great job @Ralim ! :) The only issue I can spot at this point is invalid tip (BC2) calibration temperature \~34°C, rather than real room temperature 21\~23°C. To confirm, I flashed to stock v2.18 and it showed \~21°C, then back to RC4 and got the results above. Every time with factory reset, just to be sure.

p.s. I prefer english but I can take care of polish translations

Nazosan commented 5 years ago

Maybe a simpler solution might be if there was a manual override on tip calibration? Is it linear?

For my TS80 it was saying 21C when it's probably close to 19C or even slightly lower in here atm, but it said this both on RC4 and stock (the two were very close if not the same.) So it wasn't off by much. If I could manually override and get a more accurate ambient reading I could even just adjust it by the one or two or so it's off by. Of course, that's a lot trickier if it's not linear. I don't have an IR reader or whatever.

elgab commented 5 years ago

v2.06-RC4 flashed on TS100 PCB v2, and working fine.

  1. auto rotation: set to manual, auto mode is a bit dodgy confusing, but nobody is changing hands so...
  2. after proper temp calibration: on B2 stock tip i have tip at 22 celsius, with room at 21, so temp cal is good..
  3. sleep working fine: 1 minute with 90 celsius.
  4. default set temp was 320 Celsius, probably inherited from the bad RC2 offset, could be 300 as stock, or even 250 to prevent fast tip oxidation on first use, considering leaded solder works fine with it.
Trezona commented 5 years ago

Just flashed TS100_EN.hex v2.06-RC4, and all is working great now. Thanks @Ralim

iLLiac4 commented 5 years ago

Have tested RC4 and it works really good. On PCB v2 auto rotate for left hand is not as good as on v1.

vasyapupkinodin commented 5 years ago

I previously wrote about black screen issues on my ts100 dfu 3.45. Now my ts100 works fine on RC4. The only thing I noticed was the right-hand orientation setting " ? "and in the left text mode" « ". TS100_RU.hex

Ralim commented 5 years ago

@Nazosan Before you claim it can do 24W, double check it can do that in QC mode, a lot limit you to 1.5A in QC mode (even if PD mode is higher).. If it works at 2A.. Well thats up to you to want to test.

24W mode tells the iron to negotiate for a higher voltage than it calculates for 18W basically, to try and push more power through it. Some QC chargers are rated for 12V 2A, though not many. Most people use this to try and run the iron at 12V and to hope that their PSU copes with it :D

@rozwell When you do the "simple" calibration, its only as accurate as the temperature difference between the tip and the inside handle temp. If you want to have a more accurate scale you can do the advanced calibration with a tip temperature sensor (such as the FG-100 clones).

The tip is roughly linear at higher temps, but a bit more non linear at room temperature, so most errors show up at low temps.

Also this upgrade reset the system settings, so you may want to leave the iron for an hour or two so that the handle and the tip are equal temps, and then perform the simple cal if your temp is offset, though 2-3 degC is better than a lot of other irons out there (1%)

Also when comparing stock to mine, its a completely different temperature compensation and lookup routine being used, my firmware goes for assuming a worst case cal value (slightly high) so that it works for TS100 and TS80, rather than a specific tuned value.

If you go into the debug menu (hold the rear (B) button while on the idle screen, you can use the front (A) button to go through readouts, and one of these is Than, which is the temperature in the handle x10. This is the only way the iron can actually know the ambient temperature.

@elgab default of 320C is just a common value that is used a lot, since its trivial for anyone to adjust from that point.

I agree that rotation detection isnt ideal on V2 pcbs (TS80 is always a V2). The ST accelerometer does not give as many nice options for tuning rotation detection.

@vasyapupkinodin This is known as the Russian language files try to use Russian chars in the slots that are "one English char only". At some point this will be fixed to support non English characters in these slots.