Esp32sim是一款指令级模拟器,可在浏览器中直接执行ESP32固件1。该工具支持四种ESP32芯片型号——S3、C3、C6和经典ESP32——跨越两种CPU架构进行仿真1。用户可以在浏览器中运行真实的ROM、引导加载程序和未经修改的应用程序镜像1。
该项目采用MIT许可证开源,无需依赖云端服务或用户账户1。开发团队通过与真实硬件的对比测试验证了仿真器的准确性:ESP32-S3与真硬件JTAG进行3000步指令执行对比时零偏差1;ESP32-C3控制台输出中205行与真硬件相同1;ESP32-C6控制台输出中203行与真硬件相同1。
项目支持丰富的外设仿真能力,包括WiFi、GPIO、UART、计时器、SPI Flash和USB-CDC等1。此外还预配置了多个硬件板卡选项,涵盖Atech、Waveshare LCD、AMOLED和CAM等型号1。用户可直接通过浏览器访问https://mikroverk.github.io/esp32sim/使用该工具[1](#source-1)。
Esp32sim is an instruction-level emulator that enables users to run ESP32 firmware directly within a web browser without requiring cloud services or account setup. 1 The project supports four ESP32 SoC variants across two CPU architectures—the S3, C3, C6, and classic ESP32—and can execute unmodified real ROM images, second-stage bootloaders, and application firmware. 1 The emulator is accessible at https://mikroverk.github.io/esp32sim/ and is distributed under the MIT open source license. 1
Validation testing demonstrates the emulator's accuracy through comparisons with actual hardware. 1 ESP32-S3 instruction execution aligned with real hardware JTAG debugging with zero deviation across 3,000 steps, while ESP32-C3 and ESP32-C6 console output matched physical devices at rates of 205 out of 208 lines and 203 out of 204 lines respectively. 1 The simulator provides support for peripheral emulation including WiFi, GPIO, UART, timers, SPI Flash, and USB-CDC functionality. 1 Multiple hardware board configurations are also supported, covering options from manufacturers such as Atech, Waveshare with LCD, AMOLED, and camera modules. 1
评论
还没有评论,欢迎留下第一条。