Command not found: esptool

Having an issue when running esptool chip_id

brew, python, pip3 all installed, but the esptool chip_id command returns “command not found: esptool”

Any tips?

For more context, when running ./device-install.sh -f firmware-BOARD-VERSION.bin return is

Trying to flash firmware-xxx.bin, but first erasing and writing system information

esptool.py v3.2

Found 2 serial ports

Serial port /dev/cu.usbmodemxxx

Connecting…

Detecting chip type… Unsupported detection protocol, switching and trying again…

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: xxx

Uploading stub…

A fatal error occurred: Failed to write to target RAM (result was 01070000: Operation timed out)

If i am running on USB power only (no battery installed), might this be causing the issue?

you’re just missing the path to esptool, it is running on the script.

no.

may sound silly, but try different cables, that is a common source of problems.

1 Like

What’s best way to reset esptool path, i.e. what’s the correct path in order to run?

Thanks for that, tried with another few cables and now my error is

Error putting ESP in stub flash mode: Failed to write to target RAM (result was 01070000: Operation timed out)

Is this a writeable issue?