-
-
Notifications
You must be signed in to change notification settings - Fork 698
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TS80P Constant Power Cycling #683
Comments
Hi, Can you confirm if this issue was present on beta3 or not? Also what power supplies have you tried? I don't have access to any apple chargers to test here at the moment 😢 |
@dreawer what charger hardware are you using? |
This one: https://a.aliexpress.com/_eKgHXj |
Could you try the latest beta release to see if this works better for you 😅 |
Thanks so much, @Ralim ! Unfortunately, I'm seeing a consistent failure to flash the new firmware. I've tried a bunch of times, so far. It always comes up with Any advice for why this could be happening with this firmware update? Is there something I should be doing other than copying it using Finder to my TS80P in DFU mode? |
Hmmm. No special magic that I'm aware of. Are you doing the double copy, and also make sure to extract the zip first? |
What do you mean by double copy? And do I need to extract, other than decompressing the original file to get the .hex and .bin in all those languages? Thanks for the speedy response 😄 |
You just have good timing 😅 Double copy: Connect device in DFU Extract: |
I managed to do the upgrade! Unfortunately, it still has the same issue as before 😢 |
Gah damnit. :/ I might just have to order an apple power adapter to figure it out :/ Sorry about that |
Is there any other useful debug info I could provide from here? |
@Ralim , thank you! For me it works better, no more blinking after connecting the power supply.
|
@sdaitzman |
Happy to check! |
Sadly still encountering the same issue 😞 |
I got my ts80p today, and got the same issue. It would just constantly power cycle. I might have found a solution though. Would you mind trying this workaround @sdaitzman ? Edit: I got curious to see if I could get the latest release on my iron and couldn't get it working again, until I tried the following:
I couldn't get this to work with the latest release of _EN instead of the linked one. Edit (again...): had the iron sitting connected since I wrote the last update, and now it has began powercycling again. Reverted to stock firmware. Sad, because IronOS was way better! If I can provide any help to resolve this I would gladly help. |
Still encountering the issue, but I've made several odd discoveries that I think could help: I'm still encountering the same issue, and wanted to clarify that the power-cycling also occurs when the iron is attached to my MacBook Pro 16" with the USB-C cable it came with. It does not power-cycle when in DFU mode. I also noticed that when heating to a high temperature, the iron sometimes maintains its status without crashing for longer periods of time, which seems odd to me?? It usually restarts every few seconds when plugged into my MacBook Pro power supply. Just now I was curious and tried powering the heat back on each and every time it crashed and rebooted. Once it reached around 300, it stopped power-cycling!! It stayed on for several minutes. I rebooted it and it started crashing again, but I upped the temperature and observed that it stayed on for a few minutes again. And, perhaps most strangely, it was able to enter sleep mode and begin ramping the temperature down to 150 (and is currently maintaining that) without any crashes!! |
Update: maintained for like 5 minutes of no-crashes, and when I picked it up just now it reheated to around 360 with no trouble!! This is a kinda questionable and unreliable workaround but it seems that once it's heated above a certain temperature, it's usable... any clue what could be causing that behavior? Happy to try additional things, send along a video, or do whatever else I can to help debug this |
@sdaitzman do you get 9v or 5v out of your mbp? I get 5v from my lenovo, and it always works with that, both in dfu and when it's flashed. When I connect to 9v+ it does begin to powercycle. |
On Wed, Jan 20, 2021 at 10:55:37AM -0800, Sam Daitzman wrote:
Update: maintained for like 5 minutes of no-crashes, and when I picked it up
just now it reheated to around 360 with no trouble!! This is a kinda
questionable and unreliable workaround but it seems that once it's
heated above
Your description mostly sound like a voltage drop when it starts to
consume above a certain power threshold. Have you tried the power
limiting feature? What did you set it to? Does it reboot even if it's
just 10 W?
…--
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercerpav@gmail.com
|
Screen displays 5, but it reboots so fast (~1-2 sec max) I don't know if it's briefly negotiating a higher voltage and just hasn't updated :/ |
@paulfertser I'm a little confused by that, but maybe I'm not understanding -- to be clear, it's working much more reliably when it is set to a high temperature. I tried limiting power to 10W while plugged into the supplied power supply, then plugged into both my MacBook and its charger, and sadly no change in behavior at all. |
Hi! I also have this issue and maybe can help by adding some information. Summary:
Hopefully this might give someone a clue to what has changed with these chargers |
I changed out my apple power brick to a Otterbox 18w instead and the standard firmware warns for low voltage, but IronOS works great! Finally! |
I'm experiencing the same with 2019 MacBook adapter and pinecil. |
Same issue here with: https://www.amazon.co.uk/gp/product/B07Q39W5JB Latest version of the firmware. What's odd is maybe once in every 20 connects it will work fine and get 12v/30w. Some sort of handshaking issue? |
I have the same issues with a Lenovo 65W Adapter and the TS80P. It looks like PD is a problem. Using a Qualcom Quick Charge 3.0 works fine. Runs at 9V. |
Got my TS80P today, I tried it on the Apple charger, worked fine, and heated to 300 in seconds. This was when brand new. After flashing this IronOS, it doesn't work anymore (same issue as OP), I re-flashed the OG firmware, and now it works fine again. Any possible fix upcoming? |
Just to add some data points for narrowing this down. I've got a TS80P that I purchased just a few days ago and installed 2.14.1 on it.
That's all the USB-C power supplies I could find in the house. Based on this, fingers are pointing strongly at PD negotiation. |
You should test the build in PR #917 |
Ill try too with my Apple charger. Edit; just replaced the hex, and well it seems to have solved with my Apple charger (Negotiating 9V). Just before I flashed; I checked, and it failed on my Apple charger. 10s later updated, and working. Also let it reach the 320 degrees 2 times in a row. |
I tried poking this by disabling PPS to at least force the iron to go to the PDO 5/9V (by setting this condition false):
It didn't change anything. Also tried forcing the 5V "negotiations failed" case:
This also didn't change anything - power-loop still occurred. |
Thank you for detailed debugging notes. Few smaller bits :
I would try delaying the start of the PD stack as a first step, to see if this charger requires a delay. Does your inline meter support logging the PD messages? You could also try disabling all of the selection logic so it selects slot 0 which will always be 5V. However I suspect your not even getting to that point in the code tbh. |
How would I do that?
I think so too. On this charger I can't even go into a DFU/flashing mode. Which I would expect be completely separate from IronOS. |
Note about packets from the samsung charger: It seems to be asking for cable capabilities and indeed the cable I used was Unitek C14059BK which is 20V@5A 100W rated PD charging cable as the second packet indicates Edit: My inability to capture packets was due to a fact that capturing seems to work only in one usb-c connector position - so I had to flip it to make it work |
What I wrote in my first post:
The successful 12V negotiation happens only when passing through CT-2 and only when the CT2<>TS80P cable connectors are in a "good" position - I have to try flipping both ends until I find right combination. From that point 12V is always negotiated. But if I enable PD packet recording then this negotiation stops working and power-loop returns. (No amount of connector flipping seems to work) |
Checked another Samung charger: ep-ta800 |
Hmm this is very confusing how it looks to be getting stuck on the SOP'/'' messages. Honestly have no real wisdom on why this is occurring though. Just to confirm in the capture with the bad charger combo, does it ever send a source capability message? |
Yes but not when TS80P is connected, As I wrote in one of the posts above:
The log from that comment was gathered with this setup: And as per that comment: I checked TS80P on the same setup just by swapping Lenovo PD trigger with the TS80P: Now that I read some more I think those "SOP" messages are a result of an E-MARK chip in the cable. (Charger asking the cable what are it's capabilities) |
One more caveat regarding this:
This is only when pd-logging is enabled. If I disable pd message logging in the meter (physical switch) then the power-loop is random and sometimes it does negotiate 12V. (but obviously I cant log the pd messages) Just to sum up the info: I will try gathering a more complete picture of exactly which setups result in what but that will take a while. ATM in addition to the TS80P + CT-2 meter I have those usbc cables at my disposal:
If you want me to check any particular setup then let me know |
Following up on what I wrote: From this point on I will start posting more structured info. The stuff I posted earlier is a mess an I imagine it is difficult to make any informed conclusion. So let's start:
|
Alrighty, the table does make things a lot easier.
I was meanting that in the TS80P <-> charger, does it ever send anything other that SOP messages to the e-marker; just wondering if its something like it sends 50 then the soure capabilities, or if you are never seeing source capabilities sent.
So, this may be a problem then. I'm mildly suspect this may be due to how long the Miniware DFU takes on the TS80P but I have zero proof of that. Now, given this is a Samsung charger that they clearly dont market as a general USB PD charger, its quite possible its not certified and may have issues in certain cases. There are lots out there that have issues in their PD implementation. Now, adding to this, you have indicated (if i read correctly :) ) that when you add the logger to the loop it will sometimes work. I dont have a good idea of the top of my head to prove that otherwise unless you feel like making a hacked up adapter to add some resistor pulldowns to the CC pins (normally its ~5.1k, but maybe 10k would work?) but I also cant promise you that will work either. Honestly, I'm a little confused as to exactly whats going on here, especially as you are not seeing a source capabilities message (i think) when connected to the TS80P. Another thing to try would be to log the PD messages when you boot the TS80P into DFU, as, as far as I know the DFU runtime wont touch the FUSB302 and thus it should act as a "dumb" PD device. This should cause the power supply to spam the source capabilities message for at least a few seconds.... should. USB A->C cables can never use PD as they are missing the required connections. QC may still work, but its a bit of a nightmare standard so I recommend avoiding it where you can :)
Absolutely spot on. These messages are the charger trying to figure out the cables capabilities, so it can "downgrade" (limit) what it advertises to the lower of its own ability or the cables. |
This is confusing and annoying but the answer is that it depends: The meter I have behaves differently depending on whether PD message logging is enabled. If I enable it then no, I do not see any non-SOP messages with TS80P (for several minutes). If I disable the logging then on some cable positions I can get 12V on the TS80P negotiated (just passed through the meter). I suspect that this is because the meter is somehow holding the charger thinking there is something connected. While TS80P makes the charger think it is disconnecting or does something that leads it to go to "safe0V" temporarily (and repeat). Given the above I will try to make a second similar table with the meter connected to make things clearer.
Yup. That is my suspicion as well.
Yes, it sometimes works with the meter, I will try to make a second table to document what are the exact circumstances when it works. My suspision is that TS80P is behaving is a way that makes the charger think it was disconnected. And adding an externally-powered inline meter somehow makes sustains the connection which allows for the boot/negotiations to finish.
I do not mind, but ATM I do not have any USBC-breakout boards. I plan to purchase some along with a logic-analyzer. If I get the items I will post and ask for pointers.
For now I was unable to boot into DFU with this charger. I need to test this in more detail and create another table.
Yeah, I know, believe me. worngly wired cables, wrong resistors, too long. There are very few such cables that are made to specification. That is why I mentioned I am using USB-IF certified cable. TL;DR: will do more testing, prep another table with the meter connected |
I checked and my intuition did not disappoint me - without D+/D- pins there is a configuration that works at 5V with TS80P connected directly to the EP-TA845. Related exerpt:
|
Summary of tests trying to boot into DFU mode by connecting TS80P to a charger directly:
I should be able to post similar info about "TS80<cable>USB meter<cable>charger" setups tomorrow |
Hi, So the final tests you did with the masking on the USB pins is interesting. Have you tried triggering QC on this from a tester perhaps? Otherwise I'm afraid this might be one for the "cant support" list 😢 That said, always happy to keep trying things, but really its getting to thin ice if it wont boot dfu consistently |
I rather think it's quite opposite - the TS80P is probably sending something that makes the charger do a reset.
Yes, i tried all available triggers: None of those triggers reset the charger in a similar way like with TS80P
Yes, the moment it became apparent that DFU mode doesn't work and that IronOS doesn't even have a chance to boot it became fairly clear this is beyond the IronOS code and the issue lies lower in the stack. But the problem with power cycling seems wide-spread by looking at this whole thread. What I would like to know is the reason behind those issues and maybe a way to determine which products would be compatible. I know the tests I do most likely won't help fix the issue but I hope they may bring better chance for informed purchase decisions. Tangent about a struggle trying to find a charger to buy: The thing you speculated upon:
I checked and It actually is a USB-IF sanctioned product: https://usb.org/single-product/3109 (Samsung may have simply chosen to skip USB-IF logo for branding reasons) Now: USB-IF certification is not infallible. I know, but I'd like to think it's a good indicator. PD specification does not require 12V output so to get it from a PD charger I think it needs to support 15V or 20V PPS Question to you @Ralim : what PD charger are you using ATM? |
Documenting the behavior when using a "charger<cable A>meter<cable B>TS80P" setup will take a bit longer than anticipated. Things I can confirm for now:
Because of the point 3 I need to redo most of the tests involving the meter. (Previously posted direct Charger<cable>TS80P tests are still valid to the best of my knowledge) |
Results with a meter below. Nothing helpful unfortunetely.
Few further notes:
|
Gah that is very annoying. Had a bit of a poke around and it looks like the bootloader tries to establish usb comms (or at least does a bit of io toggling) that im guessing the charger doesnt like. Sorry that in the end not much could be done to help with this charger for you :( |
@sdaitzman Obviously this is a charger related issue and it definitely goes beyond the scope of IronOS to support every imaginable charger out there. thanks |
Just noticed the same issue with my new TS80P. For anybody else finding this: I then plugged it into the macbook (instead of direct USB-C -> USB-C) with a USB-C to USB-A adapter and a USB-A to USB-C Cable and it works :D |
I have a meeting in 1 minute, but here are the details of the power cycling issue I'm seeing for now. I'll update later with more information.
I'm submitting a ...
Do you want to request a feature or report a bug?
Report a bug.
After flashing the latest release TS80P firmware (not beta 3) I'm seeing extremely rapid power-cycling. The iron powers on and off over and over again--it blinks on, just barely loads the main screen and then power cycles.
Power on and allow soldering.
Steps to reproduce:
1.DFU flash
TS80P_en.hx
from my Mac over a USBC cable2.Plug TS80P back into Mac (it power-cycles endlessly)
3.Re-enter DFU mode and very, very quickly drag a default Miniware firmware hex from the forum onboard
4.Everything behaves normally.
Video of problem if hard to reproduce
I'll upload a video soon.
What is the motivation / use case for changing the behavior?
What are you running:
On the idle screen, you can hold the settings button and it will show you the firmware version.
The text was updated successfully, but these errors were encountered: