#
✕ nick:rwhitby
#asahi · 2021-02-19 10:58
rwhitbyyeah, there's a number of boards that would be perfect if only they had brought the SBU pins to test points or headers
#asahi · 2021-02-17 00:35
rwhitbyThanks. It's not been to manufacture yet. I have a breadboard implementation I'm testing.
#asahi · 2021-02-17 00:13
rwhitbymarcan: https://twitter.com/rwhitby/status/1361829828786229248 - this glasgow board under development might be useful as input to your serial cable work today
#asahi · 2021-01-20 23:11
rwhitbymarcan: this board looks interesting for PD breakout: https://www.onsemi.com/pub/Collateral/EVBUM2559-D.PDF
#asahi · 2021-01-20 06:44
rwhitbyah, the github page is pretty self-explanatory
#asahi · 2021-01-20 06:41
rwhitbyI have one on order, so I'll be following how to update the firmware :-). I like how the streaming time is just after I finish work for the day :-)
#asahi · 2021-01-18 07:47
rwhitbyApparently https://www.aliexpress.com/item/4001161028862.html is good.
#asahi · 2021-01-18 07:26
rwhitbyHas anyone bought some FUSB302 from AliExpress or similar? Looking for a known good seller.
#asahi · 2021-01-17 09:21
rwhitbywonders if all this talk about something that's not Asahi Linux should be in -offtopic ? ;-)
#asahi · 2021-01-15 22:49
rwhitbyrjeli: and for future expansion, have points for all the high speed lanes as well, as we think that perhaps those can be used for pinsets, but have not been able to test that yet
#asahi · 2021-01-15 22:48
rwhitbyrjeli: (and not have A6/A7/B6/B7 tied together, as they can be used separately in this scenario)
#asahi · 2021-01-15 22:47
rwhitbyrjeli: ideally it would have headers for A6/A7/B6/B7 and SBU1/SBU2.
#asahi · 2021-01-15 10:58
rwhitbyNecrosporus: PD chip is completely separate from USB block on the M1, and is usually independently powered
#asahi · 2021-01-15 05:23
rwhitbymaximus64: my campaign order has the same ship date as yours
#asahi · 2021-01-15 05:22
rwhitbyI bought mine locally from greg davill (who I had the pleasure of meeting in person today)
#asahi · 2021-01-15 05:14
rwhitbynow has a glasgow rev C2 \o/
#asahi · 2021-01-15 05:05
rwhitbyNecrosporus: boots, chain loads itself, kills watchdog, read/writes mem, etc all working
#asahi · 2021-01-14 22:31
rwhitbyyes
#asahi · 2021-01-14 08:25
rwhitbymaximus64: 1.8 is the lowest voltage for glasgow
#asahi · 2021-01-14 06:36
rwhitbysleep is always good
#asahi · 2021-01-14 06:32
rwhitbysignificantly updated https://gist.github.com/rwhitby/b98254e84ae402e87a25c6b981303511 to show the static pin behaviour for all the known Apple VDM action sets.
#asahi · 2021-01-14 06:14
rwhitbyyep, will be doing that
#asahi · 2021-01-14 06:10
rwhitbymarcan: calling Apple VDM Perform Action with an action of 0x000 allows you to query the current pinset settings: https://gist.github.com/rwhitby/0a69d1ffa44719b0a6470cc6c1dbc36a
#asahi · 2021-01-14 04:03
rwhitbyA native Intel MacBook Pro. Don't know how an OSX VM on another host OS will go - may depend on how good the USB passthrough is.
#asahi · 2021-01-14 04:02
rwhitbymaximus64: I've confirmed DFU recover of M1 Mac using Intel Mac as the source host
#asahi · 2021-01-14 03:23
rwhitbyYes, it's a one-hot bit mask of pinsets I think. So I incrementally added the action to each of three pinsets, and then incrementally took it off in the same order.
#asahi · 2021-01-14 03:13
rwhitby(and figured out how to gist images too!)
#asahi · 2021-01-14 03:08
rwhitbyhttps://gist.github.com/rwhitby/b98254e84ae402e87a25c6b981303511 <- fun with pinsets
#asahi · 2021-01-14 02:42
rwhitbyno, just how to map actions to pinsets and interpret the VDM response
#asahi · 2021-01-14 02:39
rwhitbyok, I think I have my head around AppleVDM Perform Action now
#asahi · 2021-01-14 02:12
rwhitbyI'm not driving UART yet - don't have a 1.2V converter. just monitoring on Saleae
#asahi · 2021-01-14 01:55
rwhitbyI've scripted the error-recovery, reboot-normal and reboot-dfu actions. now starting on getting UART output and the I2C buses
#asahi · 2021-01-14 01:53
rwhitbyI have a different board (proprietary, unpublished) which I'm using to communicate. Trying to get my head around the pinsets and actions.
#asahi · 2021-01-14 01:49
rwhitbyanyone here other than marcan been playing with the VDMs and pinsets?
#asahi · 2021-01-13 22:37
rwhitbyenjoys being in a similar timezone to JST
#asahi · 2021-01-13 22:01
rwhitbywhat's the preferred way of sharing screenshots in this channel?
#asahi · 2021-01-13 11:19
rwhitby(for 0x0103)
#asahi · 2021-01-13 11:18
rwhitbydid the name "PD reset" come from somewhere, or just something you coined?
#asahi · 2021-01-13 11:18
rwhitbymarcan: PD action 0x0103 is really a disconnect, not a PD reset. There's no hard reset message occuring on the bus, the M1 releases it's pull down (this is called an ErrorRecovery in the Type-C spec).
#asahi · 2021-01-13 10:44
rwhitbyUSB controlled finger-analogue
#asahi · 2021-01-13 10:41
rwhitbymarcan: nothing stopping you soldering a USB-controlled relay across the power button ;-)
#asahi · 2021-01-13 10:38
rwhitbyI doubt we'll find a way, as that would be a non-user interaction security breach.
#asahi · 2021-01-13 09:51
rwhitbyI suspect that table is the result of the OOLLLL interaction for OO = 0x00 to 0xFF (dword addresses)
#asahi · 2021-01-13 08:13
rwhitbyI can compare those I2C responses against the TPS65987 EVM that I have
#asahi · 2021-01-13 08:12
rwhitbymarcan: any additional PD testing stuff you want to hand off, just let me know. Otherwise I'm going to look into the extra I2C buses as that's something I can do without needing to go to 1.2V levels
#asahi · 2021-01-13 08:10
rwhitbyyeah, I wanted to make sure that the 32bit values that vdmtool prints out matches the 32bit values I see in "real" PD analysers ;-)
#asahi · 2021-01-13 06:56
rwhitbymy normal is if the spec says bits 31:0 then it's displayed as 31:0, even though it is transmitted 0:31
#asahi · 2021-01-13 06:50
rwhitbyok, good, the bits are in the right order in the vdmtool output
#asahi · 2021-01-13 06:41
rwhitbythat reminds me, I wanted to review the PD doc to make sure the 32-bit values are being displayed in the "normal" bit order to make it easy to compare to the spec
#asahi · 2021-01-12 21:30
rwhitbymarcan: those extra I2C buses are likely the PD controllers. 0x38 and 0x3f are the usual suspects for that. Since they are 3.3V, I can poke at those.

plus ›