Closed grantroux closed 8 months ago
Which ESP-IDF framework version are you using? 4.3.x is the safest option.
$I
outputs the version in the DRIVER OPTIONS
line if you do not know.
I have tried the following ESP-IDF's with no success:
ESP-IDF 4.2.0 (compile error)
ESP-IDF 4.3.2
ESP-IDF 4.4.3
ESP-IDF 5.1.2 (compile error)
Here is my output from $I
(after disabling telnet and websockets):
[VER:1.1f.20240115:]
[OPT:VNSL,100,1024,3,0]
[AXS:3:XYZ]
[NEWOPT:ENUMS,RT+,REBOOT,SED,RTC,WIFI,SD]
[FIRMWARE:grblHAL]
[SIGNALS:RHS]
[NVS STORAGE:*FLASH]
[FREE MEMORY:180K]
[DRIVER:ESP32]
[DRIVER VERSION:240114]
[DRIVER OPTIONS:4.3.2]
[BOARD:Macrobase 6-axis]
[WIFI MAC:34:98:7a:65:dd:64]
[IP:192.168.0.113]
[PLUGIN:SDCARD v1.12]
[PLUGIN:FS macro plugin v0.06]
ok
I have also tried various platforms in my platformio.ini
:
platform =
espressif32 @ ~4.0.0 # (original)
; espressif32 @ ~5.3.0
; espressif32 @ ~6.5.0 # (breaking changes)
platform_packages =
; framework-espidf@~3.40200.0 # ESP-IDF 4.2.0
framework-espidf@~3.40302.0 # ESP-IDF 4.3.2
; framework-espidf@~3.40403.0 # ESP-IDF 4.4.3
framework = espidf
board = esp32dev
Post the board map for me to try with. If it works for me I'll upload the binaries for you to test with.
Thanks! Please find them attached.
my_machine.txt my_machine_map.txt
_(Derived from this FluidNC file by the manufacturer: 6_Pack_stepstick_XYZABC.yaml)_
Here you go:
GrblHAL 1.1f ['$' or '$HELP' for help]
[MSG:WIFI STA ACTIVE, IP=10.0.0.82]
[VER:1.1f.20240118:]
[OPT:VNSL,100,1024,3,0]
[AXS:3:XYZ]
[NEWOPT:ENUMS,RT+,REBOOT,SED,RTC,WIFI,SD]
[FIRMWARE:grblHAL]
[SIGNALS:RHS]
[NVS STORAGE:*FLASH]
[FREE MEMORY:176K]
[DRIVER:ESP32]
[DRIVER VERSION:240119]
[DRIVER OPTIONS:v4.4.6-dirty]
[BOARD:Macrobase 6-axis]
[WIFI MAC:e4:65:b8:19:b5:b0]
[IP:10.0.0.82]
[PLUGIN:SDCARD v1.12]
[PLUGIN:FS macro plugin v0.06]
ok
[MSG:WIFI AP SCAN COMPLETED]
Running on a "naked" dev board.
That works (i.e. no more errors) on my board too!? Thank you @terjeio.
I will try to build without PlatformIO or investigate other possible causes. You have pointed me in the right direction.
Hi @terjeio,
Firstly, this is an awesome project, thanks!
I connect to my network successfully when
WIFI_ENABLE
is1
. However, as soon as I setWEBSOCKET_ENABLE
orTELNET_ENABLE
then I get the following error:My board was purchased from AliExpress and manufactured by Macrobase-tech. It has a ESP32-WROOM-32 and came pre-installed with Grbl_ESP32 / FluidNC. Here is the link: https://www.aliexpress.com/item/1005004644140352.html . I'm compiling in Visual Studio Code using PlatformIO on a Windows 11 machine.
I have not made any changes to
CMakeLists.txt
and none were required ingrbl/config.h
. Here is mymy_machine.h
:Here is my boot log and everything immediately before the error log (above):
I appreciate any advice / guidance that you may have.
Please let me know if I can provide any more information.