floitsch
11/19/2025, 2:01 PMtoit SDK tool.addshore
11/19/2025, 2:01 PMError: failed to probe chip type: failed to probe chip type: exec: "esptool.py": executable file not found in %PATH%:floitsch
11/19/2025, 2:02 PMtoit toolfirmware tool esptool fails, then it falls back to esptool.py.
I guess we should just drop that fallback and print the error message.floitsch
11/19/2025, 2:03 PMaddshore
11/19/2025, 2:03 PMjag toit tool firmware tool esptool and toit tool firmware tool esptool seem to do something on this systemfloitsch
11/19/2025, 2:03 PMprintln(err.Error()) before line 193?floitsch
11/19/2025, 2:04 PMjag toit --output-format json tool firmware tool esptool -e unusedaddshore
11/19/2025, 2:04 PMaddshore
11/19/2025, 2:04 PMfloitsch
11/19/2025, 2:05 PMaddshore
11/19/2025, 2:05 PMjag toit tool firmware --envelope=foo tool esptool
Command: [C:/Users/adam/.cache/jaguar/sdk/bin/../lib/toit/bin/esptool.exe]
Version: esptool.py v4.8.1
4.8.1
and
toit tool firmware --envelope=foo tool esptool
Command: [C:/Users/adam/AppData/Local/Programs/toit/bin/../tools/esptool.exe]
Version: esptool.py v4.8.1
4.8.1floitsch
11/19/2025, 2:05 PMaddshore
11/19/2025, 2:06 PMjag flash
Error: failed to probe chip type: failed to probe chip type: exec: "esptool.py": executable file not found in %PATH%:
PS Microsoft.PowerShell.Core\FileSystem::\\wsl.localhost\Ubuntu\home\adam\dev\lb\io\toit-envelopes>floitsch
11/19/2025, 2:06 PMerr.addshore
11/19/2025, 2:06 PMaddshore
11/19/2025, 2:07 PMtoit tool firmware --output-format json tool esptool -e unused
{"command":["C:/Users/adam/AppData/Local/Programs/toit/bin/../tools/esptool.exe"],"version":"esptool.py v4.8.1\r\n4.8.1\r\n"}kasperl
11/19/2025, 2:08 PMjag? Make sure you're not being burnt by JAG_TOIT_REPO_PATH.addshore
11/19/2025, 2:08 PMkasperl
11/19/2025, 2:08 PMfloitsch
11/19/2025, 2:08 PMjag toit ....addshore
11/19/2025, 2:08 PMtoit tool firmware --output-format json tool esptool -e unused --port COM14 chip-id
Error: Unknown option: --port ?floitsch
11/19/2025, 2:09 PMfloitsch
11/19/2025, 2:09 PMaddshore
11/19/2025, 2:09 PMfloitsch
11/19/2025, 2:09 PMaddshore
11/19/2025, 2:09 PMcmd := sdk.EspTool(ctx, "--port", port, "chip-id") is what is being run, which I think results in the command above?floitsch
11/19/2025, 2:10 PMprintln(err.Error()) is what we need to add to figure out why it's not working.floitsch
11/19/2025, 2:10 PMcmd := is already after.floitsch
11/19/2025, 2:11 PM--chip=esp32c6 (or whatever your chip is). Then it skips the probing.floitsch
11/19/2025, 8:54 PM