ESP32/S2/S3 LinuxCNC Controller (6 axis hardware step gen), USB plug-and-play

More
1 year 10 months ago - 1 year 10 months ago #317352 by beauxnez
hello
 I have 3 cards for 3d printer BTT skr1.4 turbo, MKS tinybee too mard of the parallel port
 is it possible to make my cutter work with qtplasmac with this kind of card?
Last edit: 1 year 10 months ago by beauxnez.

Please Log in or Create an account to join the conversation.

More
1 year 10 months ago - 1 year 10 months ago #317544 by Trihwangyudi1990
rmii dont work with lolin s2 mini, have message :A fatal error occurred: This chip is ESP32-S2 not ESP32. Wrong --chip argument?have anyone succes with esp32 s2 or s3 board?image missing /media/kunena/emoticons/unsure.png
Last edit: 1 year 10 months ago by Trihwangyudi1990. Reason: add some reasson

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago #319958 by beauxnez
Hello
 I am trying to compile the code with an esp32 but I have an error message?

 

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago #319968 by Trihwangyudi1990
check your config.h file.. some case have to change Eth.h with ETH.h , have full message from platformio?

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago #320008 by beauxnez
thanks I changed to ETH.h same problem

Processing esp32-rmii-ethernet (platform: espressif32@6.5.0; board: esp32dev; framework: arduino)
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 (6.5.0) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
- framework-arduinoespressif32 @ 2.0.14+sha.44da992
- tool-esptoolpy @ 1.40501.0 (4.5.1)
- toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
LDF: Library Dependency Finder -> bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 42 compatible libraries
Scanning dependencies...
Dependency Graph
|-- FastAccelStepper @ 0.30.15
|-- ESP32Ping @ 1.7.0
|-- AsyncTCP @ 1.1.1
|-- ESP32Encoder @ 0.11.7
|-- WiFi @ 2.0.0
|-- ArduinoNvs @ 2.8.0
|-- ESP32Console @ 1.2.2
|-- ArduinoOTA @ 2.0.0
|-- Ethernet @ 2.0.0
|-- Ticker @ 2.0.0
|-- ESP32 Async UDP @ 2.0.0
Building in release mode
Compiling .pio\build\esp32-rmii-ethernet\src\ClientMode.cpp.o
Compiling .pio\build\esp32-rmii-ethernet\src\ConfigManager.cpp.o
Compiling .pio\build\esp32-rmii-ethernet\src\ConsoleMenus.cpp.o
Compiling .pio\build\esp32-rmii-ethernet\src\ControllerMode.cpp.o
Compiling .pio\build\esp32-rmii-ethernet\src\I2SOut.cpp.o
xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory
Compiling .pio\build\esp32-rmii-ethernet\src\Pins.cpp.o
xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory
*** [.pio\build\esp32-rmii-ethernet\src\ConfigManager.cpp.o] Error 1
*** [.pio\build\esp32-rmii-ethernet\src\ClientMode.cpp.o] Error 1
xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory
*** [.pio\build\esp32-rmii-ethernet\src\ConsoleMenus.cpp.o] Error 1
xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory
*** [.pio\build\esp32-rmii-ethernet\src\ControllerMode.cpp.o] Error 1
xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory
*** [.pio\build\esp32-rmii-ethernet\src\I2SOut.cpp.o] Error 1
xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory
*** [.pio\build\esp32-rmii-ethernet\src\Pins.cpp.o] Error 1
=========================================================================================== [FAILED] Took 4.53 seconds ===========================================================================================

Processing esp32-spi-ethernet (platform: espressif32@6.5.0; board: esp32dev; framework: arduino)
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 (6.5.0) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
- framework-arduinoespressif32 @ 2.0.14+sha.44da992
- tool-esptoolpy @ 1.40501.0 (4.5.1)
- toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
LDF: Library Dependency Finder -> bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 43 compatible libraries
Scanning dependencies...
Dependency Graph
|-- FastAccelStepper @ 0.30.15
|-- AsyncTCP @ 1.1.1
|-- AsyncUDP_ESP32_Ethernet @ 2.1.0
|-- WebServer_ESP32_W5500 @ 1.5.3
|-- WebServer_ESP32_W6100 @ 1.5.3
|-- WebServer_ESP32_ENC @ 1.5.3
|-- ESP32Encoder @ 0.11.7
|-- ESP32Ping @ 1.7.0
|-- WiFi @ 2.0.0
|-- ArduinoNvs @ 2.8.0
|-- ESP32Console @ 1.2.2
|-- ArduinoOTA @ 2.0.0
|-- Ethernet @ 2.0.0
|-- Ticker @ 2.0.0
|-- ESP32 Async UDP @ 2.0.0
Building in release mode
Compiling .pio\build\esp32-spi-ethernet\src\ClientMode.cpp.o
Compiling .pio\build\esp32-spi-ethernet\src\ConfigManager.cpp.o
xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory
xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory
Compiling .pio\build\esp32-spi-ethernet\src\ConsoleMenus.cpp.o
*** [.pio\build\esp32-spi-ethernet\src\ClientMode.cpp.o] Error 1
*** [.pio\build\esp32-spi-ethernet\src\ConfigManager.cpp.o] Error 1
xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory
*** [.pio\build\esp32-spi-ethernet\src\ConsoleMenus.cpp.o] Error 1
=========================================================================================== [FAILED] Took 5.00 seconds ===========================================================================================

Processing esp32-wokwi-simulator (platform: espressif32@6.5.0; board: esp32dev; framework: arduino)
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 (6.5.0) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (custom) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
- framework-arduinoespressif32 @ 2.0.14+sha.44da992
- tool-esptoolpy @ 1.40501.0 (4.5.1)
- toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
LDF: Library Dependency Finder -> bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 42 compatible libraries
Scanning dependencies...
Dependency Graph
|-- FastAccelStepper @ 0.30.15
|-- AsyncTCP @ 1.1.1
|-- ESP32Encoder @ 0.11.7
|-- ESP32Ping @ 1.7.0
|-- WiFi @ 2.0.0
|-- ArduinoNvs @ 2.8.0
|-- ESP32Console @ 1.2.2
|-- ArduinoOTA @ 2.0.0
|-- Ethernet @ 2.0.0
|-- Ticker @ 2.0.0
|-- ESP32 Async UDP @ 2.0.0
Building in debug mode
Compiling .pio\build\esp32-wokwi-simulator\src\ClientMode.cpp.o
Compiling .pio\build\esp32-wokwi-simulator\src\ConfigManager.cpp.o
Compiling .pio\build\esp32-wokwi-simulator\src\ConsoleMenus.cpp.o
Compiling .pio\build\esp32-wokwi-simulator\src\ControllerMode.cpp.o
xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory
xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory
Compiling .pio\build\esp32-wokwi-simulator\src\I2SOut.cpp.o
*** [.pio\build\esp32-wokwi-simulator\src\ClientMode.cpp.o] Error 1
*** [.pio\build\esp32-wokwi-simulator\src\ConfigManager.cpp.o] Error 1
xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory
*** [.pio\build\esp32-wokwi-simulator\src\ConsoleMenus.cpp.o] Error 1
xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory
*** [.pio\build\esp32-wokwi-simulator\src\ControllerMode.cpp.o] Error 1
xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory
*** [.pio\build\esp32-wokwi-simulator\src\I2SOut.cpp.o] Error 1
=========================================================================================== [FAILED] Took 3.96 seconds ===========================================================================================

Environment Status Duration


esp32-rmii-ethernet FAILED 00:00:04.525
esp32-spi-ethernet FAILED 00:00:05.000
esp32-wokwi-simulator FAILED 00:00:03.956
===================================================================================== 3 failed, 0 succeeded in 00:00:13.482 =====================================================================================

* The terminal process "C:\Users\HP-ELITEONE\.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago #320013 by michaeln
I don't had this problem.

But additional to the ETH.h - problem i had to change in ClientMode.cpp:

From    ESP32Encoder::useInternalWeakPullResistors = puType::UP;
to    ESP32Encoder::useInternalWeakPullResistors = puType::up;

 

Please Log in or Create an account to join the conversation.

Time to create page: 0.177 seconds
Powered by Kunena Forum