-
-
Notifications
You must be signed in to change notification settings - Fork 731
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
PD negotiation issues with Baseus CCGAN10CUS #1599
Comments
Try this firmware. Basically there was a firmware issue that was causing PPS VPDOs that happened to also be the 7th PDO to have a disabled PPStimer - which would result in the charger cutting power to the Iron after about 10-30 seconds. (See PR #1572) You can use the either the Pinecil updater on Windows or dfu-util on Linux to flash these update files to the device over USB. Let me know whether this fixes the issue. |
What PDOs are listed when you hold down the + button on your Pinecil? |
I have one charger that is finiky, and sometimes I plug it in and it's 5V, but then I unplug and plug it in again and it's fine so that is what I do with that charger. |
No-one marked it as a offtopic; that is likely an automation from Github because of the double-post. |
thanks |
Thank you for the responses. I haven't been able to test latest firmware or get PD analyzer (this may take a while) yet, other info below.
PD Debug, only the bottom line changes:
When connection doesn't work out, I only get:
Also tried MacBook charger cable and some unbranded 15-centimeter cable apart from the previous ones, checked all the flip configurations (😄) and it doesn't seem to affect results.
Image here: Baseus-CCGAN10CUS. Official product page shows other sides. |
@kantoniak if you could flash the beta firmware that samuel linked above in the first comment, that would be good to try. you can download it right from inside his comment.
|
Hello, I tried the linked firmware:
PD Debug is exactly the same as before:
I'd say that even less negotiations are successfull. I went back to stable firmware for now and I will report back when I get a PD logger. |
what did you see when you were in the PD debug, which state lines? |
PD Debug is exactly the same as before, I've updated the previous comment. |
@kantoniak I'm starting to think it's just this one charger you have that is not performing right. since all your other chargers work perfectly fine with Pinecil V2. do you have a PD analyzer like the KM002 or KM003 yet? you could capture PD analyzer log on your PC which would have better data than the minimal info in PD debug. send logs in in which i've done in past, and perhaps Ralim could look at it since it will tell exactly what is going on. This happened rarely but on one of my other chargers, sometimes only show as 5V, then I unplug and plug in again and get 20V. those chargers I give away to people or they are in bottom of box. PD analyzer info sent to Ralim is best, but I didn't want to bother at the time since it did work if I just replugged it in. Specific chargers do cause issues with V2, and it's recommended to not use them. sometimes they are not made to USB-C spec, or for example could be 3 of same model and 2 work and one causes pinecil issues. PD analyzer log might help since it shows exactly the negotiation between the charger and Pinecil. see here for some examples of other bad chargers: #1644 |
Thanks for checking in, I just noticed the reply. I do own KM003, but I didn't know it can log PD packets. (I was hoping to sniff out CC lines with a breakout board and an oscilloscope and put that in sigrok or so, but I'm not comfortable with such surgery when connected to mains). Are there any tutorials on how to log PD negotiation? Afaik official KM002/003 docs don't cover Power-Z app. |
|
I don't have direct links to the free software so if you can't find it on Chargerlabs website one of the discord pine64 chat members shared link iir. PD Analyzer you want is the Second screenshot here: #1243 (comment) Hit the red record button before you plug in the cable to the charger so it gets everything going from the charger to the pinecil and from the Pinecil to the Charger. or basically I hit the record then plug in the black cable to rear of th km002 does same thing. It's a pretty cool tool when combined with the free PC logger software. Historical background on how using a consumer device helped Pinecil support. Because of this software/KM002 we could record/send all the PD analyzer logs to Ralim just as if he had the chargers himself. With those logs he found the comm message problem, and adjusted IronOS firmware. in that case it was a matter of interpretation of the USB-IF protocol. protocol said padding of zeros could be ignored, and this worked with apple charger. |
Thank you for elaborate explanation, I managed to read everything what's needed. @Ralim I attach two logs for connections which end in State 3 and State 12: pd-logs.zip. Logs have Vendor Defined messages which in my understanding is cable identification. This part was sometimes missing but did not affect whether negotiation is successful. From my testing it looks like Pinecil sometimes does not respond to capability advertising and Baseus repetitively advertises for 10 secs and then stops. |
@kantoniak |
Thanks for bringing this up. Could someone take a look at the logs please? If it seems to be a faulty device/model, I think the issue can be closed.
|
I had issues with Baseus PD charger 100W, and with others. After updating Pinecil v2 FW to latest, and changing charger to another cheaper Asometech 65W - it works stable. |
I have similar problem with Wotobeus 240W charger. Tested with Pinecil V1 and Pinecil V2 and different USB Type-C cables. Both Pinecils are using firmware v2.22E.C308FE8C. Pinecil V1 is working fine, I have following logs in Fnirsi FNB38 USB tester:
No available modes are displayed in the FNB38 PD listener UI, just actual 20V. For Pinecil V2 most of the connections are not working. PD Debug is showing
Extended info for there log records:
Also I see following modes on the FNB38 screen:
No modes are selected. If connection of the Pinecil V2 was successful, I have following records in FNB38 logs:
Same available modes are displayed as for unsuccessful connections but |
I have a Baseus charger and PD negotiation with Pinecil V2 sometimes works and sometimes doesn't and stays at 5V. I'd like to report it since the charger works perfectly with other hardware that I have and the issue may be connected to IronOS' stack. I've used Pinecil with other chargers (Lenovo laptop charger, MacBook charger) without problems.
I did some testing with PD debug mode (holding the
+
sign). The hardware:I get different results based on the order I connect things together:
12 no VBus
)12 no Vbus
vs3 no VBus
)12 no Vbus
vs3 no VBus
)12 no Vbus
vs3 no VBus
)12 no Vbus
vs3 no VBus
)12 no Vbus
vs3 no VBus
)I don't have PD testers which could log details of the negotiation, unfortunately. Can it be Pinecil side issue? Any suggestions on how to improve the reliability of connection?
The text was updated successfully, but these errors were encountered: