Artful Bytes - I Shrunk Blinky to 0 Bytes
This video is about more than this. He started with a Google cloud server in Johannesburg, South Africa, connecting to an HTTP REST server on the microcontroller and an AI that tries to predict network latency, ... that didn't work very well, ...
The last step involves hacking the hardware a bit, ...
Amazing hardwired TCP/IP stack on a chip. You can buy breakout boards with this on from Ali Express for less than £1" https://wiznet.io/products/iethernet-chips/w5500. That hardware is worth quite a few lines of code, ... 20,000 lines or so. I wonder how they do it? See Alan Kay's 2013 talk (1:04:09) where he mentions a language designed by Ian Piumarta for implementing TCP/IP that works a bit like a parsing state machine: Dustin Casto - A Raspberry Pi 5 OpenWRT Router with 2.5Gbps LAN. He says that "a number of Scandinavians have done this in around 2,000 lines of code, ... Piumarta's DSL reduced the specification to ~160 lines of code, but that is probably only for a single TCP connection whereas you need a lot more to manage to multiple connections efficiently. I found this absurdly general patent awarded in 2022 to Cisco Systems: US11418394B1 Using a domain-specific language to describe network-level behavior (Granted 2022-08-16).
Subscribe to da009999.
A slightly more serious look at the amount of concrete stuff involved in booting a microcontroller:
There is a whole shed-load of stuff going with flashing the device and debugging, I guess through some other embedded microcontroller on the development board.
Subscribe to Artful Bytes.
Comments
Post a Comment