You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
clj -M -m esprit.flash --erase in powershell gives
clj -M -m esprit.flash --erase
Execution error (IOException) at java.lang.ProcessImpl/create (ProcessImpl.java:-2).
CreateProcess error=193, %1 is not a valid Win32 application
Full report at:
C:\Users\richie\AppData\Local\Temp\clojure-17993955824004058831.edn
{:clojure.main/message
"Execution error (IOException) at java.lang.ProcessImpl/create (ProcessImpl.java:-2).\r\nCreateProcess error=193, %1 is not a valid Win32 application\r\n",
:clojure.main/triage
{:clojure.error/class java.io.IOException,
:clojure.error/line -2,
:clojure.error/cause
"CreateProcess error=193, %1 is not a valid Win32 application",
:clojure.error/symbol java.lang.ProcessImpl/create,
:clojure.error/source "ProcessImpl.java",
:clojure.error/phase :execution},
:clojure.main/trace
{:via
[{:type java.io.IOException,
:message
"Cannot run program \"esptool.py\": CreateProcess error=193, %1 is not a valid Win32 application",
:at [java.lang.ProcessBuilder start "ProcessBuilder.java" 1141]}
{:type java.io.IOException,
:message
"CreateProcess error=193, %1 is not a valid Win32 application",
:at [java.lang.ProcessImpl create "ProcessImpl.java" -2]}],
:trace
[[java.lang.ProcessImpl create "ProcessImpl.java" -2]
[java.lang.ProcessImpl <init> "ProcessImpl.java" 492]
[java.lang.ProcessImpl start "ProcessImpl.java" 158]
[java.lang.ProcessBuilder start "ProcessBuilder.java" 1108]
[java.lang.ProcessBuilder start "ProcessBuilder.java" 1072]
[esprit.flash$run_and_print invokeStatic "flash.clj" 15]
[esprit.flash$run_and_print doInvoke "flash.clj" 14]
[clojure.lang.RestFn invoke "RestFn.java" 421]
[esprit.flash$erase invokeStatic "flash.clj" 25]
[esprit.flash$erase invoke "flash.clj" 20]
[esprit.flash$_main invokeStatic "flash.clj" 74]
[esprit.flash$_main doInvoke "flash.clj" 68]
[clojure.lang.RestFn applyTo "RestFn.java" 137]
[clojure.lang.Var applyTo "Var.java" 705]
[clojure.core$apply invokeStatic "core.clj" 667]
[clojure.main$main_opt invokeStatic "main.clj" 514]
[clojure.main$main_opt invoke "main.clj" 510]
[clojure.main$main invokeStatic "main.clj" 664]
[clojure.main$main doInvoke "main.clj" 616]
[clojure.lang.RestFn applyTo "RestFn.java" 137]
[clojure.lang.Var applyTo "Var.java" 705]
[clojure.main main "main.java" 40]],
:cause
"CreateProcess error=193, %1 is not a valid Win32 application"}}
I tried running all the steps manually but I ended up with a javascript repl instead of a clojure repl.
clj -M -m esprit.flash --erase
in powershell givesI tried running all the steps manually but I ended up with a javascript repl instead of a clojure repl.
python -m esptool erase_flash
success
then in mfikes\esprit\resources
python -m esptool --baud 2000000 write_flash 0x1000 bootloader.bin 0x8000 partitions_espruino.bin 0x10000 espruino_esp32.bin
success
then build main.bin with wifi and password
python -m esptool --baud 2000000 --port COM3 write_flash 0x320000 main.bin
success
pio device monitor -b 115200
I made a duplicate request for support here
Thanks for the cool stuff and thanks again for the help and support!
The text was updated successfully, but these errors were encountered: