Ralim / IronOS

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

Menu locks up - whole device is unresponsive after a couple of seconds. #202

Closed edmanning555 closed 6 years ago

edmanning555 commented 6 years ago

As above - device stops responding after a few seconds, after a while the screen flashes and it works again for couple of seconds. Rinse and repeat!

I've tried using different firmware with the TS100 and they work fine. Is there anything I can do to help diagnose this issue?

Ralim commented 6 years ago

Thank you both. This confirms that the accelerometer in your units is definitely a totally different unit. Can you also try this firmware please :) (Sorry about this) This tries to read the device ID register from the 3 most common accelerometers with that device ID.

Hopefully one of these matches up, if not I will definitely have to wait for the unit in the post to me to arrive. If one lines up Ill try and start working on a library for the new accelerometer and test once the unit on the way to me arrives.

Sorry about this :/ TS100.zip

TomK commented 6 years ago

It's not a problem, your work is much appreciated! 000-013-015. :)

mvimg_20180218_095224

kormyen commented 6 years ago

@Ralim Happy to help. No worries at all to test further. Same here with the 2nd zip. 000-013-015.

20180218_235514

AcidBurns commented 6 years ago

for me it's also 000-013-015. those chinese guys, simply changing hardware without notice 👎

Ralim commented 6 years ago

Bummer, those dont match any of the common ones :( I'll hopefully be back soon with more information when the next one turns up (Or if i find more likely candidates to test)

XEJK commented 6 years ago

Wouldn't it be easier to change out the component for the one on the previous hardware version?

ghost commented 6 years ago

2nd zip. Bought from Banggood on 2018-01-29. ts100

Ralim commented 6 years ago

Hi, Sorry for the delay in response. I have been spending the last two days trying to figure out what make that damn IC is and haven't gotten very far. I have also reached out to miniware to see if they will help.

In the meantime, the below firmware will work but it disables sleep mode as it just doesnt talk to the accelerometer. This will still provide all the rest of the firmware for you hopefully until we can identify this ic.

TS100.zip

bubblefish12 commented 6 years ago

Yes, it works

But without Accelerometer :(

sascha108 commented 6 years ago

It works fine - in original V2.17 its always go sleep after max sleeptime :( I hope that you can identify the chip soon.

xbeefpv commented 6 years ago

Works good! thanks Ralim! nice Work! i will be awaiting for the the complete functions

electroplated commented 6 years ago

Also working fine for me - amazing job!

Can anyone else confirm if it's normal at any temperature for the tip of the iron to glow bright red?! With the older non compatible firmware loaded my iron got that hot which I've never seen an iron do before, just repeating that aspect here for anyone who might inadvertantly try the older firmware on one of these irons.

TomK commented 6 years ago

From what I gather, if it crashes while it's heating, it will continue to heat indefinitely until it burns out.

adrien3d commented 6 years ago

@electroplated @TomK Indeed, with the v2 and v2.02 firmwares (and I guess all previous firmwares too), the firmware bugged and heated the tip indefinitely, so it was a glow bright red.

ghost commented 6 years ago

I reconstructed the datamatrix from the new accelerometer chip and it reads 2701409731410788 but sadly I didn't get any matches from Google.

accelerometer_datamatrix_1 accelerometer_datamatrix_2

sascha108 commented 6 years ago

@badm1n, i tried the same and also with shorter substrings from this but i found nothing. I do not think it is the chip name.

adrien3d commented 6 years ago

If @AcidBurns could make a magnified Hi-Res pic of the Accelerometer, it could help, but I guess from the font of the text above the QR code that it is a Bosch or ST accelerometer (not sure at all).

Ralim commented 6 years ago

The accelerometer has been identified as a Lis2dh from ST. I'm currently writing the driver code now for this unit 😄 Just working on orientation detection and some more tests and then I should have another firmware to push out.

Trezona commented 6 years ago

Ben does this mean that from now on you will have to have 2 separate versions of your software?

Ralim commented 6 years ago

Nope, Adding auto-detection on startup so should be transparent to the user.

Just give me a bit more time and Ill get something out for you :)

Trezona commented 6 years ago

Ahh, ok, clever! :-)

xbeefpv commented 6 years ago

Thanks RALIM!

magyarl89 commented 6 years ago

The same issue here! Ordered on Gearbest, on 5th of Febr. Your hotfix without accelerometer works great! We are looking forward for the update, keep on that great work! Thanks very much!

assasinmaxy commented 6 years ago

@Ralim Hello! I'm from Russia and I also received such a copy of the soldering iron. I'll be glad to help than I can.

Ralim commented 6 years ago

Okay, Hopefully, this version should work, but naturally whenever I push firmware someone always finds a bug. I've tried to setup the sensitivity to be fairly similar to the old hardware so should be okay. TS100.zip

Would love feedback on sensitivity etc :)

assasinmaxy commented 6 years ago

@Ralim Quite sensitive happened. But at the sensitivity level 1, the soldering iron has problems with falling asleep. For some strange reason, the time to go to sleep can exceed the set time. Instead of 30 seconds, I measured in order: 47, 60, 67, 78 (here I did a reboot), for 180 seconds and did not fall asleep, I ported it and for 120 seconds he did not fall asleep again. I reloaded the soldering iron, and he fell asleep in 60 seconds, then after awakening he again fell asleep in 60 seconds. Next, I set the threshold for falling asleep 10 seconds. The first time the dream came in 40 seconds, the second time he did not fall asleep even after 100 seconds. Next, I set the sensitivity to 9 and he fell asleep in 22 seconds, then through 20, 21, 16, 14, 22. Measurements I spent while the soldering iron was lying on the table. I did not shake the table. Also at the sensitivity level 9, the soldering iron can sometimes be easily awakened, and sometimes it is necessary to shake. And he very often wakes up himself. After these observations, I set the sensitivity level 2. The soldering iron did not wake up if you gently move it on the table when it sleeps. But it's worth poking it carefully, as he immediately wakes up. In sensitivity mode 2, the device goes to sleep after 20 seconds or more. Also in mode 2 he wakes up. In general, summing up, there is a feeling that the sensitivity threshold is not adjusted at all (sorry if these words offend you, I know you tried), the soldering iron can fall asleep much later than necessary. Still can itself to wake up.

assasinmaxy commented 6 years ago

@Ralim Does the position in space affect the readings? The fact is that when I was engaged in the module MPU6050 (gyroscope + accelerometer + thermometer), the readings of the Z axis accelerometer in the horizontal position could vary from -180 degrees to +180 at rest. In general, I will conduct more experiments, approximately to real conditions and record a video.

assasinmaxy commented 6 years ago

@Ralim Here is link with video https://yadi.sk/i/Vn-EDRtG3SuSZK

boklubre commented 6 years ago

I have a problem with the newest Firmware. Wake up with shaking works but the orietation of the Screen changed (fliped 180°).

SquiglyD commented 6 years ago

Big thumbs up from my side, it goes to sleep when left alone and wakes when picked up, thanks @Ralim for all the efforts as always!!

simicblu commented 6 years ago

@Ralim you sir are a god, I've just received my TS100 (from ebay generic seller), and it is one of the newer models. I can not tell you how grateful I'm because you made the firmware in the first place, but I'm even more grateful to you and all other people that helped you diagnose and resolve the problem.

Once more I just wanted to give you all an enormous thank you!

P.S. I've uploaded some firmware file firstly trough my apple machine, and I thought that that was the issue, but after following up on my windows machine this whole thread I've decided to upload some of the latest .hex files via my apple machine and they're working 100%normally. My apple config is mac mini late 2014, running high sierra. On the other hand motion sensitivity, in my personal opinion, is set to 1 and is normal (maybe when I gather some more experience I could provide with a more adequate feedback) Menu doesn't freeze any more, everything works like a charm.

freeman0869 commented 6 years ago

Wow that's the good one @Ralim works a charm, everything is OK from my part nothing to complain ! Thanks a lot, very appreciated !!!!

Ralim commented 6 years ago

Thanks for all your comments! @boklubre the screen will change orientation automatically depending on how you hold it in your hand, this can be disabled in settings.

@assasinmaxy the timing issue is known, and I'm working on a fix for that now which is just being tested a but more. Thank you for the feedback on the sensitivity, I'm still tweaking it, just the two units respond differently so need to get them feeling the same :) I'll try and get another version up soon with improved sensitivity controls

xbeefpv commented 6 years ago

Ralim, your work it's awesome! all of features on my TS100 it's now WORK!

thanks very much!!

assasinmaxy commented 6 years ago

@Ralim thanks, your work is much appreciated here! It is obvious that soon this topic will become very popular.

Ralim commented 6 years ago

Ill try and re-adjust the accelerometer sensitivity and then ill push out an alpha to let this be more known :)

Ralim commented 6 years ago

This was closed automatically by the merge, please ping back when you have issues :) Happy to re-open if we run into more issues. The new alpha release includes all of these changes, and also fixes the timing issues and should make the sensitivity much more similar hopefully.

😄

xalius commented 6 years ago

I have also received a TS100 with the new version of the MCU PCB. The accelerometer seems to work fine when powered from USB, I can use the menu and the display flips when I turn the TS100 upside down, but if I connect a DC power supply the firmware seems to lock up during startup and the tip is heated indefinitely...

Edit: actually the 2.17 stock firmware doesnt seem to detect movement... Edit2: The test firmware from above without acc support works fine...

jeckel2788 commented 5 years ago

i am having the same problem that alot of people are stuck in dfu after trying to update. i tried alot of different things. maby if i used a diff program/driver than windows it may help. getting no disk and errors alot. alot of people are bricking there unit , you can go back to the stock firmware, which i did until this gets worked out. here its a link. download the zip file.

http://www.minidso.com/forum.php?mod=viewthread&tid=892

huynhdesign commented 4 years ago

I tried all the files here and nothing works the only ones that do work are the originals ! So if anybody having same problems flash either one and your TS100 will be back online ! If for any reason you can't see your TS100 use this link...https://devanlai.github.io/webdfu/dfu-util/ and you can recuperate by uploading a " *.bin "file to your iron. to get your DFU 3.43 back.

Version 2.12and 2.17.zip Ts100.bin.zip

Hello! My ts100 is like you BLFALASH. and I follow this instruction to upload the .bin file, the screen is not displayed. I uploaded the file ts100-stockbl.bin and the screen shows BLFLASH. Please help me Link video: https://youtu.be/134pZ6Hqal4

huynhdesign commented 4 years ago

I cannot get back DFU 3.43

Ralim commented 4 years ago

@huynhdesign If you use the web tool to upload the stock boot loader back. You will then need to reboot normally and press the A key to confirm. (Same process as you used to put the alternate boot loader on the device in the first place).

After this is performed, rebooting while holding the A key should put you back onto DFU 3.43 as before you started this.