[HN Gopher] Serial adapter / reboot controller for Apple M1/M2
       ___________________________________________________________________
        
       Serial adapter / reboot controller for Apple M1/M2
        
       Author : zdw
       Score  : 124 points
       Date   : 2023-08-28 18:29 UTC (4 hours ago)
        
 (HTM) web link (www.tindie.com)
 (TXT) w3m dump (www.tindie.com)
        
       | mmastrac wrote:
       | Does the m1/m2 expose a serial port on the USB-C connector? I
       | haven't seen that outside of mobile phones that require special
       | debugging jigs (most requiring a secret resistor values between
       | various pins to turn it on).
       | 
       | More info in the README:
       | https://git.kernel.org/pub/scm/linux/kernel/git/maz/cs-hw.gi...
       | 
       | This actually looks like something I needed to build for some
       | low-level bootloader work, and I had exactly the same sort of
       | poor failure rate for my USB switches. I chalked it up to my
       | inexperience in board design at the time, but I guess the board
       | production house might have just been pretty poor.
       | 
       | EDIT: I used a TS3USB30ERSWR in my design.
        
         | delroth wrote:
         | See https://github.com/AsahiLinux/docs/wiki/HW%3AUSB-PD - some
         | of the USB-C ports respond to USB PD Vendor-Defined Messages to
         | trigger a bunch of debug features, including rebooting the SoC
         | or configuring one of the internal UARTs to output to two pins
         | on the USB-C connector.
        
           | mmastrac wrote:
           | This is far more sophisticated than the protocol I was
           | working with, cool!
           | 
           | In my design I needed to do the a similar thing -- physically
           | switch the USB2.0 lines between USB and raw serial. Using the
           | pico for a USB serial gadget is smart. I used a USB/serial
           | adapter for my project and it was a PITA.
        
       | itomato wrote:
       | Cool. I saw this in use in one of the recent Asahi streams and of
       | course I read it as Frank Zappa; through a mic'ed megaphone with
       | panning.
       | 
       | It was on my list to revisit, glad to see the low level hardware
       | extension of a low level software project!
        
       | johndoe0815 wrote:
       | "This item does not ship to Germany" :(
       | 
       | Not sure if this is a configuration problem on Tindie or a
       | consequence of a missing CE logo...
        
         | smilespray wrote:
         | No shipping to Norway, either.
        
         | blamazon wrote:
         | I don't have experience with such category of electronics, but
         | anecdotally small online sellers in my country (USA) often have
         | troubles complying with German customs - there seems to be a
         | high rate of packages returned to sender due to various
         | intricacies of German import law. (Such as the 'Packaging Act'
         | [1])
         | 
         | [1]: https://packhelp.com/german-packaging-act/
        
         | [deleted]
        
       | going_to_work wrote:
       | The "Central Scrutinizer" reference isn't lost on me.
        
         | bombcar wrote:
         | Elucidate us.
        
           | AceJohnny2 wrote:
           | Frank Zappa - The Central Scrutinizer
           | 
           | Lyrics:                 This is the Central Scrutinizer...
           | It is my responsibility to enforce all the laws       That
           | haven't been passed yet       It is also my responsibility to
           | alert each and every one of you       To the potential
           | consequences       Of various ordinary everyday activities
           | You might be performing which could eventually lead to
           | The death penalty - or affect your parents' credit rating...
           | Our criminal institutions are full of little creeps like you
           | Who do wrong things       [...]
           | 
           | https://genius.com/Frank-zappa-the-central-scrutinizer-
           | lyric...
        
       | ad-astra wrote:
       | Neat!
        
       | solarkraft wrote:
       | Providing tooling for entry is important if you want to grow an
       | ecosystem (developers, developers, developers, developers!). This
       | will probably significantly help people get into low level M-chip
       | development.
       | 
       | It's a small number of people, but with huge multiplying force.
       | Selling these is likely well worth the effort if you want the
       | ecosystem to expand.
        
       ___________________________________________________________________
       (page generated 2023-08-28 23:00 UTC)