Starting to get frustrated

Please double check every single setting from the estlcam basics page. They are all very important. If those are set it makes things pretty fool proof.

2 Likes

looks like some progress here

Executing task: C:\Users\Mary.platformio\penv\Scripts\platformio.exe debug <

Processing LPC1768 (platform: https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/0.1.2.zip; board: nxp_lpc1768; framework: arduino)

Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: https://docs.platformio.org/page/boards/nxplpc-arduino-lpc176x/nxp_lpc1768.html
PLATFORM: NXP Arduino LPC176x 0.1.1 > NXP LPC1768
HARDWARE: LPC1768 100MHz, 31.97KB RAM, 464KB Flash
DEBUG: Current (cmsis-dap) On-board (cmsis-dap) External (blackmagic, jlink)
PACKAGES:

  • framework-arduino-lpc176x 0.2.2
  • toolchain-gccarmnoneeabi 1.90201.191206 (9.2.1)
    Converting Marlin.ino
    LDF: Library Dependency Finder → Library Dependency Finder (LDF) — PlatformIO latest documentation
    LDF Modes: Finder ~ off, Compatibility ~ strict
    Found 6 compatible libraries
    Scanning dependencies…
    Dependency Graph
    |-- 1.0.0
    |-- 1.0.0
    |-- 0.4.1
    |-- 0.6.2
    |-- 1.3.0
    |--
    Building in debug mode
    upload disk: F:
    Compiling .pio\build\LPC1768\src\src\HAL\HAL_LPC1768\DebugMonitor.cpp.o
    Compiling .pio\build\LPC1768\src\src\HAL\HAL_LPC1768\HAL.cpp.o
    Compiling .pio\build\LPC1768\src\src\HAL\HAL_LPC1768\HAL_SPI.cpp.o
    Compiling .pio\build\LPC1768\src\src\HAL\HAL_LPC1768\main.cpp.o
    Compiling .pio\build\LPC1768\src\src\HAL\HAL_LPC1768\persistent_store_flash.cpp.o
    Compiling .pio\build\LPC1768\src\src\HAL\HAL_LPC1768\persistent_store_sdcard.cpp.o
    Compiling .pio\build\LPC1768\src\src\HAL\HAL_LPC1768\timers.cpp.o
    Compiling .pio\build\LPC1768\src\src\HAL\HAL_LPC1768\u8g\u8g_com_HAL_LPC1768_hw_spi.cpp.o
    In file included from Marlin\src\HAL\HAL_LPC1768../…/core/…/inc/MarlinConfig.h:38,
    from Marlin\src\HAL\HAL_LPC1768../…/core/serial.h:24,
    from Marlin\src\HAL\HAL_LPC1768\DebugMonitor.cpp:26:
    Marlin\src\HAL\HAL_LPC1768../…/core/…/inc/SanityCheck.h:45:4: error: #error “You are using an old Configuration.h file, update it before building Marlin.”
    45 | #error “You are using an old Configuration.h file, update it before building Marlin.”
    | ^~~~~
    In file included from Marlin\src\HAL\HAL_LPC1768../…/core/…/inc/MarlinConfig.h:38,
    from Marlin\src\HAL\HAL_LPC1768../…/core/serial.h:24,
    from Marlin\src\HAL\HAL_LPC1768\DebugMonitor.cpp:26:
    Marlin\src\HAL\HAL_LPC1768../…/core/…/inc/SanityCheck.h:400:4: error: #error “POWER_SUPPLY is now obsolete. Please remove it from Configuration.h.”
    400 | #error “POWER_SUPPLY is now obsolete. Please remove it from Configuration.h.”
    | ^~~~~
    Marlin\src\HAL\HAL_LPC1768../…/core/…/inc/SanityCheck.h:1779:6: error: #error “Enable USE_YMAX_PLUG when homing Y to MAX.”
    1779 | #error “Enable USE_YMAX_PLUG when homing Y to MAX.”
    | ^~~~~
    In file included from Marlin\src\HAL\HAL_LPC1768../…/inc/MarlinConfig.h:38,
    from Marlin\src\HAL\HAL_LPC1768\HAL.cpp:25:
    Marlin\src\HAL\HAL_LPC1768../…/inc/SanityCheck.h:45:4: error: #error “You are using an old Configuration.h file, update it before building Marlin.”
    45 | #error “You are using an old Configuration.h file, update it before building Marlin.”
    | ^~~~~
    In file included from Marlin\src\HAL\HAL_LPC1768../…/inc/MarlinConfig.h:38,
    from Marlin\src\HAL\HAL_LPC1768\HAL.cpp:25:
    Marlin\src\HAL\HAL_LPC1768../…/inc/SanityCheck.h:400:4: error: #error “POWER_SUPPLY is now obsolete. Please remove it from Configuration.h.”
    400 | #error “POWER_SUPPLY is now obsolete. Please remove it from Configuration.h.”
    | ^~~~~
    Marlin\src\HAL\HAL_LPC1768../…/inc/SanityCheck.h:1779:6: error: #error “Enable USE_YMAX_PLUG when homing Y to MAX.”
    1779 | #error “Enable USE_YMAX_PLUG when homing Y to MAX.”
    | ^~~~~
    In file included from Marlin\src\HAL\HAL_LPC1768../…/inc/MarlinConfig.h:38,
    from Marlin\src\HAL\HAL_LPC1768\HAL_SPI.cpp:51:
    Marlin\src\HAL\HAL_LPC1768../…/inc/SanityCheck.h:45:4: error: #error “You are using an old Configuration.h file, update it before building Marlin.”
    45 | #error “You are using an old Configuration.h file, update it before building Marlin.”
    | ^~~~~
    In file included from Marlin\src\HAL\HAL_LPC1768../…/inc/MarlinConfig.h:38,
    from Marlin\src\HAL\HAL_LPC1768\HAL_SPI.cpp:51:
    Marlin\src\HAL\HAL_LPC1768../…/inc/SanityCheck.h:400:4: error: #error “POWER_SUPPLY is now obsolete. Please remove it from Configuration.h.”
    400 | #error “POWER_SUPPLY is now obsolete. Please remove it from Configuration.h.”
    | ^~~~~
    Marlin\src\HAL\HAL_LPC1768../…/inc/SanityCheck.h:1779:6: error: #error “Enable USE_YMAX_PLUG when homing Y to MAX.”
    1779 | #error “Enable USE_YMAX_PLUG when homing Y to MAX.”
    | ^~~~~
    In file included from Marlin\src\HAL\HAL_LPC1768../…/sd/…/inc/MarlinConfig.h:38,
    from Marlin\src\HAL\HAL_LPC1768../…/sd/cardreader.h:24,
    from Marlin\src\HAL\HAL_LPC1768\main.cpp:38:
    Marlin\src\HAL\HAL_LPC1768../…/sd/…/inc/SanityCheck.h:45:4: error: #error “You are using an old Configuration.h file, update it before building Marlin.”
    45 | #error “You are using an old Configuration.h file, update it before building Marlin.”
    | ^~~~~
    In file included from Marlin\src\HAL\HAL_LPC1768../…/sd/…/inc/MarlinConfig.h:38,
    from Marlin\src\HAL\HAL_LPC1768../…/sd/cardreader.h:24,
    from Marlin\src\HAL\HAL_LPC1768\main.cpp:38:
    Marlin\src\HAL\HAL_LPC1768../…/sd/…/inc/SanityCheck.h:400:4: error: #error “POWER_SUPPLY is now obsolete. Please remove it from Configuration.h.”
    400 | #error “POWER_SUPPLY is now obsolete. Please remove it from Configuration.h.”
    | ^~~~~
    Marlin\src\HAL\HAL_LPC1768../…/sd/…/inc/SanityCheck.h:1779:6: error: #error “Enable USE_YMAX_PLUG when homing Y to MAX.”
    1779 | #error “Enable USE_YMAX_PLUG when homing Y to MAX.”
    | ^~~~~
    In file included from Marlin\src\HAL\HAL_LPC1768../…/inc/MarlinConfig.h:38,
    from Marlin\src\HAL\HAL_LPC1768\persistent_store_flash.cpp:44:
    Marlin\src\HAL\HAL_LPC1768../…/inc/SanityCheck.h:45:4: error: #error “You are using an old Configuration.h file, update it before building Marlin.”
    45 | #error “You are using an old Configuration.h file, update it before building Marlin.”
    | ^~~~~
    In file included from Marlin\src\HAL\HAL_LPC1768../…/inc/MarlinConfig.h:38,
    from Marlin\src\HAL\HAL_LPC1768\persistent_store_flash.cpp:44:
    Marlin\src\HAL\HAL_LPC1768../…/inc/SanityCheck.h:400:4: error: #error “POWER_SUPPLY is now obsolete. Please remove it from Configuration.h.”
    400 | #error “POWER_SUPPLY is now obsolete. Please remove it from Configuration.h.”
    | ^~~~~
    Marlin\src\HAL\HAL_LPC1768../…/inc/SanityCheck.h:1779:6: error: #error “Enable USE_YMAX_PLUG when homing Y to MAX.”
    1779 | #error “Enable USE_YMAX_PLUG when homing Y to MAX.”
    | ^~~~~
    In file included from Marlin\src\HAL\HAL_LPC1768../…/inc/MarlinConfig.h:38,
    from Marlin\src\HAL\HAL_LPC1768\persistent_store_sdcard.cpp:29:
    Marlin\src\HAL\HAL_LPC1768../…/inc/SanityCheck.h:45:4: error: #error “You are using an old Configuration.h file, update it before building Marlin.”
    45 | #error “You are using an old Configuration.h file, update it before building Marlin.”
    | ^~~~~
    In file included from Marlin\src\HAL\HAL_LPC1768../…/inc/MarlinConfig.h:38,
    from Marlin\src\HAL\HAL_LPC1768\persistent_store_sdcard.cpp:29:
    Marlin\src\HAL\HAL_LPC1768../…/inc/SanityCheck.h:400:4: error: #error “POWER_SUPPLY is now obsolete. Please remove it from Configuration.h.”
    400 | #error “POWER_SUPPLY is now obsolete. Please remove it from Configuration.h.”
    | ^~~~~
    Marlin\src\HAL\HAL_LPC1768../…/inc/SanityCheck.h:1779:6: error: #error “Enable USE_YMAX_PLUG when homing Y to MAX.”
    1779 | #error “Enable USE_YMAX_PLUG when homing Y to MAX.”
    | ^~~~~
    In file included from Marlin\src\HAL\HAL_LPC1768../…/inc/MarlinConfig.h:38,
    from Marlin\src\HAL\HAL_LPC1768\timers.cpp:31:
    Marlin\src\HAL\HAL_LPC1768../…/inc/SanityCheck.h:45:4: error: #error “You are using an old Configuration.h file, update it before building Marlin.”
    45 | #error “You are using an old Configuration.h file, update it before building Marlin.”
    | ^~~~~
    In file included from Marlin\src\HAL\HAL_LPC1768../…/inc/MarlinConfig.h:38,
    from Marlin\src\HAL\HAL_LPC1768\timers.cpp:31:
    Marlin\src\HAL\HAL_LPC1768../…/inc/SanityCheck.h:400:4: error: #error “POWER_SUPPLY is now obsolete. Please remove it from Configuration.h.”
    400 | #error “POWER_SUPPLY is now obsolete. Please remove it from Configuration.h.”
    | ^~~~~
    Marlin\src\HAL\HAL_LPC1768../…/inc/SanityCheck.h:1779:6: error: #error “Enable USE_YMAX_PLUG when homing Y to MAX.”
    1779 | #error “Enable USE_YMAX_PLUG when homing Y to MAX.”
    | ^~~~~
    *** [.pio\build\LPC1768\src\src\HAL\HAL_LPC1768\HAL.cpp.o] Error 1
    *** [.pio\build\LPC1768\src\src\HAL\HAL_LPC1768\DebugMonitor.cpp.o] Error 1
    *** [.pio\build\LPC1768\src\src\HAL\HAL_LPC1768\HAL_SPI.cpp.o] Error 1
    *** [.pio\build\LPC1768\src\src\HAL\HAL_LPC1768\main.cpp.o] Error 1
    *** [.pio\build\LPC1768\src\src\HAL\HAL_LPC1768\timers.cpp.o] Error 1
    *** [.pio\build\LPC1768\src\src\HAL\HAL_LPC1768\persistent_store_flash.cpp.o] Error 1
    *** [.pio\build\LPC1768\src\src\HAL\HAL_LPC1768\persistent_store_sdcard.cpp.o] Error 1
    ============================================================================ [FAILED] Took 2.66 seconds ============================================================================

Environment Status Duration


megaatmega2560 IGNORED
megaatmega1280 IGNORED
rambo IGNORED
FYSETC_F6_13 IGNORED
FYSETC_F6_14 IGNORED
sanguino_atmega644p IGNORED
sanguino_atmega1284p IGNORED
melzi IGNORED
melzi_optiboot IGNORED
at90usb1286_cdc IGNORED
at90usb1286_dfu IGNORED
DUE IGNORED
DUE_USB IGNORED
DUE_debug IGNORED
LPC1768 FAILED 00:00:02.661
LPC1769 IGNORED
STM32F103RC IGNORED
STM32F103RC_fysetc IGNORED
STM32F103RC_bigtree IGNORED
STM32F103RC_bigtree_USB IGNORED
STM32F103RC_bigtree_512K IGNORED
STM32F103RC_bigtree_512K_USB IGNORED
STM32F103RE IGNORED
STM32F103RE_bigtree IGNORED
STM32F103RE_bigtree_USB IGNORED
STM32F4 IGNORED
STM32F7 IGNORED
ARMED IGNORED
STM32F103VE_GTM32 IGNORED
STM32F103VE_longer IGNORED
mks_robin_mini IGNORED
mks_robin_nano IGNORED
mks_robin IGNORED
mks_robin_pro IGNORED
mks_robin_lite IGNORED
mks_robin_lite3 IGNORED
jgaurora_a5s_a1 IGNORED
STM32F103CB_malyan IGNORED
chitu_f103 IGNORED
STM32F401VE_STEVAL IGNORED
FLYF407ZG IGNORED
FYSETC_S6 IGNORED
STM32F407VE_black IGNORED
BIGTREE_SKR_PRO IGNORED
BIGTREE_GTR_V1_0 IGNORED
BIGTREE_BTT002 IGNORED
teensy31 IGNORED
teensy35 IGNORED
esp32 IGNORED
linux_native IGNORED
SAMD51_grandcentral_m4 IGNORED
rumba32_f446ve IGNORED
rumba32_mks IGNORED
include_tree IGNORED
======================================================================= 1 failed, 0 succeeded in 00:00:02.661 =======================================================================
The terminal process terminated with exit code: 1

Terminal will be reused by tasks, press any key to close it.

This is the error that I am getting after I replaced the Configuration.h,Boards.h and

Guys these are my last few errors any ideas

#error “[XYZ]_PROBE_OFFSET_FROM_EXTRUDER is now NOZZLE_TO_PROBE_OFFSET. Please update your configuration.”
#error directive: “[XYZ]_PROBE_OFFSET_FROM_EXTRUDER is now NOZZLE_TO_PROBE_OFFSET. Please update your configuration.”
expression must have a constant value – cannot call non-constexpr function “strstr” (declared at line 48 of “C:\Users\Mary.platformio\packages\toolchain-gccarmnoneeabi\arm-none-eabi\include\string.h”)
#error “Enable USE_YMAX_PLUG when homing Y to MAX.”
#error directive: “Enable USE_YMAX_PLUG when homing Y to MAX.”

Where did you get the firmware? It is telling you you have the wrong configuration.

I don’t know what board this is but it is not any of mine so my firmware is not setup for it. It would probably be easier to use Arduino to flash at this point, more people are familiar with it than P.io

I managed to clear most of the errors and I am down to this last one
#error “Enable USE_YMAX_PLUG when homing Y to MAX.”
I did not know where to enable it or to find it . I am using the Skr 1.3 with TMC 2130.
Any help will be appreciated.

well I a manged to compile TT file

Executing task: C:\Users\Mary.platformio\penv\Scripts\platformio.exe debug <

Processing LPC1768 (platform: https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/0.1.2.zip; board: nxp_lpc1768; framework: arduino)

Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: https://docs.platformio.org/page/boards/nxplpc-arduino-lpc176x/nxp_lpc1768.html
PLATFORM: NXP Arduino LPC176x 0.1.1 > NXP LPC1768
HARDWARE: LPC1768 100MHz, 31.97KB RAM, 464KB Flash
DEBUG: Current (cmsis-dap) On-board (cmsis-dap) External (blackmagic, jlink)
PACKAGES:

  • framework-arduino-lpc176x 0.2.2
  • toolchain-gccarmnoneeabi 1.90201.191206 (9.2.1)
    Converting Marlin.ino
    LDF: Library Dependency Finder → Library Dependency Finder (LDF) — PlatformIO latest documentation
    LDF Modes: Finder ~ off, Compatibility ~ strict
    Found 6 compatible libraries
    Scanning dependencies…
    Dependency Graph
    |-- 1.0.0
    |-- 1.0.0
    |-- 0.4.1
    |-- 0.6.2
    |-- 1.3.0
    |--
    Building in debug mode
    upload disk: F:
    Checking size .pio\build\LPC1768\firmware.elf
    Advanced Memory Usage is available via “PlatformIO Home > Project Inspect”
    RAM: [==== ] 42.3% (used 13856 bytes from 32736 bytes)
    Flash: [==== ] 39.4% (used 187232 bytes from 475136 bytes)
    ============================================================================ [SUCCESS] Took 5.19 seconds ============================================================================

Environment Status Duration


megaatmega2560 IGNORED
megaatmega1280 IGNORED
rambo IGNORED
FYSETC_F6_13 IGNORED
FYSETC_F6_14 IGNORED
sanguino_atmega644p IGNORED
sanguino_atmega1284p IGNORED
melzi IGNORED
melzi_optiboot IGNORED
at90usb1286_cdc IGNORED
at90usb1286_dfu IGNORED
DUE IGNORED
DUE_USB IGNORED
DUE_debug IGNORED
LPC1768 SUCCESS 00:00:05.189
LPC1769 IGNORED
STM32F103RC IGNORED
STM32F103RC_fysetc IGNORED
STM32F103RC_bigtree IGNORED
STM32F103RC_bigtree_USB IGNORED
STM32F103RC_bigtree_512K IGNORED
STM32F103RC_bigtree_512K_USB IGNORED
STM32F103RE IGNORED
STM32F103RE_bigtree IGNORED
STM32F103RE_bigtree_USB IGNORED
STM32F4 IGNORED
STM32F7 IGNORED
ARMED IGNORED
STM32F103VE_GTM32 IGNORED
STM32F103VE_longer IGNORED
mks_robin_mini IGNORED
mks_robin_nano IGNORED
mks_robin IGNORED
mks_robin_pro IGNORED
mks_robin_lite IGNORED
mks_robin_lite3 IGNORED
jgaurora_a5s_a1 IGNORED
STM32F103CB_malyan IGNORED
chitu_f103 IGNORED
STM32F401VE_STEVAL IGNORED
FLYF407ZG IGNORED
FYSETC_S6 IGNORED
STM32F407VE_black IGNORED
BIGTREE_SKR_PRO IGNORED
BIGTREE_GTR_V1_0 IGNORED
BIGTREE_BTT002 IGNORED
teensy31 IGNORED
teensy35 IGNORED
esp32 IGNORED
linux_native IGNORED
SAMD51_grandcentral_m4 IGNORED
rumba32_f446ve IGNORED
rumba32_mks IGNORED
include_tree IGNORED
============================================================================ 1 succeeded in 00:00:05.189 ============================================================================

Terminal will be reused by tasks, press any key to close it.

LPC1768 is for the SKR board.

1 Like

quick question about the dummy thermistor . Do i need it for me to run a test on my motor and what value should it be ? Currently I loaded the firmware and I cannot move any of the motors from lcd

Unclear as to what you are asking. Did you plug in a resistor or did you just change the firmware?

What error are you getting when it does not move?

do I need to put a jumper on the TH0 (board ) . plus I do not get any errors nothing moves

No but you do need to set the dummy temp in marlin as best practice, some controllers need a temp to show.

What are you using for control software?

I am using the screen with TT tech load and also tried pronterface , hopefully am not missing any jumper settings on the board

Sorry, unfortunately I have no experience with any of that stuff. Hopefully someone else comes in with some experience with any of that.

ok so can I scrap the tmc2130 and the Tft 28 version 4 to use it on a ramps board ?

So even though my TMC 2130-SKR 1.3 ( TT Tech compiled - it will not work. I ended up loading the precompiled TT Teching 5160 and everything works . All have to do is to get the TMC 5160. I just have up on the TMC 2130 . Thanks guys for all the help and support .

Finally figured out what is going on with my compile errors. Apparently a math.h definition isn’t available. Which is odd because if I open a clean version of Marlin 2.0 it’s there. Not sure what to do at this point so I’ll stick with my own custom firmware.

Math.h is part of the standard compiler. Not sure why that would not work unless it was trying to compile using the wrong compiler flags.