Marlin Build problem!
June 26, 2024 07:31AM
I have a CR10s Pro v2 , which i have replaced the motherboard to a BTT SKR Pro v1.2 and also i replaced the screen to a BTT TFT35 v3.0.

I have had the printer in storage for a year or so, but on switching it on the screen wont respond properly. on pressing it, it flashes up the usual screen with temp etc and then goes back to previous screen showing either the Marlin or touch screen options.

I have Octaprint working but it wont connect to the printer, so i decided to update the firmware ( Marlin 2.1.2.4). On trying to compile this using VS it fails throwing errors relating to the TFT?

If someone could kindly take a look at the Marlin file i would be very grarefull.
Attachments:
open | download - Configuration_adv.h (173.2 KB)
open | download - Configuration.h (126.5 KB)
Re: Marlin Build problem!
June 26, 2024 09:29AM
What LCD do you have and how is it connected to the motherboard?

The post says you have a BTT TFT35 v3.0 but BTT_TFT35_SPI_V1_0 is selected in configuration.h. These are different displays with very different interfaces/cabling.

The BTT TFT35 v3.0 is the one usually used with your motherboard. It can be used in two modes. If all three cables are connected then you can switch between the two modes.
  • 12864 LCD (Marlin) mode - emulates the tried & true 12864 LCD type display. There will be EXP1 & EXP2 cables between the display and the motherboard. Select REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER in configuration.h.
  • Touchscreen mode - functions as a smart stand alone display unit. The TFT cable/interface is used. Set SERIAL_PORT_2 to 1 and BAUDRATE_2 to either 115200 or 250000.
Re: Marlin Build problem!
June 26, 2024 11:10AM
The BTT_TFT35_SPI_V1_0 looks like this


Re: Marlin Build problem!
June 26, 2024 04:03PM
Hi, many thanks for your reply.

what do you set SERIAL_PORT to?
Re: Marlin Build problem!
June 27, 2024 01:28AM
One of the SERIAL_PORTs needs to be set to 1 to enable/use the TFT port/interface.

One of the other SERIAL_PORTs is set to -1 to enable/use the USB port.
Sorry, only registered users may post in this forum.

Click here to login