Is there an ESP32 ULP emulator/simulator?

wevets
Posts: 112
Joined: Sat Mar 09, 2019 2:56 am

Is there an ESP32 ULP emulator/simulator?

Postby wevets » Wed Aug 28, 2019 5:23 am

Subject line says it all?

wevets

Cardinal
Posts: 1
Joined: Tue Oct 29, 2019 7:01 pm

Re: Is there an ESP32 ULP emulator/simulator?

Postby Cardinal » Tue Oct 29, 2019 7:04 pm

I agree. If it is a simple state machine then surely there must be a simulator for it? Beats the heck out of building & debugging. ESP - Any plans for one?

ESP_igrr
Posts: 2067
Joined: Tue Dec 01, 2015 8:37 am

Re: Is there an ESP32 ULP emulator/simulator?

Postby ESP_igrr » Fri Nov 01, 2019 10:18 am

Sorry, we don't have this planned, but we are open to suggestions.

Do you have any ideas how would such emulator work?
If this would be a standalone desktop tool, this would be of limited use since it's hard to test interaction between the main program and the ULP program, right?
If emulation would happen on the ESP itself (using one of the Xtensa cores), then it's still hard to make the timing work the same as on the real ULP.

macieljr
Posts: 5
Joined: Mon Jan 13, 2020 7:31 pm

Re: Is there an ESP32 ULP emulator/simulator?

Postby macieljr » Thu Jan 30, 2020 5:11 pm

Something like (or support to) Autodesk's Tinkercad (tinkercad.com), would be really awesome! IMHO

tobias.boesch
Posts: 6
Joined: Tue Apr 28, 2020 7:02 am

Re: Is there an ESP32 ULP emulator/simulator?

Postby tobias.boesch » Tue Apr 28, 2020 7:28 am

What is this thing meant for:
https://github.com/espressif/qemu
https://github.com/espressif/qemu/wiki

Can one use it for unit tests? Its development started about 20 years ago. When is something out of beta? I there someone from the official espressif side who can answer these question? (Should I ask at the repo of the emulator itself?)

Best wishes to all of you.
Tobias

ESP_Sprite
Posts: 8926
Joined: Thu Nov 26, 2015 4:08 am

Re: Is there an ESP32 ULP emulator/simulator?

Postby ESP_Sprite » Tue Apr 28, 2020 6:40 pm

We use (or are planning to use) qemu internally as a test platform for some ESP32 things as well as for bringup of new chips. As there seemed to be other attempts to bring the ESP32 to qemu, we decided to share. As the wiki says, it's not really supported, but if you can figure out that you can make use of it, you're free to clone the repo.

snkp1122
Posts: 2
Joined: Thu Aug 26, 2021 8:09 am

Re: Is there an ESP32 ULP emulator/simulator?

Postby snkp1122 » Sun Oct 03, 2021 2:24 pm

Wokwi Arduino Simulator has recently announced the ESP32 simulation options.
Home page: https://wokwi.com
ESP32 Simulator docs - https://docs.wokwi.com/guides/esp32
Image
To comment or to suggest you can hop on to the Discord Community (https://wokwi.com/discord)

Who is online

Users browsing this forum: Bing [Bot] and 165 guests