-
-
Notifications
You must be signed in to change notification settings - Fork 752
Pinecil boot-looping on v2.16 when connected to computer USB (low power) #1162
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
Comments
What computer are you connecting it to, how are you connecting it (what cable type)? |
Samsung Galaxy Chromebook (v1) Today I tested on several other computers and it does work on some of them. boot-loopsASUS Chromebook Tab 10 worksLenovo N23 Yoga Chromebook It's tempting to think that the problem is Chromebook-specific, but given that one Chromebook worked I'm tempted to either rule that out or suspect that it's a specific kernel version that's being a bit pickier about USB negotiation.
USB-C to USB-C that came with an 18W power supply. I also tried putting a Satechi USB-C Power Meter inline with it, and in the cases where it works it shows a voltage (usually 5V) and very little current, but in the cases where it doesn't work it shows nothing at all. This suggests that part of the initial negotiation may be failing, but I can't be sure. The Satechi meter snoops the negotiation packets but doesn't interfere.
I had only tested v2.16 (broken) and v2.15 (works). Having tested the RCs now... Another detail I should have added is that the bootloader works correctly on the Galaxy Chromebook, and the Satechi meter reads 5V and 0.01A when the Pinecil is in bootloader. Let me know if there's anything else I should try. |
It also works when using a USB-A to USB-C cable attached to a USB-C to USB-A adapter so that it doesn't try to negotiate USB-C. |
Possibly useful, but more likely a symptom of the boot-looping, dmesg on the Chromebook shows the following repeatedly (with variations on time and device number):
That's with |
Ah fantastic you answered all my follow-up questions too. So what I suspect is going on here is a stalemate in negotiations. The pinecil will NACK any requests for it to change data or power modes. This is probably down to the exact PD stack in use on the devices. Is there anyway to spy on the PD stack in these devices ? |
Not that I know of, but I'll poke around and see if I can learn something. |
Does make me wonder if its trying to power cycle the port to get the unit to talk to it.. :/ (Is that in the logs?) |
Ah, yep:
|
I'm suspect this may be either PD fighting or the usb port power cycling ; as the computer is seeing the QC activity and thinking we are a non-functional USB device. |
I wonder if it should present as a HID temperature sensor, since temperature's a thing it knows about itself. Not sure it would be very useful, but might at least satisfy picky computers that reset USB devices that don't respond. What was it doing differently in v2.15 in this regard? |
I have simply overlooked it but I have realized it when I saw this issue just now... So I have tested the actual IronOS image a few weeks ago to see if it works well for me. I have simply replaced the cable with a USB-->Type-C one and did the upgrade there. So I have not dag into it at all, but my computer has a Type-C port which is not PD capable, so it will never switch to a voltage above 5V (it is a Thunderbolt-capable port without PD support). I may look at it later what is really happening if you feel it should be investigated further (maybe this weekend). |
@VaZso thank you for coming back to update on the USB issue! My Pinecil screen blacked out and it wouldn't heat up, so I installed PineFlash on MacOS and plugged in my Pinecil via a USB-C to USB-C cable straight to my Mac. The soldering iron would connect, but when I started the update it would error out with:
I could not find any other mentions of this problem on the internet and started looking through Github issues in desperation before seeing your comment here. I swapped my USB-C to USB-C cable out for a USB-A to USB-C cable plugged into a dongle on my Mac, and it worked first try! Thank you! |
I upgraded to v2.16 last night and while the Pinecil is stable when connected to a PD power supply it boot-loops when connected to my computer, which does not supply high power. It worked fine on v2.15 and below.
The text was updated successfully, but these errors were encountered: