Skip navigation
What if you could run ESP32 firmware without touching a physical board?
0:00 / 2:07

What if you could run ESP32 firmware without touching a physical board?

Praveen Kumar Verma

@Alacritic_Super13K followers

Visit on X
355 likesDownloadOriginal post

13,621 views

What if you could run ESP32 firmware without touching a physical board? Espressif's open-source ESP Emulator lets you run firmware binaries for chips including the ESP32-C3, C6, H2, P4, S3, and S31. You can even try it in your browser. Upload a merged firmware ".bin" file and watch the emulator run, with a live view of the console, CPU registers, memory and GPIO activity. For embedded developers, this opens up new ways to test firmware, debug execution and experiment before moving to hardware. Would you trust an emulator to test your next ESP32 project before flashing a real board?

18 Comments

Comments from the original post on X (Twitter)

  • Praveen Kumar Verma's profile picture

    @Alacritic_Super

    A Rust-based emulator that runs ESP32 family firmware binaries CPU, memory, WiFi, BLE, Thread, Ethernet, crypto and more. This repo distributes the installer, prebuilt release binaries, user-facing docs, and helper tools.

    9 likes

  • Mattia's profile picture

    @MattiaFiumara

    Try it's cooler.

    7 likes

  • Praveen Kumar Verma's profile picture

    @Alacritic_Super

    This is also good. I would try it and compare the results with real hardware.

    3 likes

  • Mattia's profile picture

    @MattiaFiumara

    We’re actually open sourcing the complete internals vs espressifs closed source internals, and ours includes classic ESP32.

    3 likes

  • Praveen Kumar Verma's profile picture

    @Alacritic_Super

    That would be even better to emulate the hardware.

    1 like

  • Awesome ESP's profile picture

    @suchagreatthing

    Browser firmware testing would save me digging out the board.

    2 likes

  • Praveen Kumar Verma's profile picture

    @Alacritic_Super

    True. It can save initial debugging time pr may be smoky boards too.

    1 like

  • Sujal's profile picture

    @hecodesforme

    I'd trust it for logic and boot loops, but anything touching radio timing I'd still flash

    2 likes

  • Praveen Kumar Verma's profile picture

    @Alacritic_Super

    That's a good way to think. RF is hard to emulate in the software.

  • 飞叔's profile picture

    @RyanJ_KOL

    I would use it to catch logic bugs early, with a clear list of peripherals and timing behavior it does not emulate. That boundary would help developers choose which tests can run in the browser and which still need a real board.

    2 likes

  • Praveen Kumar Verma's profile picture

    @Alacritic_Super

    Yeah, good approach. It can definitely save a lot of time in initial testing.

  • Farhan Ahmad's profile picture

    @farhanhubble

    This might need to be handy soon for a LISP OS I'm tinkering with.

    1 like

  • Praveen Kumar Verma's profile picture

    @Alacritic_Super

    Ohh, even better. What new functionalities will it offer?

  • Farhan Ahmad's profile picture

    @farhanhubble

    I'm using qemu emulated RISC64 at the moment. There's no peripheral support as yet but I'd love to test it out on small footprint 32 bit microcontrollers.

    1 like

  • dani bauer's profile picture

    @danizeres

    nice ship

    1 like

  • Praveen Kumar Verma's profile picture

    @Alacritic_Super

    Thank you

  • Chakma Hesap 🔋 🔋 🔋 🔋 🔋's profile picture

    @HesapChakma

    certainly...

    1 like

  • Praveen Kumar Verma's profile picture

    @Alacritic_Super

    Yes