Unable to flash to ESP32
# help
j
I try with command jag flash -p COM8 and the answer is "Error: the path 'C:\Users\jose\.cache\jaguar\sdk\tools\esptool' did not hold the esptool.", the problem is thart Win10 uses the word (spanish) Usuarios not he (english) Users, and I don't to know how to solve the problem
f
Thanks for the feedback.
Let me see if there is a way to let Jaguar know where to find the cache.
Do you know if
jag setup
worked?
Is there something in
c:\Usarios\jose\.cache\jaguar
?
It's also weird, that there isn't any
\
between
jose
and
.cache
.
j
i think jag set up is ok, but the path used by jag flash is C:\Users\jose.cache\jaguar\sdk\tools\esptool
then the problem is taht my win10 is using spanish and the true directory is in spanish c:\usuarios\jose\.cache....
excuse mem the path used by jag flash is C:\Users\jose\.cache\jaguar\sdk\tools\esptool
f
I will look into this in a few minutes.
If one works but not the other it might just be a mistake (hard coded path)
j
and the true path in spanish is C:\Usuarios\jose\.cache\jaguar\sdk\tools\esptool
f
Ok. I'm back at the computer and looking into it now.
I'm looking at the code right now, and the
setup
function is using the same method to get the cache directory than
flash
. Could you verify once more if
C:\Usuarios\jose.cache\jaguar\
contains an sdk directory with some files in it?
If it's not there, or if it's empty, then that would make more sense to me. In the meantime, I will research why we get the wrong path in the first place.
j
the path in the desktop is "C:\Users\jose\.cache\jaguar\sdk\tools" , perhaps the problem is that you write "\jose.cache\" but jag setup write "C:\Users\jose\.cache\...." please note the "\ "betwenn jose and .cache
the sdk directory contains the files esptools and so on
f
Thanks for looking. I can see now where this might go wrong.
If the home-environment variable doesn't end with a
\
and we assume it does in some places, then things could go wrong.
Checking.
j
excuse me my mistake, the path in the destops is "C:\Users\jose\.cache\jaguar\sdk\tools"
please the path in desktop is C:\Users\jose\.cache\jaguar\sdk\tools
f
Feel free to edit your old messages if something isn't right.
j
i dont understand , the editor change the path when i write , the path in my desktop is "C:\Users\jose\.cache\jaguar\sdk\tools"
f
Try to use backticks.
"`"
Hopefully Discord is a bit less aggressive in replacing it then.
j
please set a "\" between "jose" and ".cache"
f
Understood.
j
set a backslash
f
Can you just confirm that the error message is indeed
Error: the path 'C:\Users\jose.cache\jaguar\sdk\tools\esptool' did not hold the esptool.
That is, that the error message does not have a
\
in its error message.
j
just it
f
Clearly, Discord is removing the
\
. Just want to be sure that path comes from the tool.
j
f
Thanks 🙂
Could you run
jag setup --check
?
j
answer: Jaguar setup is valid
f
Could you have a look and see if
C:\Users\jose\.cache\jaguar\sdk\tools\esptool
exists?
Just in case
esptool
is in the wrong place.
I think we know the problem now.
We are trying to find
esptool
but are not adding the
.exe
extension for Windows.
Give us a few minutes and we will create a new Jaguar release.
Big thanks for letting us know.
j
thank you very much. Now I m leaving the the office now. I'll be back i about 2 hours
f
We should have something ready by then.
j
👍
Jaguar v1.7.5 is out with a (potential) fix for this issue!
j
now is another error: This chip is ESP32-S2 not ESP32
f
Aah.
We only started working on the S2.
It's not ready yet.
I received our boards yesterday.
Tried to get it working, but haven't succeeded yet. (Other more urgent issues).
j
ok
f
Do you have any other ESP32?