retro-go icon indicating copy to clipboard operation
retro-go copied to clipboard

Retro Go won't progress past the loading screen

Open 6kevz45 opened this issue 3 months ago • 1 comments

When building the .img file to then flash it to the esp32s3-devkit-c (with the ili9341 screen), it stays on the hourglass screen, without advancing.

Image

Also, if it helps, when I run the command "python rg_tool.py --port=/dev/ttyUSB0 flash prboom-go" I get this error:

=== Step: Flashing ===

Reading device's partition table... Running command: esptool.py read_flash 0x8000 0x1000 partitions.bin esptool.py v4.9.0 Serial port /dev/ttyUSB0 Connecting.... Chip is ESP32-S3 (QFN56) (revision v0.2) Features: WiFi, BLE, Embedded PSRAM 8MB (AP_3v3) Crystal is 40MHz MAC: 10:20:ba:4d:92:4c Uploading stub... Running stub... Stub running... Changing baud rate to 1152000 Changed.

A fatal error occurred: Unable to verify flash chip connection (No serial data received.). Running command: gen_esp32part.py partitions.bin usage: gen_esp32part.py [-h] [--flash-size [{1MB,2MB,4MB,8MB,16MB,32MB,64MB,128MB}]] [--disable-md5sum] [--no-verify] [--verify] [--quiet] [--offset OFFSET] [--secure [{v1,v2}]] [--extra-partition-subtypes [EXTRA_PARTITION_SUBTYPES ...]] input [output] gen_esp32part.py: error: argument input: can't open 'partitions.bin': [Errno 2] No such file or directory: 'partitions.bin' Flashing 'prboom-go/build/prboom-go.bin' to port /dev/ttyUSB0 Running command: parttool.py --partition-table-file partitions.bin write_partition --partition-name prboom-go --input prboom-go/build/prboom-go.bin Traceback (most recent call last): File "/home/kevz/esp/v5.1.6/esp-idf/components/partition_table/parttool.py", line 358, in main() File "/home/kevz/esp/v5.1.6/esp-idf/components/partition_table/parttool.py", line 327, in main target = ParttoolTarget(**target_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/kevz/esp/v5.1.6/esp-idf/components/partition_table/parttool.py", line 88, in init with open(partition_table_file, 'rb') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'partitions.bin'

Task failed: Command '['parttool.py', '--partition-table-file', 'partitions.bin', 'write_partition', '--partition-name', 'prboom-go', '--input', 'prboom-go/build/prboom-go.bin']' returned non-zero exit status 1.

6kevz45 avatar Sep 09 '25 12:09 6kevz45

To find out why you're stuck on the the hourglass you would need to check the serial log as a first step. Any serial console will do but you can also use rg_tool.py monitor or idf.py monitor.

The second problem seems to be a serial issue but I'm assuming that you've flashed your .img over usb from the same computer? Did you use esptool.py directly? The first thing I would try is use a lower baudrate, eg python rg_tool.py --port=/dev/ttyUSB0 --baud=115200 flash prboom-go. If it works you can try your way up using multiples of 115200. I believe esptool.py uses 921600 by default.

ducalex avatar Sep 13 '25 19:09 ducalex