Serial adapter/reboot controller for Apple M1/M2
tindie.com
tindie.com
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.
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.
https://support.apple.com/guide/apple-configurator-mac/reviv...
If an update goes really wrong (ie. battery died in middle of an update), the Mac may need to go into DFU mode and get a firmware write over USB.
I don't know if this is the actual format the firmware update uses, but the ports listed in the official documents match the "special" ports in the wiki there.
(1) is never overwritten
(2) is capable of accepting firmware updates over serial connection / TFTP / etc.
(3) checksums the newest firmware "partition" runs it if the checksum checks out
(4) falls back to the older "partition" of firmware if the checksum indicates corruption and/or partial update
Having had to TFTP-update several (and in one case exacto-knife jump two pins on the flash) WRT-54G firmware updates before I learned that the WRT-54G firmware update had issues with FireFox's HTTP POST implementation, I really wish firmware updates were more robust. A firmware update also bricked an early FitBit of mine.It really comes down to how much time and care the developers have in their implementation.
Now, pushing a bad firmware version is another story, and impossible to prevent unless the firmware updater contains some impossibly complex static analysis tools to formally verify some set of correctness properties of the incoming update.
The Nintendo Switch does A/B firmware updates. It has tremendous speed benefits.
macOS sort of achieves something similar with the new system volume architecture, but…not exactly.
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.
If it's about developing the ARM ecosystem, the Pi boards have systemready certification with ACPI tables and all the creature comforts, with supply issues improving.
As a consumer, a hypothetical Zen4 APU SBC would perform better (7840u) on both performance-per-watt and absolute performance metrics compared to equivalent price M series, while giving you access to the mature x86 ecosystem.
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...It was on my list to revisit, glad to see the low level hardware extension of a low level software project!
On schedule, it would boot right up (as long as it was plugged in at the time)
It still exists today at least for waking up from suspend. It's even exposed through WakeSystem=true in systemd timers.
0.2 RS2227 multiplexers x2
0.5 FUSB302BMPX
0.2 1050170001 MOLEX usb B
0.4 USB 3.1 Female Type-C, Molex would cost $1
0.008 mosfet
0.0004 capacitor x6
0.0002 resistors x8
0.02 header
~2 assembly, half of that goes to 40 pin header for the pico!
~$1 pcb
all in all ~$6 per unit
Not sure if this is a configuration problem on Tindie or a consequence of a missing CE logo...
This is insane even by German standards.
I'm sure the regulation is well-intentioned (and could even be great in aggregate effect too!), but a side-effect is that it biases the market in favor of larger companies who can afford to hire compliance specialists.
I can't promise I'm up to date on that - that was two years ago, but they're still selling to the EU from their own site, and rest of world from Tindie. So I'm working to the assumption that they wouldn't still refuse EU sales from Tindie unless they felt they still needed to.