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

Hi, Can you provide any further information to try and diagnose this? Is there any particular menu prompt it happens on? Does it happen when in the soldering menu? Does it happen on the idle screen?

Can you try an few times and note when it happens?

Sadly I can't diagnose without more information :)

edmanning555 commented 6 years ago

To answer your questions:

It happens in any instance regardless of menu, buttons pressed, or whether it is connected via USB or DC power brick, or any other state as far as I can tell.

It happens every time, there is not a single instance where the device functions correctly for an extended period of time.

freeman0869 commented 6 years ago

So did the same thing for me last night, Bricked my TS100 after upgrading with .hex file...no response what ever you do, after you plug power or usb wire back in, it works for 2 seconds and no response after that for at least a minute...total freeze of menu. The upload went fine and I did get .RDY after updating but no response from TS100 any more !

Ralim commented 6 years ago

Can you please specify which firmware files (language and version) that are having these issues?

In the mean time you can just use DFU mode to roll back to the previous version for now.

If you use a language different to English, can you please try the English one as well to confirm if it is a language specific bug or general bug?

edmanning555 commented 6 years ago

Hi,

I am currently using the previous version which is fine. I personally use the English version and haven't tried any other. Would you like me to?

On Fri, 19 Jan 2018, 23:13 Ben V. Brown, notifications@github.com wrote:

Can you please specify which firmware files (language and version) that are having these issues?

In the mean time you can just use DFU mode to roll back to the previous version for now.

If you use a language different to English, can you please try the English one as well to confirm if it is a language specific bug or general bug?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Ralim/ts100/issues/202#issuecomment-359115994, or mute the thread https://github.com/notifications/unsubscribe-auth/Ah7nC47pZQVDUTzlmunFdNyRT1vulTVgks5tMSG0gaJpZM4RjkQf .

freeman0869 commented 6 years ago

I used TS100_EN.hex latest version and the older version but nothing worked now I did try another file I found here and totaly lost it..now it says ("BL FLASH"....CONT?...CHK CRC...FC6227E8...Done!) and that is By pressing the button closest to the tip...now I can not see it when pluged to the computer on Win 10...even when pressing the buttons. Any clue ?

MathisDELOGE commented 6 years ago

I just received my ts100 and I have the same problem. I tried with all versions from 2.0 (those before do not even boot). In any menu, whan i plug a power supply, the screen freeze after about 2 seconds.

freeman0869 commented 6 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

MathisDELOGE commented 6 years ago

Thank you for the originals, I did not find them. I just tried it, it works !

Ralim commented 6 years ago

Can you please confirm where you have purchased your TS100 units from? And roughly when?

Are these all new units?

@freeman0869 you flashed the conversion firmware to replace your stock bootloader with the dfu-util model instead (Im assuming you took that firmware from the thread with the discussion on alternate bootloaders).

I have reconfirmed correct operation on all of the units I have access to and have not had any issues with the firmware locking up on these units.

What you are experiencing with the reset after a few seconds is the watchdog timing out. The watchdog is there to catch errors where one of the threads in the scheduler locks up.

The most likely cause of this is an issue with the I2C communications locking up the peripheral if there are transient errors on the bus (as these have an exclusivity around them as its a shared bus).

Are your units new or is this error new?

This is most likely yet another new manufacturing change that is causing issues. The original firmware does not actually use any of the hardware acceleration in the STM32 and instead bashes everything out using software which is why its performance can be sub-par in some instances. This also means that because its software runs really slowly (comparatively) it is less likely to run into issues with the hardware.

freeman0869 commented 6 years ago

Thank you for the explanation of the TS100...which I bought in December and received last week on the 16 of Jan. https://www.tmart.com/TS100-65W-Temperature-Adjustment-Built-in-STM32-Chip-Digital-OLED-Programmable-Soldering-Iron-Set-TS-I-Black_p341108.html...it was the cheapest combo for me.

It is working with version 2.17 for now, and tried win 10, win 7, and linux Ubuntu to upload the same .hex file (no Apple) and figured it is the new TS100 models that I received that is the problem.

And I am pretty sure when I first received it last week it did say ver 2.18 on my Iron but, I'm yet to find that version anywhere !!!

MathisDELOGE commented 6 years ago

For me it's the same, i bought the ts 100 in december and received last week from banggood so it's a new unit.. (Thanks for the nice explanation ;) )

Ralim commented 6 years ago

Yeah okay, this could be an issue with the newer units coming out. I have also noticed a trend in some of the cheaper seller's units having more issues than some others. Not sure why that is though :/

The firmware that came on your Iron is not this repository. This firmware has just eclipsed up to the numbers that the official firmware uses. This is the location of the official firmware.

I'm not sure what is causing the lockups on your units to be honest, as hopefully the hardware is the same as the official and there are not clones yet.

When I next have time Ill try and get a better debug firmware up for you. But Its really odd that the newer models are having this issue.

Boyeen commented 6 years ago

If it's of any use, I just purchased a TS-100 ("updated", brown, with 2 tips and power supply) from Banggood... It came with v2.12 MiniDSO firmware installed.

I updated to the latest firmware (v2.02) from this site with zero problems. The iron works correctly and the menus all work smoothly. Perhaps there are "clones" being sold under the MiniDSO brand...

BTW, awesome job Ralim. I LOVE the tiny font Settings descriptions, totally readable, super professional. Way to go :-) Thanks for your efforts.

electroplated commented 6 years ago

I have this exact same issue - bought the iron ob ebay from the link (https://www.ebay.co.uk/itm/12-24V-Mini-65W-Programmable-TS100-Electric-Solder-Soldering-Iron-LCD-Digital-UK/253273635474?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2649) on the 17th Jan and it arrived today. Only the stock firmware works, every other version I've tried works fine for about 2-3 seconds after power is applied then the buttons become unresponsive until reboot. Iron also got so hot when I had the latest release installed the entire tip was glowing bright red!!

Ralim commented 6 years ago

Hi, Can you try this firmware on your units? I have slowed down the I2C bus by 50%. I'm guessing this is the most likely code to be locking up to cause the hanging issue. TS100.hex.zip

xPsIXx commented 6 years ago

This might help a bit. I received a unit and the barrel plug connector broke first time i plugged it in. I claimed a second unit and when it arrived it would freeeze after a couple of seconds with Ralim's firmware, the first unit never did. I now had two units so i swapped the daughter board of the new TS100 with the old TS100 and it worked like a charm... Note the silkscreen quality.

It takes about 5 seconds to freeze. Sorry Ralim, that firmware doesnt work either.

p1250090 p1250091

freeman0869 commented 6 years ago

ts100 not updatable You slowed down the software and it gives me 3 seconds more to surf the menu so 5 seconds in all until it freezes ! Sorry that software still doesn't work ! And it seems that I have the same as xPsIXx and is not updatable....

Ralim commented 6 years ago

@xPsIXx thank you! That confirms my fears that there has been a design change to the hardware.

Any chance you can get some high resolution photos of the front and back of the board that doesnt work? Also if you can get the part number on the same square chip if it's changed compared to the other one :)

I'm guessing there is a redesign and something has changed subtly.

Sorry about the new firmware not working yet, didnt know at the time that there was a hardware change.

jonnieZG commented 6 years ago

I would say from the photo that they just changed the layout of the components, so the I/O pins must have changed. We just have to figure which ones. The original firmware must be detecting a hardware revision somehow, and takes that into account to use the correct I/O pins mapping.

freeman0869 commented 6 years ago

27330463_1703281749714578_1553423487_o 27535056_1703281769714576_204988502_o Best I could do with my Phone...macro is not an option !

electroplated commented 6 years ago

Here's a quick video showing the behaviour with the firmware you posted up to try

https://www.youtube.com/watch?v=vCduzDBHiVQ&feature=youtu.be

As you can see it not only locks up but also starts heating up without updating the temperature readout which can lead to burnt fingers or worse perhaps?!

Here's a shot of the chip inside

screen shot 2018-01-26 at 17 37 34

Let me know if there's any other info, photos or tests I can do to help :)

xPsIXx commented 6 years ago

freeman0869 indeed has the same board rev. For completion sake, better quality pictures.

p1270108 p1270109 p1270107

xbeefpv commented 6 years ago

Hi Ralim! i have the same problem, the TS100 freezes. My product is this: https://www.getfpv.com/ts100-digital-oled-programmable-interface-mini-soldering-iron.html

Did you have a solution? Thanks!

Ralim commented 6 years ago

Hi, It appears that either there is a second revision of the mainboard out there or someone has changed something in these units.

As not all units are affected, I'm not sure if it's an old/new stock issue or some other manufacturer out there.

What would be ideal, is if someone who has one of these units could use a multimeter with a fine point tip and trace out the connections from the sides of the STM32 to the bottom connector.

I'm also going to try and make an I2C probe firmware to check if the accelerometer has been changed in this version.

freeman0869 commented 6 years ago

I've been using the Iron a lot and the accelerometer does not seem to work I set my time out at 600 and when I pick it up after not using it in between soldering it seems to not wake up even if I shake it a lot...so I constantly have to repress the button close to the tip to restart the iron !

Ralim commented 6 years ago

Interesting, which firmware are you running ?

xbeefpv commented 6 years ago

im trying with many, 2.0 2.2 but only the original firmware works fine. Strange, but untill the oldest firmware not working. thanks for your reply @Ralim

SquiglyD commented 6 years ago

Same issues here, purchased last week from getfpv, when I first received the iron I noticed it had firmware v2.18 (cant seem to find this anywhere) after trying yours I reverted back to V2.17. Just tested to see if the ACC is working and it appears not, torch will only come out of sleep mode by pressing the front button, motion has no effect.

Further testing, set sleep to 60 and even when holding and moving the iron it still goes into sleep mode... can anyone else with the new boards confirm same?

freeman0869 commented 6 years ago

I've been using the latest 2.17...from here http://www.minidso.com/forum.php?mod=viewthread&tid=892&extra=page%3D1 So I know its good it must be my TS100 that has a glitch ! And yes I have exactly the same problems as SquiglyD mentioned !!

electroplated commented 6 years ago

Ralim - I've just tried to trace out the connections between the STM32 and the 16 pin connector on the opposite side of the board. I managed the first 8 pins ok but the second set were almost impossible to check reliably with the tools I have to hand right now - I have fine tips on my multimeter but it's still very tricky without an extra pair of hands!

As best I can tell, the first 8 connectors are connected as follows, using the attached images for reference.

1 - 29 2 - 30 3 - 32 4 - 33 & 34? 5 - 33 & 34? 6 - 32 7 - 6 8 - 7

connector stm32

I'll try and double check these and do the other 8 tomorrow if I can find a better way of doing such small scale work without better magnification!

1upRacing commented 6 years ago

Ralim - If you are unable to get this sorted out I can send you an iron that has the issue. Just received an order of 5 that won't work with your firmware upgrade.

You're welcome to keep it afterwards to work on future upgrades. Just get in touch if you need.

alexanderkozhinov commented 6 years ago

Ralim, same to me. New device from Ali with 2.18, DFU: 3.43 Freeze after 2 seconds > 2.17 > ACC doesn't work.

sascha108 commented 6 years ago

Hi Ralim, same problem, ts100 from banggood with 2.17 pcb is same as freeman0869

Ralim commented 6 years ago

@1upRacing Where in the world are you located? I'm tempted to take you up on this offer, however, I would like to make up an I2C tester firmware first.

@sascha108 @alexanderkozhinov Can you confirm if the accelerometer function works for you in the original firmware?

1upRacing commented 6 years ago

I'm in the US but do a lot of international shipping so it wouldn't be any inconvenience to send one of these out to you.

Ralim commented 6 years ago

@1upRacing Would be wonderful if you could. Just hit me up on ralim@ralimtek.com to discuss.

alexanderkozhinov commented 6 years ago

@Ralim on 2.17 at the moment TS100 doesn't react on shake in sleep. I need to push button to wake it up. I didn't tested if it will go to sleep even in use (in motion).

SilverSho0t commented 6 years ago

They maybe removed the accelerometer on new ones.

Ralim commented 6 years ago

I don't think so, there is still an ic on the board, but I'm wondering if the model has changed and I just need to write a new driver for it (hopefully).

They may have changed the pinout as well subtly so ill be checking it as well :)

Mostly just need time :(

sascha108 commented 6 years ago

Hi Ralim, there are no function with accelerometer @V2.17, TS100 go's to sleep no matter its moved or not.

kormyen commented 6 years ago

@Ralim I just got a new TS100 from Ali with the same 2-3 second freeze with your hex. Works fine on stock 2.12 and 2.17. Happy to help or test anything if you explain steps. Cheers!

Ralim commented 6 years ago

Hi, This definitely looks like a new batch of the units coming out.

@1upracing has offered to send an affected unit to me, so when I pick up that one I will aim to get this up and running asap after that.

Not sure on an exact date sadly, but will let you all know :)

Sorry for the delay :(

kormyen commented 6 years ago

Sweet. Good luck! :D

undirezt commented 6 years ago

Hello. I also ran into this problem. The differences are not only in the PCB, but also in the absence of the stub hole for the sting and the other side of the packaging. But, I still have not figured out, is this change in the original design or began to produce a fake?

AcidBurns commented 6 years ago

img_20180216_000653 img_20180216_000630 img_20180216_000541 img_20180216_000505 img_20180216_000420 img_20180216_000351 I also made some pictures, high res with my magnification camera. I hope it helps. Needless to say that I got the same problem :D

TomK commented 6 years ago

Same issue here, using 2.02. My brand new TS100 received a few days ago locks up after a few seconds. The same firmware works fine on an older TS100.

Ralim commented 6 years ago

Hi, As a quick check, could someone please run this firmware and tell me the two numbers it prints out on your non-working unit ? TS100.zip

kormyen commented 6 years ago

@Ralim 025 060

20180218_205852

TomK commented 6 years ago

same here - 025 060 mvimg_20180218_080451