ESP32 Soc Support

For general Flowcode discussion that does not belong in the other sections.
Post Reply
Oscar_T
Posts: 89
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 10:06 am
Location: Italy
Has thanked: 37 times
Been thanked: 10 times

ESP32 Soc Support

Post by Oscar_T »

Hello

I am considering to use for a new project esp32-s2 (56pin) only the soc.

I would like to understand
  • Does Flowocode properly support the soc?
  • Is there a program to download the compiled file inside the soc or do I have to replicate the usb uart bridge that is on the development boards?
The idea is to use the usb port for field updates

Thank you

BenR
Matrix Staff
Posts: 1952
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 510 times
Been thanked: 698 times

Re: ESP32 Soc Support

Post by BenR »

Hello,

We have not tested Flowcode with the S2 device. Hopefully it should work fine and will be supported in future but at the moment it is untested by us. I'll see if I can get my hands on a couple.

Using Flowcode with the ESP32 SoC i.e. the raw chip will be fine but yes you need to replicate the UART to USB bridge for programming. This could be done by bringing the nessisary pins to a connector on the board so you don't have to fit the USB to UART IC directly onto your circuit board.

Oscar_T
Posts: 89
Joined: Wed Dec 02, 2020 10:06 am
Location: Italy
Has thanked: 37 times
Been thanked: 10 times

Re: ESP32 Soc Support

Post by Oscar_T »

hello

i'm try to using this board ESP32-DevKitC-32E

https://www.mouser.it/ProductDetail/Esp ... WDrQ%3D%3D
but when i compiling
"Build Failed

C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat reported error code 0x1

Autoclose turned off
"

is this board not compatible?

Kind regards

BenR
Matrix Staff
Posts: 1952
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 510 times
Been thanked: 698 times

Re: ESP32 Soc Support

Post by BenR »

Hello

Please can you post your project file and I'll investigate for you.

Oscar_T
Posts: 89
Joined: Wed Dec 02, 2020 10:06 am
Location: Italy
Has thanked: 37 times
Been thanked: 10 times

Re: ESP32 Soc Support

Post by Oscar_T »

This is the project
Attachments
ESP32_003.fcfx
(64.6 KiB) Downloaded 476 times

medelec35
Matrix Staff
Posts: 2088
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 645 times
Been thanked: 703 times

Re: ESP32 Soc Support

Post by medelec35 »

Hi, Oscar_T
I have compiled your flowchart to hex successfully.
It could be an issue with your installation or you have not configured Flowcode correctly?
Have you followed this ESP32 Setup guide
With Flowcode setup have you got the ESP32 path, entered in Global, location tab?
Also you will need select Build ribbon & select Project Options.
At the bottom right, under Programming Port
Make sure you have the correct programming port selected and it not showing n/a
Could you also post a copy of the compiler text file.
The file called

Code: Select all

ESP32_003.msg.txt
and it's located in the same directory as your Flowchart.
Martin

Oscar_T
Posts: 89
Joined: Wed Dec 02, 2020 10:06 am
Location: Italy
Has thanked: 37 times
Been thanked: 10 times

Re: ESP32 Soc Support

Post by Oscar_T »

Hi Medelec

This problem I have only with this pcb which differs from the previous one for the final E

If I connect the old pcb everything is ok

Oscar_T
Posts: 89
Joined: Wed Dec 02, 2020 10:06 am
Location: Italy
Has thanked: 37 times
Been thanked: 10 times

Re: ESP32 Soc Support

Post by Oscar_T »

Hi all

Reading the compiler log carefully was a problem with a folder.

Everything seems to be working fine

medelec35
Matrix Staff
Posts: 2088
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 645 times
Been thanked: 703 times

Re: ESP32 Soc Support

Post by medelec35 »

Hi Oscar,
Glad you spotted the issue from the compiler text file.
Thanks for keeping us updated.
Martin

Post Reply