Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] New Artillery not flashing LCD on GD32F305 #2391

Closed
Help3D-Padova opened this issue Feb 10, 2022 · 653 comments · Fixed by #2886
Closed

[FR] New Artillery not flashing LCD on GD32F305 #2391

Help3D-Padova opened this issue Feb 10, 2022 · 653 comments · Fixed by #2886
Labels
bug Something isn't working

Comments

@Help3D-Padova
Copy link

Help3D-Padova commented Feb 10, 2022

Description

There some Artillery Genius PRO or X2 that are not able to flash the LCD firmware.

Steps to reproduce

Try to flash as usual

Actual behavior

MKSTFT28.bin is not detected and the flash is not able to start

Hardware Variant

It seems that the new microcontroller is based on GD32F305 - VERIFIED

TFT Firmware Version & Main Board Firmware details

The bootloader is V3.0.4

Additional Information

https://github.com/artillery3d/genius-pro-tft-firmware this firmware can be flashed without issue

@digant73 i'm not able to reproduce this issue because i have an older lcd but i have some user that can try some beta firmware.

@Help3D-Padova Help3D-Padova added the bug Something isn't working label Feb 10, 2022
@kisslorand
Copy link
Contributor

Try with lower case.

@Help3D-Padova
Copy link
Author

first thing tried but no luck

image

New microcontroller confirmed

@Help3D-Padova Help3D-Padova changed the title [BUG] New Artillery not flashing LCD [BUG] New Artillery not flashing LCD on GD32F305 Feb 10, 2022
@kisslorand
Copy link
Contributor

This MCU is not implemented yet in this repository. AFAIK there's no BTT TFT with this MCU.

@digant73
Copy link
Contributor

@Help3D-Padova I also don't have this new TFT. That GD32F305 is not currently supported

@Help3D-Padova
Copy link
Author

@Help3D-Padova I also don't have this new TFT. That GD32F305 is not currently supported

@digant73 i know, they are shipped with the last unit manufactured in december

@bigtreetech bigtreetech changed the title [BUG] New Artillery not flashing LCD on GD32F305 [FR] New Artillery not flashing LCD on GD32F305 Feb 15, 2022
@digant73
Copy link
Contributor

I would convert the type of the ticket from BUG to FR. That MCU is currently not supported

@Help3D-Padova
Copy link
Author

@digant73 my fault, it is not a bug :)

The MCU is not supported but how can i help to find some information about it ?

@digant73
Copy link
Contributor

I think it's related not only to MCU but also the board (MKSTFT28 had same MCU as BTT but different board requiring different settings in the firmware). Usually there is always someone having that HW and applying the changes on firmware (as happened for MKSTFT35). Simply wait some time.

@Help3D-Padova
Copy link
Author

ok i'll find someone that can send me a spare LCD with that MCU

@digant73
Copy link
Contributor

Try to ask here https://github.com/darkspr1te/BIGTREETECH-TouchScreenFirmware.
darksp1te was the guy that made the porting for MKSTFT35.

@reynol3232
Copy link

reynol3232 commented Mar 12, 2022

I too have the GD32F305 chip set in the TFT of the Genius Pro. I received my printer 3/11/2022. I would like to find a way to resolve this issue and upload the more functional Marlin firmware. The current installed bootload is 3.0.4 and does not read the micro sd upon booting. I also have an older Artillery X1 and have updated that printer to Marlin. The GUI for the new Genius Pro is very different and has less functionality. Please help!

A person posted this: https://www.libhunt.com/posts/553300-how-to-upload-firmware-to-sidewinder-x2-tried-on-sd-card-unplugging-the-tft-flashing-through-the-usb-can-t-figure-out-what-s-right and was able to upload the new Marlin 2.0.9.2 using this technique. https://github.com/MrMagounet/Firmware_Flash-Artillery_X2_GeniusPro

I have not tried this yet though.

weZoom-1647101547094

@Help3D-Padova
Copy link
Author

@reynol3232 flashing Marlin is not a problem because GD32F305 is related to the MCU of the LCD screen. Marlin i s uploaded on the Artillery Ruby

@PrEzi3
Copy link

PrEzi3 commented Mar 14, 2022

Exactly as Help3D said. Mainboard firmware is not a problem. The TFT MCU is. Currently I am also waiting for the GD32* variant to be supported in order to publish a "combo" of firmwares for SWX2/GP including the new TFTs
https://www.thingiverse.com/thing:5186707

@reynol3232
Copy link

I currently am not able to use my machine. I loaded the files onto a microsd: config.ini, firmware.bin, MKSTFT28.bin, MKS folder and then turned on the power. The machine did not seem to do anything different than it's normal booting process. Unfortunately now when I press buttons on the display it seems that even though the command is recognized it is not accepted and the machine does nothing. I just want to put it back to original firmware and cannot do that.

@PrEzi3
Copy link

PrEzi3 commented Mar 15, 2022

@reynol3232 You need to revert back to stock - ask Artillery for stock files. You cannot you custom firmware till the TFT is made compatible with it (ergo - both mainboard and TFT MCU firmwares are supported and open).
Currently only mainboard and "old" TFT MCUs (STM32*) are.

@reynol3232
Copy link

Much appreciated. Yes, I asked Artillery for the stock files. Not sure how I'm going to load them back on though when I receive the files. The bootload is not seeming to read the microsd but I could be wrong. I'd really like to try a stock firmware.bin file from this latest version of Genius Pro but I can't seem to find one online. Is there a way to extract the firmware.bin file from another machine?

Can I buy the older Touchscreen and replace the newer version so that I can program it?

@reynol3232
Copy link

reynol3232 commented Mar 15, 2022

Starting over: The Genius Pro "stock" firmware platformio.ini will not compile in VSC code.
*** [.pio\build\ARTILLERY_RUBY\firmware.elf] Error 1
Made sure there were no "- or spaces" in the file directory. Any idea what I'm doing wrong? Anyone want to send me a stock compiled firmware? I think it's time to switch to Prusa. (okay...just getting frustrated that Artillery would put something out that is not supported)

@stormz85
Copy link

Hi !
Any news for GD32* TFT ? on the SX2 ?
Thx

@reynol3232
Copy link

I was able to get my "New Version GD32F TFT" Genius Pro running again. It was quite involved and I'm sorry I tried to upgrade the firmware. Staunch warning to anyone trying to upgrade the firmware, wait a few months for the GD32F to be supported.

@PrEzi3
Copy link

PrEzi3 commented Mar 17, 2022

@reynol3232 it would be great if you could post the stock files somewhere --- just in case there are more ppl doing a flashing by mistake. Thanks !

@rawlus
Copy link

rawlus commented Mar 20, 2022

Artillery has a github repo with updated Marlin, Genius Pro Firmware and TFT Firmware for a genius pro here:

https://github.com/artillery3d/genius-pro-firmware
https://github.com/artillery3d/genius-pro-tft-firmware

@PrEzi3
Copy link

PrEzi3 commented Mar 20, 2022

Artillery has a github repo with updated Marlin, Genius Pro Firmware and TFT Firmware for a genius pro here:

https://github.com/artillery3d/genius-pro-firmware https://github.com/artillery3d/genius-pro-tft-firmware

....which is a precompiled binary and not the source code.... but oh well.... at least something...

@reynol3232
Copy link

reynol3232 commented Mar 20, 2022

Previously I was not able to load the firmware using the typical micro SD method. And it was very difficult to get my computer to recognize the printer with every driver I tried install in device manager. I used Pronterface, VSC, Marlin, STM32, DFU manager and a host of other software in an attempt to connect before an after jumpering 3.3V and Boot-to pins.

Since I've had so much trouble just putting the machine back to stock I think I'm going to wait for the community debug this before I try it. It's obvious to myself that I don't have enough experience with this machine to mess with it like I did with my X1. My machine needs to make parts right now.

I wish someone would write a detailed install guide if they get it to work even though it's the compiled version of the firmware. Later when the source code becomes available then a complete guide could updated.

Also, is Artillery calling this "new" Genius Pro and X2 "V2" ? ie..."Genius Pro V2" or "Sidewinder X2 V2"...?

@stormz85
Copy link

Still no news about this screen ? BTT ?

@freakydude
Copy link

@digant73 Would try some beta firmware for you. But please give me some short description how to flash and how to flash back in my case. Let me know. Thx

@ark-
Copy link

ark- commented May 6, 2022

artillery3d/sidewinder-x2-tft-firmware@10dcf32

Artillery just added a commit with a new binary to their X2 TFT firmware repo. The commit message reads: "added support for GD32F305 TFT screen"

Wondered if this would be of use to anyone here.

Edit: Oh looks like the Genius too artillery3d/genius-pro-tft-firmware@3abde71

@digant73
Copy link
Contributor

digant73 commented Jan 22, 2024

@ciotto, @gagipro it seems only this bug/FR remained still open on BTT repo. Could you provide a PR here just to close also this FR?

@digant73 I rebased my branch and opened a draft PR #2886.

It's a work in progress, must be tested on both bootloader versions (1.3 and 1.4), tomorrow I'll work on it.

thanks. Take the time you need, it's not urgent. Once you and other users spent time on making that TFT variant working, it would be a sin to lose the work and it could be also useful for BTT if they will provide some TFTs based on that MCU in the future. I will also review you code when you will flag the PR as ready for merge

@Schalonsus
Copy link

Hi
I followed the instructions, but after uploading the TFT firmware, I have an inverted and "ragged" image.
1
I have a TFT driver version 1.4 - and this is probably the problem... 2
did anyone solve it?

It seems no solution so far....buy older version board

@arekkwiecinski
I have to revoke my statement. I looked up my board version and it's V1.2 and i have the same shattered and mirrored screen
20240122_113323

None of the available BTT GD firmwares work for me, only the orignal from Artillery

@ciotto
Copy link
Contributor

ciotto commented Jan 22, 2024

Hi
I followed the instructions, but after uploading the TFT firmware, I have an inverted and "ragged" image.
1
I have a TFT driver version 1.4 - and this is probably the problem... 2
did anyone solve it?

It seems no solution so far....buy older version board

@arekkwiecinski I have to revoke my statement. I looked up my board version and it's V1.2 and i have the same shattered and mirrored screen 20240122_113323

None of the available BTT GD firmwares work for me, only the orignal from Artillery

@Schalonsus are you sure that your board have a GB32 (GigaDevice) MCU and not an STM32 (STMicroelectronics) MCU?

@Schalonsus
Copy link

Schalonsus commented Jan 22, 2024

I think so. When starting the printer it states: V3.0.5
20240122_105041

@kisslorand
Copy link
Contributor

Did you guys use the "reset.txt" trick?

@Schalonsus
Copy link

Schalonsus commented Jan 22, 2024

No, did not know about it. Will flash and test again

Edit: no, nothing changed, still mirrored and shattered

@Schalonsus
Copy link

Its a HST028042 TFT, shouldn't that use IL9341 driver instead of HX8558?
20240123_113047
20240123_113101
20240123_105759

@Schalonsus
Copy link

I compiled with ILI9341 and now its just the mirrored problem left
20240123_123336

@Schalonsus
Copy link

Ok got it working, correct driver is ILI9488
20240123_125351
AX2_New_TFT.zip

@Geoff47
Copy link

Geoff47 commented Jan 29, 2024

Ok got it working, correct driver is ILI9488 !

Hi,
How do you do to compiled the mkstft28evo.bin file? I tried your last version, it's better but my screen remains shattered and mirrored :(

@Schalonsus
Copy link

Here is the guide
https://github.com/bigtreetech/BIGTREETECH-TouchScreenFirmware?tab=readme-ov-file#firmware

since i have it already running, here are all possible tft driver bin's:
Different_TFT_bin.zip

@Geoff47
Copy link

Geoff47 commented Jan 30, 2024

A lot of thanks for your advices! I'm going to try it ASAP

@Geoff47
Copy link

Geoff47 commented Jan 30, 2024

It's working with ILI9488 and rotate the screen !!!!! Thanks a lot!

@Reifenrich
Copy link

Please provide a link for the original firmware because I installed a new mainboard! Thanks

@Reifenrich
Copy link

I installed a new motherboard and now I have this on it! If I take the flashed one I can no longer level. He can no longer find the points and moves over the table. !?
thumbnail_IMG_5246

@Reifenrich
Copy link

What should I play on it so that everything works again?

@Reifenrich
Copy link

@apolkosnik
Copy link

Did anyone manage to upgrade the bootloader from 3.0.4 to 3.0.5 or get rid of that awful long beep?

@apolkosnik
Copy link

apolkosnik commented Feb 17, 2024

Nevermind, the bootloader flashing firmware file works with the original Artillery TFT firmware (through the TF card). The missing or corrupted images could be a result of using the patched bootloader, which is not re-populating the SPI flash correctly after the original firmware. That got cured by re-flashing with the original Artillery TFT firmware, then flashing the fw from AX2_New_TFT.zip above.

When you get the screen contents upside down, just modify the line in config.ini from rotated_ui:1 to rotated_ui:0 and re-flash.

@dernassesmart
Copy link

i doesnt work for me. it seems that the fonts and the icons are not loading during the upgrade procedure. in 1ms its done und i dont see anything on the tft. Anyone with the same problem? Even with the stock firmware i have the same problem. what can i do?

@Knutowskie
Copy link

Knutowskie commented Jun 13, 2024

Ok got it working, correct driver is ILI9488 20240123_125351 AX2_New_TFT.zip

Okay how did you install it?
I placed the content of your zip onto the SD card, and put it in the slot. then starting the printer and... nothing happens. I updated the TFT to the latest firmware from artillery with this sd card and it worked as expected.
I even tried a bin from your Different TFT bin zip and this does nothing either.

The TFT ignores all of this. It does not if i use the firmware files from artillery.

Where is my mistake?

EDIT:

I used the files of dave https://dave811.github.io/ATSG/ here and it worked. Easy as cake. The way is long and full of old breadcrumbs that lead nowhere... Until you stumble on some guys website that is old too, but it seems to bring the upgrade needed. I honestly regret touching the firmware at all. 2 days of pain and fear...

@Niva5456
Copy link

Hello, I've read through a few messages here and wanted to ask explicitly if anyone has managed to create a file for the display to flash? With the GD32F305 chipset

@kisslorand
Copy link
Contributor

All you need is here: https://github.com/kisslorand/BTT-TFT-FW

@Niva5456
Copy link

Maybe you can tell me which TFT I have to take out if I have a GD32F305 I honestly don't quite see through it

@kisslorand
Copy link
Contributor

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Nov 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.