Page 1 of 1

Is there an ESP32 ULP emulator/simulator?

Posted: Wed Aug 28, 2019 5:23 am
by wevets
Subject line says it all?

wevets

Re: Is there an ESP32 ULP emulator/simulator?

Posted: Tue Oct 29, 2019 7:04 pm
by Cardinal
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?

Re: Is there an ESP32 ULP emulator/simulator?

Posted: Fri Nov 01, 2019 10:18 am
by ESP_igrr
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.

Re: Is there an ESP32 ULP emulator/simulator?

Posted: Thu Jan 30, 2020 5:11 pm
by macieljr
Something like (or support to) Autodesk's Tinkercad (tinkercad.com), would be really awesome! IMHO

Re: Is there an ESP32 ULP emulator/simulator?

Posted: Tue Apr 28, 2020 7:28 am
by tobias.boesch
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

Re: Is there an ESP32 ULP emulator/simulator?

Posted: Tue Apr 28, 2020 6:40 pm
by ESP_Sprite
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.