Page 1 of 1

Flowcode11 failed to intialise WiFi

Posted: Thu Dec 11, 2025 12:53 pm
by JohnF
My test program fails when run on chip but passes in simulator, The program is test yto see if WiFi initialisation has completed successfully
I recieve the below message. when compiled to chip. I am using free version off flowcode 11

[2/4] Performing build step for 'bootloader'
[1/1] cmd.exe /C "cd /D D:\Flowcode_v11\Compilers\esp32\mtxesp32s_sdkconfig\build\bootloader\esp-idf\esptool_py && "D:\Flowcode v11\Compilers\esp32\esp-tools\python_env\idf5.3_py3.11_env\Scripts\python.exe" "D:/Flowcode v11/Compilers/esp32/frameworks/esp-idf-v5.3.1/components/partition_table/check_sizes.py" --offset 0x8000 bootloader 0x1000 D:/Flowcode_v11/Compilers/esp32/mtxesp32s_sdkconfig/build/bootloader/bootloader.bin"
Bootloader binary size 0x6880 bytes. 0x780 bytes (7%) free.
error: unexpected format of input section ".init 0x40080400 0x3 D:/Flowcode v11/Compilers/esp32/esp-tools/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/esp32/no-rtti/crti.o" at line 36959 in "Linker script and memory map" section in "D:\Flowcode_v11\Compilers\esp32\mtxesp32s_sdkconfig\build\esp-project.map" map file
CMake Error at D:/Flowcode v11/Compilers/esp32/frameworks/esp-idf-v5.3.1/tools/cmake/run_size_tool.cmake:42 (message):
D:/Flowcode
v11/Compilers/esp32/esp-tools/python_env/idf5.3_py3.11_env/Scripts/python.exe;-m;esp_idf_size
failed
[0/1] cmd.exe /C "cd /D D:\Flowcode_v11\Compilers\esp32\mtxesp32s_sdkconfig\build && "D:\Flowcode v11\Compilers\esp32\esp-tools\tools\cmake\3.24.0\bin\cmake.exe" -D "IDF_SIZE_TOOL=D:/Flowcode v11/Compilers/esp32/esp-tools/python_env/idf5.3_py3.11_env/Scripts/python.exe;-m;esp_idf_size" -D MAP_FILE=D:/Flowcode_v11/Compilers/esp32/mtxesp32s_sdkconfig/build/esp-project.map -D OUTPUT_JSON= -P "D:/Flowcode v11/Compilers/esp32/frameworks/esp-idf-v5.3.1/tools/cmake/run_size_tool.cmake""
FAILED: CMakeFiles/size D:/Flowcode_v11/Compilers/esp32/mtxesp32s_sdkconfig/build/CMakeFiles/size
cmd.exe /C "cd /D D:\Flowcode_v11\Compilers\esp32\mtxesp32s_sdkconfig\build && "D:\Flowcode v11\Compilers\esp32\esp-tools\tools\cmake\3.24.0\bin\cmake.exe" -D "IDF_SIZE_TOOL=D:/Flowcode v11/Compilers/esp32/esp-tools/python_env/idf5.3_py3.11_env/Scripts/python.exe;-m;esp_idf_size" -D MAP_FILE=D:/Flowcode_v11/Compilers/esp32/mtxesp32s_sdkconfig/build/esp-project.map -D OUTPUT_JSON= -P "D:/Flowcode v11/Compilers/esp32/frameworks/esp-idf-v5.3.1/tools/cmake/run_size_tool.cmake""
ninja: build stopped: subcommand failed.

my simple programe.
----------------------------------------
gLCD_ILI9341_SPI1::Initialise()
----------------------------------------

----------------------------------------

----------------------------------------

----------------------------------------
Connected = "Wifi Unintialised"
----------------------------------------

----------------------------------------
gLCD_ILI9341_SPI1::Print(Connected, 5, 10, 0, 0)
----------------------------------------

----------------------------------------
While Connect = 0
<LOOP>

----------------------------------------
Connect=WLAN_ESP32::Initialise()
----------------------------------------

----------------------------------------
10 ms
----------------------------------------

----------------------------------------
If Connect = 1 ?
<TRUE BRANCH>

----------------------------------------
Connected = "Wifi intialised "
----------------------------------------

----------------------------------------
gLCD_ILI9341_SPI1::Print(Connected, 5, 10, 0, 0)
----------------------------------------

</TRUE BRANCH>


<FALSE BRANCH>

</FALSE BRANCH>
----------------------------------------

</LOOP>
----------------------------------------

----------------------------------------
gLCD_ILI9341_SPI1::Print("Completed", 5, 15, 0, 0)
----------------------------------------

Re: Flowcode11 failed to intialise WiFi

Posted: Thu Dec 11, 2025 2:16 pm
by BenR
Hi Jophn,

PLease can you attach your program and we will investigate what might be causing this.