~/projects/microflasher

MicroFlasher

De OG: de eerste EdgeFlasher. Een UART-flasher voor ESP32- en ESP8266-boards. Board in de connector, USB-C erin, flashen. The OG: the very first EdgeFlasher. A UART flasher for ESP32 and ESP8266 boards. Board in the connector, plug in USB-C, flash.

MicroFlasher schuin van bovenaf: groene print met zwarte card-edge connector, CH340C en USB-C
MicroFlasher 1.1.2

Wat het is

Boards met edge-fingers gaan direct in een 20-polige card-edge connector. De MicroFlasher maakt daar een USB-seriële poort van, zodat je ESP32- en ESP8266-firmware flasht zonder losse draadjes of een programmeerkabel.

Dit is de eerste generatie van wat later de EdgeFlasher werd.

What it is

Boards with edge fingers go straight into a 20-position card-edge connector. The MicroFlasher turns that into a USB serial port, so you can flash ESP32 and ESP8266 firmware without loose wires or a programming cable.

This is the first generation of what later became the EdgeFlasher.

Een print met edge-fingers in de card-edge connector van de MicroFlasher
een board gedockt in de MicroFlashera board docked in the MicroFlasher
MicroFlasher recht van bovenaf, met de Dock sense-jumper, CH340C en USB-C-poort
van bovenaftop view

Hardware

Bewust simpel: een tweelaags print met een handvol onderdelen.

refchipfunctie
U2CH340CUSB naar UART, met interne klok (geen kristal nodig)
Q3, Q4BC817Auto-reset: esptool zet het target helemaal zelf in de bootloader
U1USBLC6-2P6ESD-bescherming van de USB-datalijnen
IC1AP2112-3.33,3 V-spanningsregelaar
J25-5530843-020-polige card-edge connector

USB-C met 5,1 kΩ op de CC-lijnen, zodat elke lader of laptop er gewoon 5 V op zet.

Dock sense

Zet je de Dock sense-jumper op On, dan worden twee pinnen in de connector kortgesloten. Zo weet het board in de connector dat het in een dock zit, en kan het na authenticatie opstarten met uitgebreidere debugopties.

Waarom een opvolger

Er lag al een volgende revisie klaar, maar toen kwam de overstap naar nRF. En een CH340 spreekt alleen UART. Prima voor een ESP32, maar de nRF54L15 wil SWD. Daarom kwam er een tweede generatie met een RP2040 als debugprobe: de EdgeFlasher. Op vrijwel exact dezelfde footprint van 51 × 45 mm, en met een duidelijke WARNING: nRF54 ONLY in de silkscreen, zodat niemand de twee door elkaar haalt.

Hardware

Simple on purpose: a two-layer board with a handful of parts.

refchipfunction
U2CH340CUSB to UART, with internal clock (no crystal needed)
Q3, Q4BC817Auto-reset: esptool puts the target into its bootloader all by itself
U1USBLC6-2P6ESD protection for the USB data lines
IC1AP2112-3.33.3 V regulator
J25-5530843-020-position card-edge connector

USB-C with 5.1 kΩ on the CC lines, so any charger or laptop simply provides 5 V.

Dock sense

Set the Dock sense jumper to On and two pins in the connector get shorted. That tells the board in the connector it's sitting in a dock, so after authentication it can boot with extended debug options.

Why a successor

A next revision was already in the works, but then came the switch to nRF. And a CH340 only speaks UART. Fine for an ESP32, but the nRF54L15 wants SWD. So a second generation followed, with an RP2040 as debug probe: the EdgeFlasher. On almost exactly the same 51 × 45 mm footprint, and with a clear WARNING: nRF54 ONLY in the silkscreen so nobody mixes the two up.