SearchA-ZE › ESP32-H2

ESP32-H2

2023 Open source · CC0 On-board only Online

ESP32-H2 is Espressif's Bluetooth LE 5 + 802.15.4 (Thread / Zigbee) microcontroller (no WiFi), emulated in the browser on a from-scratch RISC-V RV32IMAC interpreter (the RV32I base plus the M multiply/divide, A atomics and C compressed extensions, the machine-mode CSRs and the trap and interrupt machinery). The core is wired to an ESP32-H2 SoC model at the real hardware addresses: 320 KB unified HP SRAM, XIP flash, the GPIO block with the DevKitM-1 addressable WS2812 RGB LED on GPIO8, UART0, the systimer and a functional interrupt matrix. It runs REAL bare-metal firmware, including a WS2812 RGB cycle and an interactive UART REPL you can type into. Because the whole chip is ordinary JavaScript it plugs into the site's shared debugger: the real RISC-V disassembler, live x0-x31, pc and the machine CSRs, side-effect-free memory, single-instruction step, execution breakpoints and write-watchpoints. BLE and 802.15.4 have no radio here and are HLE stubs, so the emulator is silent.

ESP32-H2 at Espressif ↗

Runs on: Web browser

ESP32-H2 Online Emulator

Play ESP32-H2 using JavaScript directly in your browser.

Configurations

ConfigurationEmulatorMachineOSLegal
RGB cycle (WS2812)ESP32-H2ESP32-H2openOpen ⛶
Rainbow (WS2812 hue wheel)ESP32-H2ESP32-H2openOpen ⛶
Mini-REPL (UART0)ESP32-H2ESP32-H2openOpen ⛶
Hello UART (serial)ESP32-H2ESP32-H2openOpen ⛶

Chips

Notes