Skip to content

Can the GUI be updated to use the latest esptool? #2

@eshattow

Description

@eshattow

From RTK Firmware Uploader v1.5.2 when used with RTK_Surveyor_Firmware_v3_10.bin:

Detecting flash size


______________________________________________________________________
ESP32 Flash Size Detection

Command:	['--chip', 'esp32', '--port', '/dev/ttyUSB0', '--baud', '460800', '--before', 'default_reset', '--after', 'no_reset', 'flash_id']

esptool.py v3.3
Serial port /dev/ttyUSB0
Connecting......................................

Flash detection complete. Uploading firmware...
Flash size not detected! Defaulting to 16MB

Uploading firmware

______________________________________________________________________
ESP32 Firmware Upload

Command:	['--chip', 'esp32', '--port', '/dev/ttyUSB0', '--baud', '460800', '--before', 'default_reset', '--after', 'no_reset', 'write_flash', '-z', '--flash_mode', 'dio', '--flash_freq', '80m', '--flash_size', 'detect', '0x1000', '/home/es/software/pubscm/SparkFun_RTK_Firmware_Uploader.git/RTK_Firmware_Uploader/resource/RTK_Surveyor.ino.bootloader.bin', '0x8000', '/home/es/software/pubscm/SparkFun_RTK_Firmware_Uploader.git/RTK_Firmware_Uploader/resource/RTK_Surveyor_Partitions_16MB.bin', '0xe000', '/home/es/software/pubscm/SparkFun_RTK_Firmware_Uploader.git/RTK_Firmware_Uploader/resource/boot_app0.bin', '0x10000', '/home/es/software/pubscm/SparkFun_RTK_Firmware_Binaries.git/RTK_Surveyor_Firmware_v3_10.bin']

esptool.py v3.3
Serial port /dev/ttyUSB0
Connecting......................................

Firmware upload complete. Resetting ESP32...
Resetting ESP32

______________________________________________________________________
ESP32 Reset

Command:	['--chip', 'esp32', '--port', '/dev/ttyUSB0', '--before', 'default_reset', 'run']

esptool.py v3.3
Serial port /dev/ttyUSB0
Connecting......................................

Reset complete...

I've tried all three listed baud rates (115200, 460800, 921600) but the outcome is the same. See sparkfun/SparkFun_RTK_Firmware#361 and sparkfun/SparkFun_RTK_Firmware#266 it is the same hardware. Is there no way to do this with the GUI?

Additionally I tried:

SparkFun_RTK_Firmware_Uploader.git/RTK_Firmware_Uploader$ sudo python3 esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0x1000 resource/RTK_Surveyor.ino.bootloader.bin 0x8000 resource/RTK_Surveyor_Partitions_4MB.bin 0xe000 resource/boot_app0.bin 0x10000 ../../SparkFun_RTK_Firmware_Binaries.git/RTK_Surveyor_Firmware_v3_10.bin 
esptool.py v3.3
Serial port /dev/ttyUSB0
Connecting......................................

A fatal error occurred: Failed to connect to ESP32: Wrong boot mode detected (0x13)! The chip needs to be in download mode.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions