MKS-TFT icon indicating copy to clipboard operation
MKS-TFT copied to clipboard

TFT 35 issue

Open fnhhnxfn opened this issue 5 years ago • 27 comments

Hi Guys , I know its a bit strange but i tried to flash Btt tft 35 firmware to mks tft 35 bcz its open source but my screen has gone black and now i am not even able to flash mks firmware to it i checked the hardware ,hardware is working fine do anyone know that how can i erase the old firmware and flash the new one? MKS plzzzz help me

fnhhnxfn avatar Feb 02 '20 21:02 fnhhnxfn

The BTT firmware and MKS TFT are incompatible and temporarily unavailable. More information about MKS TFT, we will further open up

makerbase-mks avatar Feb 11 '20 06:02 makerbase-mks

see https://github.com/darkspr1te/BIGTREETECH-TouchScreenFirmware for working firmware for tft35v4 , easy to port to others, also opensource bootloader in case your's is damaged. Easy to flash if you have a usb - serial or arduino laying around.

darkspr1te avatar Feb 14 '20 15:02 darkspr1te

Hello, here are several months Black screen also on your Mks TFT3.5 screen a quick solution to solve the problem?

release source code

UnderXirox avatar Feb 18 '20 08:02 UnderXirox

Hi,user-defined button display requires the following configuration #set number of "More" button moreitem_pic_cnt:0

makerbase-mks avatar Feb 20 '20 10:02 makerbase-mks

@fnhhnxfn Did you ever get your issue resolved? I'm in the same boat. I would like to get back to stock bootloader and firmware, can't find any good instructions or file locations anywhere.

bthome avatar Apr 01 '20 20:04 bthome

Get Bootloader.hex for you mks_tft version ( my is v1.0 ) flash it with ST-link ( or maybe other ways exist) Now your display starts to booting.

karabas2011 avatar Apr 24 '20 11:04 karabas2011

Get Bootloader.hex for you mks_tft version ( my is v1.0 ) flash it with ST-link ( or maybe other ways exist) Now your display starts to booting.

Can you point me to where a download would be? Or extract yours and post it?

bthome avatar Apr 24 '20 14:04 bthome

Good News Everyone, We have a almost working bootloader for MKSTFT35 V1 boards, the same code used to "enable the parts of the cpu" is the same code i need to add to BTT builds and Marline touch to enable those users to have a choice. I am tho asking if we could crowd source a real unit for me to keep up progress, once am done doing the bootloader and main port of Marlin touch my access to the device will be limited as my test user will be using the device, having one myself will ease that issue. Send me direct message if you wish to assist. Well, onto unknown code and Beyond !!

darkspr1te avatar Apr 29 '20 18:04 darkspr1te

Get Bootloader.hex for you mks_tft version ( my is v1.0 ) flash it with ST-link ( or maybe other ways exist) Now your display starts to booting.

Can you point me to where a download would be? Or extract yours and post it?

mkstft35_v1.0.3_bootloader.zip

karabas2011 avatar Apr 30 '20 07:04 karabas2011

Good News Everyone, We have a almost working bootloader for MKSTFT35 V1 boards, the same code used to "enable the parts of the cpu" is the same code i need to add to BTT builds and Marline touch to enable those users to have a choice. I am tho asking if we could crowd source a real unit for me to keep up progress, once am done doing the bootloader and main port of Marlin touch my access to the device will be limited as my test user will be using the device, having one myself will ease that issue. Send me direct message if you wish to assist. Well, onto unknown code and Beyond !!

How do you support MKS TFT35 ?? It is stm32f407, not stm32f107 as bigtree one

karabas2011 avatar Apr 30 '20 07:04 karabas2011

another user has connected his st32f407ve display to a pc and has let me develop the code for it via discord/remote access. I have written a new bootloader for it without actually ever having had one, not easy as doing test code for a device you cannot see/touch is not easy. Thankyou for posting the bootloader, this will help us finish up the open source bootloader we have been working on.

darkspr1te avatar Apr 30 '20 07:04 darkspr1te

link

Hi, How should I connect a st link to a mkstft35v1 tft screen? Is there any diagram?

Thanks and regards.

trucutrubl avatar Sep 01 '20 07:09 trucutrubl

on the back of the screen is a connector labled JTAG, its pins are 1 SWDO 3 SWCLK 5 RESET 2 3.3v 4 gnd 6 gnd you only need to connect swdio/swclk to the stlink adapter, the power comes from the printer board as normal. diagrams can be found at https://github.com/makerbase-mks/MKS-TFT-Hardware/blob/master/MKS%20TFT35%20V1.0_003/MKS%20TFT35%20V1.0_003%20SCH.pdf

darkspr1te avatar Sep 01 '20 09:09 darkspr1te

In my case it works only with 5v not 3.3. After reflashing I use usb3.0 connect to check without printer. ST-link does not provide enough current for LCD to work properly

karabas2011 avatar Sep 01 '20 10:09 karabas2011

Hello thank you for your work 👍 i finally got 1 beep from the lcd tft.35 MKS but still oas of lcd on black screen pardon my English

available to help I wing mks tft3.5v1.0 a osilloscope numérique , stlink V2 for debug flashing remains to have a small analog analyzer

once again sorry for my english

UnderXirox avatar Sep 01 '20 11:09 UnderXirox

Yes Thank you for your bootloader it works for me on my MKS TFT3.5V1.0 flash or Save Via STlinkV2

Thank you

UnderXirox avatar Sep 01 '20 12:09 UnderXirox

pin type MKS TFT3.5V1.0 Jtag

PIN Jtag MKS TFT3.5V1.0


| 3.3 GND GND | | ° ° ° | | ° ° ° | |SWIO SWLK RST | |______________________|

Fasher with STlinkV2: mkstft35_v1.0.3_bootloader.zip

here is my Dump once the mks3.5v1.0 unbrick

Dump Mks_tft35_v1.0.3_bootloader.hex.zip

thank you for your work

UnderXirox avatar Sep 01 '20 13:09 UnderXirox

just a update on the BTT port to the MKSTFT35, image many fixes to get this far. Working so far is LCD,SDCard, USB, SPI (for images/icons) , i2c (for parameter storage), USART1/3 (for wifi/marlin) , touch is very buggy atm due to use of a different chip, without refactoring BTT's code a great deal I have yet to fix this bug. but progress is being made

darkspr1te avatar Sep 08 '20 07:09 darkspr1te

it's now live and usable - still some minor bugs but core support is ready for MKSTFT35V1_0 (or any stm32f4xx board) https://github.com/darkspr1te/BIGTREETECH-TouchScreenFirmware

darkspr1te avatar Sep 10 '20 18:09 darkspr1te

Hello I repeat the symptom of my concern resolved thanks to you

So one day by plugging in my stlink_v2 (Original not the clone) A TFT mks3.5v1.0 A dirty manipulation on my part and op brick of the lcd Black screen without beep at boot or reading the SD card Control with Ocsilloscope nothing at all flat trace And there is a possibility to take my hand on it with a Serial usb convert in short circuit the resistance R10 and GND Nothing nada My concern was the bootloader which was solved with

https://github.com/makerbase-mks/MKS-TFT/files/5156616/mkstft35_v1.0.3_bootloader.zip

Thank you I test this tomorrow

do you want me to check something in particular?

sorry for my english.

UnderXirox avatar Sep 10 '20 19:09 UnderXirox

Report any bugs you find (via darkspr1te/bigtreetech repo) , new bootloader coming soon to be more compatible with both mks/btt firmware in one package.

darkspr1te avatar Sep 10 '20 20:09 darkspr1te

open source bootloader supporting original firmware and btt firmware found at mkstft35 v1 open bootloader

darkspr1te avatar Sep 10 '20 20:09 darkspr1te

Dump Mks_tft35_v1.0.3_bootloader.hex.zip

@UnderXirox How did you dump the FW from the read protected STM32? I had to disable read protection, set the Flag to AA, then I could flash your dump - recovered from a bricked state, so THANK YOU. But I am curious how you dumped that in the first place.

stylesuxx avatar Oct 21 '21 00:10 stylesuxx

Dump Mks_tft35_v1.0.3_bootloader.hex.zip

@UnderXirox How did you dump the FW from the read protected STM32? I had to disable read protection, set the Flag to AA, then I could flash your dump - recovered from a bricked state, so THANK YOU. But I am curious how you dumped that in the first place. if you want to know then you need to read "shedding too much light on microcontroller" , the stm32 is vulnerable to SWD race condition which will read bytes from flash into a register , this method was used only to read the crypto key (you can find in my open source loader) which is in fact the same key used in the mks robin firmware and that was documented elsewhere.

darkspr1te avatar Oct 21 '21 15:10 darkspr1te

This is great information - thank you.

stylesuxx avatar Oct 21 '21 15:10 stylesuxx

@stylesuxx

Bonjour pour pouvoir le flasher (undrick) mon LCD mks 3.5 tft

symptôme Ecran noir plus de bip au boot refuse de se metre a jour via la carte sd la meme manipulation que https://github.com/makerbase-mks/MKS-TFT/issues/382#issue-558760434

j'ai pour cela court-circuiter la résistance R10 a GND et relâcher le court-circuit quand le flash commence avec le tools FlyMcu.exe via stlink_v2 (Original pas le clone) ey quand j'ai u le bip du buser yes c'est Wn

je ne suis pas chez moi donc je n'ai pas de photos a vous transmettre je revient des que je ne suis plus en deplacemend

excuser moi pour mon anglais Hello to be able to flash (undrick) my LCD mks 3.5 tft symptom Black screen no more beep at boot refuse to update via sd card the same manipulation as

Hi Guys , I know its a bit strange but i tried to flash Btt tft 35 firmware to mks tft 35 bcz its open source but my
screen has gone black and now i am not even able to flash mks firmware to it i checked the hardware ,hardware is working fine do anyone know that how can i erase the old firmware and flash the new one? MKS plzzzz help me https://github.com/makerbase-mks/MKS-TFT/issues/382#issue-558760434

I have to short the resistor R10 to GND and release the short when the flash starts with the tools FlyMcu.exe via stlink_v2 (Original pas le clone) and when I have the beep of the buser yes it is Wn I'm not at home so I have no pictures to send you I'll be back as soon as I'm not on the move

excuse me for my english

BTT-TFT35-V2.0-Bootloader-flashing-guide-CH340-debugger.pdf

yoshymura avatar Oct 22 '21 11:10 yoshymura

Hello I repeat the symptom of my concern resolved thanks to you

So one day by plugging in my stlink_v2 (Original not the clone) A TFT mks3.5v1.0 A dirty manipulation on my part and op brick of the lcd Black screen without beep at boot or reading the SD card Control with Ocsilloscope nothing at all flat trace And there is a possibility to take my hand on it with a Serial usb convert in short circuit the resistance R10 and GND Nothing nada My concern was the bootloader which was solved with

https://github.com/makerbase-mks/MKS-TFT/files/5156616/mkstft35_v1.0.3_bootloader.zip

Thank you I test this tomorrow

do you want me to check something in particular?

sorry for my english.

can you help me please? https://github.com/bigtreetech/BIGTREETECH-TouchScreenFirmware/discussions/2627

jcbr92 avatar Nov 05 '22 12:11 jcbr92