How to run grblHAL driver for NXP LPC1769 processors on BTT SKR V1.4 Turbo board? #57
Replies: 3 comments 11 replies
-
I had the same problem. I tried grabbing the latest iap from NXP and no luck. |
Beta Was this translation helpful? Give feedback.
-
It might be very helpful if the maintainers could have access to the SKR V1.4 Turbo board together with the supported drivers. That way, all features and functions could be properly tested, since at the moment it seems that not much works beyond the compilation process. After proper testing and verification, the repository could then be updated, making things much smoother and more reliable for end users. @terjeio |
Beta Was this translation helpful? Give feedback.
-
I have now lightly checked a BTT SKR v1.3 board with TMC2240 drivers in SPI mode and AFAIKT that works as it should. FYI I accidentally flashed 1.4 firmware on the 1.3, this failed with hardfault so unlikely it will work with a 1.2 board.
See this.
Good luck with the new driver! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone, and @terjeio
I am new to the grblHAL ecosystem and I'm having trouble compiling the firmware for my setup. My goal is to get my new BTT SKR V1.4 Turbo board running with TMC2130 stepper drivers.
My Hardware:
Board: BigTreeTech SKR V1.4 Turbo
Driver: Trinamic TMC2130 (SPI mode)
Target: I want to control a single X-axis motor for initial testing.
What I Have Done:
Cloned the latest grblHAL/LPC176x repository using git clone --recurse-submodules.
Imported the project into MCUXpresso IDE.
The my_machine.h file with the following configuration for my board and TMC2130 driver in SPI mode:
#define BOARD_BTT_SKR_14_TURBO
#define TRINAMIC_ENABLE 2130
#define TRINAMIC_SPI_ENABLE 1
#define X_DRIVER_TYPE TMC2130
Attempted to build the project.
The Problem:
The build fails with multiple errors in the file iap.c, such as:
error: passing argument 1 of 'iap_entry' from incompatible pointer type [-Wincompatible-pointer-types]
It seems there is a data type mismatch between the iap_entry function definition and how it is being called. Since I am using a fresh clone of the repository, I believe this might be an issue with the current source code.
Could anyone please provide some guidance on how to resolve this compilation error?
consoloutput.txt
Beta Was this translation helpful? Give feedback.
All reactions