Installing and setting up of ESP32 toolchain

For general Flowcode discussion that does not belong in the other sections.
jandidden
Posts: 113
http://meble-kuchenne.info.pl
Joined: Mon Feb 13, 2023 7:56 pm
Has thanked: 28 times
Been thanked: 12 times

Re: Installing and setting up of ESP32 toolchain

Post 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

mnfisher
Valued Contributor
Posts: 1453
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 135 times
Been thanked: 707 times

Re: Installing and setting up of ESP32 toolchain

Post 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

chipfryer27
Valued Contributor
Posts: 1528
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 353 times
Been thanked: 549 times

Re: Installing and setting up of ESP32 toolchain

Post by chipfryer27 »

Hi

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

jandidden
Posts: 113
Joined: Mon Feb 13, 2023 7:56 pm
Has thanked: 28 times
Been thanked: 12 times

Re: Installing and setting up of ESP32 toolchain

Post 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

mnfisher
Valued Contributor
Posts: 1453
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 135 times
Been thanked: 707 times

Re: Installing and setting up of ESP32 toolchain

Post by mnfisher »

What did you do to break it??

jandidden
Posts: 113
Joined: Mon Feb 13, 2023 7:56 pm
Has thanked: 28 times
Been thanked: 12 times

Re: Installing and setting up of ESP32 toolchain

Post by jandidden »

I left it alone for a few days, then it was broken. Maybe bugs ate it?

Jan

BenR
Matrix Staff
Posts: 1926
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 501 times
Been thanked: 686 times

Re: Installing and setting up of ESP32 toolchain

Post 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.

jandidden
Posts: 113
Joined: Mon Feb 13, 2023 7:56 pm
Has thanked: 28 times
Been thanked: 12 times

Re: Installing and setting up of ESP32 toolchain

Post 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

mnfisher
Valued Contributor
Posts: 1453
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 135 times
Been thanked: 707 times

Re: Installing and setting up of ESP32 toolchain

Post 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

chipfryer27
Valued Contributor
Posts: 1528
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 353 times
Been thanked: 549 times

Re: Installing and setting up of ESP32 toolchain

Post 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

Post Reply