Page 3 of 7

Re: Installing and setting up of ESP32 toolchain

Posted: Thu May 18, 2023 9:00 am
by jandidden
I don't know Martin. I appreciate very much your help, but I doubt I want to run this project this way.
In psychology they have a name for people who do the same thing over and over again, hoping that, magically, someday the result will be different.
They are often placed in nice white shiny buildings and called 'patients' :shock:

I really need to rethink all this. Even if I get it to work today, what's the chance it will still work tomorrow?
I already had it working, and it just broke for whatever reason.
This is not going to get better until someone in the driving seat puts his shoulders into it and fixes it once and for all.

Depressed in Belgium.

Jan

Re: Installing and setting up of ESP32 toolchain

Posted: Thu May 18, 2023 2:59 pm
by mnfisher
Once it is working it's good...
Hopefully we're actually doing something slightly different each time - was it einstein who said doing the same thing over and over again and expecting different results is insanity - especially with computers where reproducibility is surely key to their usefulness? ..
My reason for the last post - if you'd tried version 5 then going back to v4 wasn't as simple as expected 😕

Martin

Re: Installing and setting up of ESP32 toolchain

Posted: Thu May 18, 2023 3:14 pm
by chipfryer27
Hi

Any time I visit Brugge the same thing always happens although I tell my girlfriend it won't......... :lol: :lol:

Re: Installing and setting up of ESP32 toolchain

Posted: Thu May 18, 2023 3:55 pm
by jandidden
mnfisher wrote: ↑
Thu May 18, 2023 2:59 pm
Once it is working it's good...
It was. I have a working module with running software to prove it.
Then it broke.

Jan

Re: Installing and setting up of ESP32 toolchain

Posted: Thu May 18, 2023 5:47 pm
by mnfisher
What did you do to break it??

Re: Installing and setting up of ESP32 toolchain

Posted: Thu May 18, 2023 6:58 pm
by jandidden
I left it alone for a few days, then it was broken. Maybe bugs ate it?

Jan

Re: Installing and setting up of ESP32 toolchain

Posted: Fri May 19, 2023 1:43 pm
by BenR
Hello,

Is it worth trying the offline installation direct from Espressif?
https://dl.espressif.com/dl/idf-install ... -4.1.4.exe?

Hopefully this should create a working environment for you. I need access to a clean PC and then I'll see if there is something available now that makes things easier to get installed.

Re: Installing and setting up of ESP32 toolchain

Posted: Tue May 23, 2023 11:30 am
by jandidden
Got a nice little NUC pc for another purpose, Win11 Pro, totally virgin.
Installed the Chrome browser, FC10 and the ESP toolchain following the procedure to the letter.
CMake fail as I've seen a zillion times.

Jan

Re: Installing and setting up of ESP32 toolchain

Posted: Tue May 23, 2023 2:54 pm
by mnfisher
One last try before we give it up as a bad job?

Can you try running the v4 or v5 script (see viewtopic.php?f=6&t=1570&start=20) depending on which version you installed. You might need to change the directory for the chdir command..

I'd volunteer to connect with pc anywhere (there is something built into windows?) or similar and have a go - though obviously flying to Belgium would be preferable?

Martin

Re: Installing and setting up of ESP32 toolchain

Posted: Tue May 23, 2023 5:51 pm
by chipfryer27
Hi

Sorry Jan, you might not want to read this.

Installed W10 Pro on a SFF machine, much like yours I guess. Got rid of the "useless and unwanted" stuff and ran a Registry Cleaner.
Downloaded / Installed FC10 and did full update.
Installed ESP Toolchain as per Martin's email etc (v5).
All good so far. I did tick the enable long path names during install and added to path when asked and also allowed espressif to modify Defender for faster compilation. I hadn't seen that request before.

I then created a chart for an ESP32WROOM. You may remember from a previous post that I created a couple of test charts, compiling to FCv10 using IDFv4 and also on a machine running FC10 and IDFv5. The chart would hopefully connect to my SSID without / with SSD1306 based display for testing purposes. Running v5 it would connect to my SSID but if I then added in the display it messed up, but still compiled etc. Just wouldn't connect.

This chart simply repeatedly flashed a message on the display, compiled fine and I'd no need to push any buttons to instigate the download. I then added in the WLAN component and initialised. This again compiled without issue and ran. I then added in the command to connect to my SSID. Ths previously would compile but would not run at all.

I compiled to target and I got a Fatal Error. Can't remember exact details but it did mention Cmake. Looking further through the message I saw that it couldn't connect to chip, bootloader issue or something. I again recompiled to chip keeping a closer eye on things and when it attempted to connect to the chip I pressed the onboard button which allowed connection. The chart loaded fine and very much to my surprise it also ran, connecting to my SSID.

This is an improvement since I last tried and may be due to component updates (?).

Really don't know what to say regarding your issues as I can't seem to replicate.

Regards