
LogicAnalyzer
gusmanb/logicanalyzer
24 channel, 100Msps logic analyzer hardware and software

Reliable A/B firmware update foundation for STM32 with an ESP32 transport bridge. Here is the final presentation video showing a demo and explanation of everything in this readme:
OTA PCB is an open-source printed circuit board by sameeran-c, from the sameeran-c/STM32_OTA_ABswap repository on GitHub. It is a 2-layer board of 177.5 × 87.5 mm with 10 parts on 90 nets, routed with 256 tracks and 0 vias.
Reliable A/B firmware update foundation for STM32 with an ESP32 transport bridge.
Here is the final presentation video showing a demo and explanation of everything in this readme:
https://youtu.be/UHACsZe9ke4
https://youtube.com/shorts/yXXsLTlftgA?feature=share
Many embedded products are deployed in places where physical reflashing is slow, costly, or impossible. A failed firmware update can also brick a device if there is no recovery path. This project builds a robust over-the-air (OTA) update pipeline for an STM32 platform to solve this problem.
The system utilizes an A/B swap firmware update layout. The design keeps one known-good binary active while writing a new downloaded binary to an inactive slot. This allows updates to be validated before they become permanent. The update download process is concurrent. Main application tasks are not halted while the new binary is fetched.
Key components:
End-to-end update path:


/hardware_design_resources dir, for those interested in ordering the hardware to run the OTA.
| ESP32 | STM32 |
|---|---|
| GPIO17 (TX) | RX pin (PC5) |
| GPIO16 (RX) | TX pin (PC4) |
| GND | GND |
UART3: OTA data path from ESP32 to STM32 (Pins PC4, PC5).UART4: Debug output path.UART0: USB serial to receive new programs via PlatformIO.UART2: Binary transfer path toward STM32 OTA updater.Requirements: VS Code with PlatformIO extension, HiveMQ Cloud account (free tier), and a 2.4GHz WiFi network.
ota_esp32/src/main.cpp:
const char* ssid = "your_network";
const char* password = "your_password";ota_esp32/src/main.cpp:
#define MQTT_BROKER "your-cluster.hivemq.cloud"
#define MQTT_USER "your_username"
#define MQTT_PASS "your_password"fetchBinary() and checkForUpdate() to point to your hosted binaries.dialout group to access /dev/ttyUSB0.Requirements: CMake and ARM GCC toolchain.
OTA directory.cmake --preset Debug -B build/Debug
cmake --build build/Debug --target OTA_bootloader
cmake --build build/Debug --target OTA_app_a
cmake --build build/Debug --target OTA_app_b.elf or .hex files to the STM32 starting at address 0x08000000 for the bootloader.

UART3 framed OTA receive/write pipeline.OTA: STM32 firmware workspace.OTA/README.md: Technical details on file map, flash map, and build/flash details.OTA/PROJECT_HANDOVER.md: Detailed architecture and roadmap.OTA/ota_esp32: ESP32 companion workspace.| Qty | Value | Footprint | References |
|---|---|---|---|
| 2 | Conn_01x15_Pin | Connector_PinHeader_2.54mm:PinHeader_1x15_P2.54mm_Vertical | J4, J5 |
| 2 | Conn_01x15_Socket | Connector_PinSocket_2.54mm:PinSocket_1x15_P2.54mm_Vertical | J6, J7 |
| 2 | Conn_01x33_Socket | Connector_PinSocket_2.54mm:PinSocket_1x33_P2.54mm_Vertical | J1, J2 |
| 1 | LOGO | my_footprints:U_LOGO_V1 | G*** |
| 1 | LOGO | my_footprints:ota_sym | G*** |
| 1 | ~ | my_footprints:stm32F072B | STM32 |
| 1 | ~ | my_footprints:Untitled | ESP32 |

gusmanb/logicanalyzer
24 channel, 100Msps logic analyzer hardware and software

byrantech/laptop
anyon_e, a highly integrated, high end, open source laptop. Attempt the impossible.

joeycastillo/Sensor-Watch
A board replacement for the classic Casio F-91W wristwatch


OLIMEX/OLINUXINO
OLINUXINO is Open Source / Open Hardware, low cost from EUR 24 Linux Industrial grade Single Board Computer capable to operate -25+85C

rusefi/rusefi
rusefi - GPL internal combustion engine control unit

VoronDesign/Voron-Hardware
Cool Hardware designed by the Voron Design group

hoglet67/RGBtoHDMI
Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI
It measures 177.5 × 87.5 mm and has 2 copper layers, 1.6 mm thick.
10 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the sameeran-c/STM32_OTA_ABswap repository on GitHub, at the commit this page was made from: the board is OTA/hardware_design_resources/OTA_PCB.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask sameeran-c before reusing the design.