Been watching this video again as I've been working with QEMU. Still super awesome. You can actually quit the simulator by hitting "Ctrl-A X" in order :)
Also looking for this exact information. +1. @Keegan L: Would be nice to know exactly what "setting it up from scratch" entails. Probably more work than getting the actual hardware and using OpenOCD... which I already have working but was a total PITA.
The tutorial seems kind of trivial because it doesn't deal with any hardware port. How can I emulate esp32 BLE and/or GPIO without having to flash the code on the actual device? if so how can i do?
OK... cool! Now do this exact same video... only for the ESP32 *C3* variant. The chip with the RISC-V CPU, instead of the stupid Tensilica xtensa proprietary trash.
I struggled a bit to try to get it working, but it seems that it's not yet compatible with Apple M1/M2 ARM chips. I get : "qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory"
Thanks for the great worke! I am struggling a little with some details maybe it is something very stupid but I can't run the any command. trying to merge the bin files I always get following errors by entering the full instruction or a reduced instruction or even the suggestion of Sjur: root@677806f5c889:/# /./opt/esp-idf/components/esptool_py/esptool/esptool.py --chip esp32c3 merge_bin --output result.bin --fill-flash-size 2MB 0x0 build/bootloader/bootlaoder.bin 0x8000 build/partition_table/partition-table.bin 0x10000 build/QEMUTest.bin --flash_mode dio --flash_freq 80m --flash_size 2MB bash: /./opt/esp-idf/components/esptool_py/esptool/esptool.py: No such file or directory root@677806f5c889:/# esptool.py --chip esp32c3 merge_bin --output result.bin --fill-flash-size 2MB 0x0 build/bootloader/bootlaoder.bin 0x8000 build/partition_table/partition-table.bin 0x10000 build/QEMUTest.bin --flash_mode dio --flash_freq 80m --flash_size 2MB usage: esptool merge_bin [-h] --output OUTPUT [--format {r,a,w}] [--flash_freq {keep,80m,60m,48m,40m,30m,26m,24m,20m,16m,15m,12m}] [--flash_mode {keep,qio,qout,dio,dout}] [--flash_size {keep,256KB,512KB,1MB,2MB,2MB-c1,4MB,4MB-c1,8MB,16MB,32MB,64MB,128MB}] [--spi-connection SPI_CONNECTION] [--target-offset TARGET_OFFSET] [--fill-flash-size {256KB,512KB,1MB,2MB,4MB,8MB,16MB,32MB,64MB,128MB}] [ ...] esptool merge_bin: error: argument : [Errno 2] No such file or directory: 'build/bootloader/bootlaoder.bin' root@677806f5c889:/# esptool.py --chip esp32c3 merge_bin --fill-flash-size 2MB -o flash_image.bin @flash_args Traceback (most recent call last): File "/opt/esp/python_env/idf5.1_py3.8_env/bin/esptool.py", line 34, in esptool._main() File "/opt/esp/python_env/idf5.1_py3.8_env/lib/python3.8/site-packages/esptool/__init__.py", line 1022, in _main main() File "/opt/esp/python_env/idf5.1_py3.8_env/lib/python3.8/site-packages/esptool/__init__.py", line 620, in main argv = expand_file_arguments(argv or sys.argv[1:]) File "/opt/esp/python_env/idf5.1_py3.8_env/lib/python3.8/site-packages/esptool/__init__.py", line 882, in expand_file_arguments with open(arg[1:], "r") as f: FileNotFoundError: [Errno 2] No such file or directory: 'flash_args'
Thank you for the amazing videos. your FreeRTOS video teaches me a lot. Thanks again. keep it up...🙏🏼
Thank you for your videos. They are really helpful
Just came across your channel, amazing!
Been watching this video again as I've been working with QEMU. Still super awesome. You can actually quit the simulator by hitting "Ctrl-A X" in order :)
Thx for `Ctrl-A X` !
Thank you good job!!
Thank you! 🙏🌻🙏
how to make qemu-system-xtensa command available in my system?
super cool
Installed Docker desktop, docker vscode extension from microsoft, but cannot find "Remote-container: " in command palette. What am I missing?
Can this be used for the RiscV version? Specifically for the ESP32-C3?
RISC-V should have even better QEMU support but haven't tried it personally, looks like you'd be setting it up from scratch though
Also looking for this exact information. +1.
@Keegan L: Would be nice to know exactly what "setting it up from scratch" entails. Probably more work than getting the actual hardware and using OpenOCD... which I already have working but was a total PITA.
Thank you for thé amazing vidéos !!!!! Continous freertos with esp-idf ;-)!
great video!
The tutorial seems kind of trivial because it doesn't deal with any hardware port. How can I emulate esp32 BLE and/or GPIO without having to flash the code on the actual device? if so how can i do?
Really great man
Awesome as always! Please create and video for debugging ESP32-s3 using Built-in JTAG Interface over USB, Thanks in advance!
OK... cool! Now do this exact same video... only for the ESP32 *C3* variant. The chip with the RISC-V CPU, instead of the stupid Tensilica xtensa proprietary trash.
Run a container inside a container... haha
pretty much
I struggled a bit to try to get it working, but it seems that it's not yet compatible with Apple M1/M2 ARM chips. I get :
"qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory"
Thanks for the great worke! I am struggling a little with some details maybe it is something very stupid but I can't run the any command. trying to merge the bin files I always get following errors by entering the full instruction or a reduced instruction or even the suggestion of Sjur: root@677806f5c889:/# /./opt/esp-idf/components/esptool_py/esptool/esptool.py --chip esp32c3 merge_bin --output result.bin --fill-flash-size 2MB 0x0 build/bootloader/bootlaoder.bin 0x8000 build/partition_table/partition-table.bin 0x10000 build/QEMUTest.bin --flash_mode dio --flash_freq 80m --flash_size 2MB
bash: /./opt/esp-idf/components/esptool_py/esptool/esptool.py: No such file or directory
root@677806f5c889:/# esptool.py --chip esp32c3 merge_bin --output result.bin --fill-flash-size 2MB 0x0 build/bootloader/bootlaoder.bin 0x8000 build/partition_table/partition-table.bin 0x10000 build/QEMUTest.bin --flash_mode dio --flash_freq 80m --flash_size 2MB
usage: esptool merge_bin [-h] --output OUTPUT [--format {r,a,w}] [--flash_freq {keep,80m,60m,48m,40m,30m,26m,24m,20m,16m,15m,12m}]
[--flash_mode {keep,qio,qout,dio,dout}] [--flash_size {keep,256KB,512KB,1MB,2MB,2MB-c1,4MB,4MB-c1,8MB,16MB,32MB,64MB,128MB}]
[--spi-connection SPI_CONNECTION] [--target-offset TARGET_OFFSET] [--fill-flash-size {256KB,512KB,1MB,2MB,4MB,8MB,16MB,32MB,64MB,128MB}]
[ ...]
esptool merge_bin: error: argument : [Errno 2] No such file or directory: 'build/bootloader/bootlaoder.bin'
root@677806f5c889:/# esptool.py --chip esp32c3 merge_bin --fill-flash-size 2MB -o flash_image.bin @flash_args
Traceback (most recent call last):
File "/opt/esp/python_env/idf5.1_py3.8_env/bin/esptool.py", line 34, in
esptool._main()
File "/opt/esp/python_env/idf5.1_py3.8_env/lib/python3.8/site-packages/esptool/__init__.py", line 1022, in _main
main()
File "/opt/esp/python_env/idf5.1_py3.8_env/lib/python3.8/site-packages/esptool/__init__.py", line 620, in main
argv = expand_file_arguments(argv or sys.argv[1:])
File "/opt/esp/python_env/idf5.1_py3.8_env/lib/python3.8/site-packages/esptool/__init__.py", line 882, in expand_file_arguments
with open(arg[1:], "r") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'flash_args'