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

Unable to update the firmware #24

Closed
EnnajimiYassine opened this issue Aug 16, 2019 · 126 comments
Closed

Unable to update the firmware #24

EnnajimiYassine opened this issue Aug 16, 2019 · 126 comments

Comments

@EnnajimiYassine
Copy link

I'm unable to update the firmware of my board tft35 ( hardware : V1.2, firmware : 1.2.6)

when i put the firmware on the SD card and reset nothing happen ( no firmware update), but when i put the bmp and font they get updated ( but still not the firmware)

Can please some one help ?

@Doom6666
Copy link

Doom6666 commented Aug 24, 2019

Same problem with TFT35 V2.0 .... only icons and fonts are updated :-( . Any specific BIN file name? Or a requirement other than copying to the card root?

@EnnajimiYassine
Copy link
Author

I renamed it to BIQU_TFT35.bin and it worked

@Doom6666
Copy link

for me ..... renaming it to BIQU_TFT35.bin ... no change .... still firmware upgrade has not taken place :-(

@EnnajimiYassine
Copy link
Author

you tried BIGTREETECH_TFT35.bin ?

@Doom6666
Copy link

yes, I tried a lot of file names, including BIGTREETECH_TFT35 ... the upgrade was still unsuccessful. I'm clueless. Installation instructions absolutely useless :-(

@Sthopeless
Copy link
Contributor

I am also facing the same problem, cant upgrade TFT35 firmware. It updates the icons and fonts but not the firmware.
I have tried many names combinations.

@AnHardt
Copy link

AnHardt commented Aug 25, 2019

Connect a ST-link. Read out the bootloader and save. Open the file in a HEX-editor. Search for readable strings containing ".bin" and ".cur". And you'll get the right name- completely without guessing.

@Msnejbjerg
Copy link

Same issue here with my new TFT35 2.0 running 2.0.20. I can update the TFT35 folder but I can't install new firmware

@Doom6666
Copy link

Same issue here with my new TFT35 2.0 running 2.0.20. I can update the TFT35 folder but I can't install new firmware

Unfortunately, I did not get a simple answer either here or directly from BIQU. It looks like product support isn't worth anything.

@blindMoe
Copy link

I believe you are supposed to just name it firmware.bin but when I updated my brand new TFT35 1.2 with the newest firmware I cannot get passed the calibration screen. It just says that calibration failed and starts the calibration sequence again.

@bigtreetech
Copy link
Owner

please download in here https://github.com/bigtreetech/BIGTREETECH-TouchScreenFirmware/tree/master/Copy%20to%20SD%20Card%20root%20directory%20to%20update\
TFT32 V1.0 firmware name BIQU_TFT35_V1.0.22.bin
TFT32 V1.1 firmware name BIQU_TFT35_V1.1.22.bin
TFT32 V1.2 firmware name BIQU_TFT35_V1.2.22.bin
TFT32 V2.0 firmware name BIQU_TFT35_APP1_V2.0.22.bin
TFT28 firmware name BIQU_TFT28_V1.0.22.bin
TFT24 firmware name BIGTREE_TFT24_V1.1.22.bin

@Doom6666
Copy link

Doom6666 commented Aug 28, 2019

please download in here [https://github.com/bigtreetech/BIGTREETECH-TouchScreenFirmware/tree/master/Copy%20to%20SD%20Card%20root%20directory%20to%20update](https://github.com/bigtreetech/BIGTREETECH-TouchScreenFirmware/tree/master/Copy%20to%20SD%20Card%20root%20directory%20to%20update%5C)
TFT32 V1.0 firmware name BIQU_TFT35_V1.0.22.bin
TFT32 V1.1 firmware name BIQU_TFT35_V1.1.22.bin
TFT32 V1.2 firmware name BIQU_TFT35_V1.2.22.bin
TFT32 V2.0 firmware name BIQU_TFT35_APP1_V2.0.22.bin
TFT28 firmware name BIQU_TFT28_V1.0.22.bin
TFT24 firmware name BIGTREE_TFT24_V1.1.22.bin

I have already understood this, but after inserting the BIQU_TFT35_APP1_V2.0.22.bin file on the SD card, inserting the card into the TFT35 V2.0 and pressing the reset button, the firmware simply does not update ... Paradoxically, when you insert the TFT35 directory with icons and fonts, Updating icons and fonts runs without a problem.

@Msnejbjerg
Copy link

please download in here https://github.com/bigtreetech/BIGTREETECH-TouchScreenFirmware/tree/master/Copy%20to%20SD%20Card%20root%20directory%20to%20update
TFT32 V1.0 firmware name BIQU_TFT35_V1.0.22.bin
TFT32 V1.1 firmware name BIQU_TFT35_V1.1.22.bin
TFT32 V1.2 firmware name BIQU_TFT35_V1.2.22.bin
TFT32 V2.0 firmware name BIQU_TFT35_APP1_V2.0.22.bin
TFT28 firmware name BIQU_TFT28_V1.0.22.bin
TFT24 firmware name BIGTREE_TFT24_V1.1.22.bin

I have already understood this, but after inserting the BIQU_TFT35_APP1_V2.0.22.bin file on the SD card, inserting the card into the TFT35 V2.0 and pressing the reset button, the firmware simply does not update ... Paradoxically, when you insert the TFT35 directory with icons and fonts, Updating icons and fonts runs without a problem.

That is exactly the same issue I have. It doesn't matter if I use the precompiled or if I compile it myself. I have tried several different filenames including the ones suggested in this thread. I bought two of these displays and it is the same problem with both

@bigtreetech
Copy link
Owner

Do you have a burner like stlink? Maybe I can send you a bootloader and try to reburning the bootloader?

@Msnejbjerg
Copy link

Do you have a burner like stlink? Maybe I can send you a bootloader and try to reburning the bootloader?

I have a couple of nucleo boards with integrated stlink that I should be able to use. I'll give it a try

@Doom6666
Copy link

Do you have a burner like stlink? Maybe I can send you a bootloader and try to reburning the bootloader?

I have ST-link V2 ordered, but not yet arrived .... I can try it afterwards

@bigtreetech
Copy link
Owner

BIQU_TFT35_V2.0_bootloader.zip
here is the bootloader for TFT35_V2.0, burning it to flash address 0x08000000 is ok.
thanks a lot.

@AnHardt
Copy link

AnHardt commented Aug 28, 2019

Is it expected the bootloaders rename the *.bin files to *.cur when flashed?

@Msnejbjerg
Copy link

Succes! After uploading the new bootloader it worked!

@EnnajimiYassine
Copy link
Author

@AnHardt it doesn't change the firmware to .cur you will need to delete it or rename it afterward if you don't want to reflash your board at each reboot ( at least for tft35 v1.2)
@Msnejbjerg can you please tell us what firmware name did you use ? It may help the others

@Msnejbjerg
Copy link

@EnnajimiYassine I used the boot loader first and flashed it with stink utility
IMG_4384
IMG_4389

IMG_4388

And then I just used the precompiled file: BIQU_TFT35_APP1_V2.0.22.bin

@EnnajimiYassine
Copy link
Author

Thanks for sharing the info! It may help the others

@Juju-Dudu
Copy link

Ok, cool ! I have the same issue, but how can i do if i don't have any flashing board... I presume i'm not alone in this case... I'm a noob in programming, i never do that. Can I do it with an Arduino Uno ? Don't laugh, i'm a really noob !!!

@petrik0621
Copy link

I need help too. :/

@EnnajimiYassine
Copy link
Author

@bigtreetech I think you should post some firmware names, so those who don't have an stlink can update their firmware. Because from what I understand we're supposed to update it with sd card (that's what your GitHub says) and not via stlink ....

@GenaUser
Copy link

GenaUser commented Sep 7, 2019

I have a same problem as @blindMoe with my TFT24-V1.1.
After upload, I cannot get passed the calibration screen. It just says that calibration failed and starts the calibration sequence again...
I tried to use the master compiled for TFT24. Same problem.
Screen unusable.

@poisson21
Copy link

poisson21 commented Sep 10, 2019

On my tft 24 v1.1 I found that on a exp1 exp2 config, no serial(for my case,didn't test with). to be able to flawlessly flash new firmware you have to disconnect exp2 to make it work. I think the feedback of the "sd card presence" pin interfere with the upload.

@Sthopeless
Copy link
Contributor

@bigtreetech finally I've managed to flash my unit that touchscreen wasnt working and now Is stuck on calibration touch screen and fails everytime i do the red dots (correctly pressed!). what's next?

@GenaUser
Copy link

@Sthopeless Start-up through the calibration screen seems normal after an update (Tested on TFT 3.5 and TFT24).
You need to click on the center of the new point by following these steps :
Click on the red dot in the upper left corner
Click on the red dot in the upper right corner
Click on the red dot in the lower right corner
Click on the black dot in the center of the screen
After, the calibration must be successful and the screen usable.

@Sthopeless
Copy link
Contributor

@GenaUser I know it is a normal procedure on they're TFT's but this one is constantly failing the calibration, I even tried with touch pen but fails all the time

@xC0000005
Copy link

xC0000005 commented Dec 26, 2019 via email

@EsQueue81
Copy link

I'd start by unlocking the board (you can find a guide to that here https://nathan.vertile.com/blog/2017/03/05/unlocking-stm32-chips/ if you are running OSX I can share the commands I use to connect using GDB): Start Debug Server: ~/Library/Arduino15/packages/STM32/tools/STM32Tools/2017.9.22/tools/macosx/stlink/st-util Launch GDB: ~/Library/Arduino15/packages/STM32/tools/arm-none-eabi-gcc/8.2.1-1.7/bin/arm-none-eabi-gdb Connect: target remote localhost:4242 THEN run the unlock/reset/halt, and after that, you should be able to program it all.

On Wed, Dec 25, 2019 at 8:26 PM carl1961 @.***> wrote: Oddly enough, I can't get St-Link to work on my Windows 10 PC at all due to MCU is held in reset" errors. It does work on my ancient W7 PC. Thanks for the response guys. I since sourced a very stable power supply. As for mass erasing, I forgot to include that it did erase the chip as everything is Zero'd out and the flash size is "Unknown" but it gave the readout protection during erase and is still giving the error. Some research on google showed how to disable in in st-Link but when I try to disable it, it gives me the error "Could not set Option bytes! Please reset the target and retry." Unfortunately, I've tried at least 30 times. I will not give up 😢 I've used up too much time diagnosing. Everyone's recommendations whether it be sending 3v3 to the Boot0 and using ttl to every possible setting in st link, I have a hardware issue somewhere. I can't flash any bin or hex files, erasing actually erased the data but kept the write protection, 5.1v constant power, and nothing. The RS232 port is completely disabled so no more TTL. The SWD can read but that's all it can do. For reference, the only way I can connect to the board in st link is to have SWD, Hot Plug modes. No other modes work. Reset button also does nothing anymore. My replacement will arrive on Saturday due to the holiday season. I will get a v3.0 instead of the 2.0 as I don't even want to see the thing anymore. Feel so damn defeated and don't even feel like completing this 3d printer anymore. Thanks guys. Look up @xC0000005 https://github.com/xC0000005 If anyone can bring life back to a board he can! https://github.com/xC0000005 — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#24?email_source=notifications&email_token=AHVGS4KKSZ43NE74KIR53ZDQ2QW6JA5CNFSM4IMHXLC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHU3VEQ#issuecomment-568965778>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHVGS4MINORZPXVI4YVSBG3Q2QW6JANCNFSM4IMHXLCQ .

I made some progress. I learned to use OpenOCD which took a while as I had to also learn to use PuTTY. I also got it to connect to my main pc. When I try to unlock, I get the error that my flash size failed to probe and it puts an incorrect size of 512k. I'll have to learn the Flash Bank command but I have no idea what FLASHNAME they are talking about. The other main error is "Target not halted" this prevents almost all commands from working. Adding halt in the config and manually executing it just causes a timeout.

I'm slowly chipping away at it. My goal is to get it working by tomorrow when my replacement arrives. If I can fix it, I'll use it on my old trusty 3d printer. Thanks for the information.

@Pixel-Soup
Copy link

The "target not halted" problem is most likely due to the .1uF capacitor on the reset pin of the MCU. It adds too much delay to the reset process, causing openOcd to time out. The simplest solution is to temporarily remove it, so that you can use the ST-link to re-flash the boot-loader.
Alternatively, you can try to configure openOcd to wait longer for the MCU to respond after a reset is issued.

@xC0000005
Copy link

xC0000005 commented Dec 27, 2019 via email

@Pixel-Soup
Copy link

Probe and most other SWD functions will not work if the reset pin is interfered with by the capacitor. I've encountered this many times on other boards. Removing the cap is an easy fix for anyone with some soldering skills.

@JustGand
Copy link

I was experiencing the same problem (unable to update from V1.2.6 on V1.2 hardware), and renaming the BIQU_TFT35_V1.2.25.2.bin firmware to BIQU_TFT35.bin worked !

@SimonSolar2C
Copy link

SimonSolar2C commented Apr 8, 2020

I had a lot of trouble trying to get the bootloader to load onto the board. The error message in FlyMCU read something like ""program space must be in either (...etc"
Turned out I was trying to load the bin file - make sure to use the bootloader hex file !
PS FlyMCU could only find COM1 on y win10 64bit PC. I used my laptop in the end which is Win7 64bit

@fenix8k
Copy link

fenix8k commented Apr 12, 2020

To be able to update the firmware you need a really specific SD format settings, It need to be less than 8GB, have a Primary MBR Partition marked as Active in Fat format

@Elrikus
Copy link

Elrikus commented May 21, 2020

@bigtreetech
Can I ask for bootloader to TFT24 ? My is dead after firmware upgrade. I have CH341a to write.

@Software-Nub
Copy link

Can I also have the TFT24 boot loader please, Thanks

@sangeriz
Copy link

i have the same problem with TFT 3.5 V3, Illegal flash app, its my second board with the same problem I used the right file but its impossible make it work

@draon7
Copy link

draon7 commented Jul 16, 2020

Hi, it seems like I have similar problem, I flashed my TFT24 with v1.1.26.x.bin and everything went well but after that, I wanted to make some more changes, but I cannot flash any new firmware. Bootloader goes through the update process, but nothing changes. I tried different firmware versions including precompiled ones and nothing changes. I tried renaming .bin file. I tried @poisson21 advice to disconnect EXP2 but it didn't help. I guess there is a bug in new firmware that prevents flashing updates. Since I have ST-LINK v3 I guess I can clear it and reflash the bootloader, does someone have bootloader for TFT24?

@Pixel-Soup
Copy link

@draon7 Is the tft24 still able to see the sd card files when you press the "print" icon? Does the bootloader change the name of the .BIN file to .CUR on the sd card?

@sangeriz
Copy link

At least for me, if I turn the printer with a sd card inside, with Gcode files, say illegal flash, and if you forgot the sd card inside, you must reflash again with config.ini, tft35 "bmp files" and bin file. A big problem, I hope the next update BTT solve the problem.

@oldman4U
Copy link
Contributor

oldman4U commented Oct 9, 2020

Please help the community and close the ticket now that it is one year old Thank you

@DragonTSD
Copy link

Is it expected the bootloaders rename the *.bin files to *.cur when flashed?

From what I've read, yes, as long as the .bin file is utilized correctly by the printer once, it changes the extension to .CUR.

@dronn1974
Copy link

Who dealt with this problem, can you describe in detail the entire process of resuscitation of Bigtreetech TFT35 V2. 0

@oldman4U
Copy link
Contributor

@oldman4U
Copy link
Contributor

oldman4U commented Jan 2, 2021

This ticket is very old and the owner does not respond anymore. It is unlikely that someone will answer this further, now that I stop watching it. Please start a new ticket in case you have a problem with updating the firmware of your TFT and make sure to read this before doing so: https://github.com/bigtreetech/BIGTREETECH-TouchScreenFirmware#connect-the-tft-to-the-mainboard

Thank you

@stale
Copy link

stale bot commented Mar 3, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@Michel12122
Copy link

Michel12122 commented Feb 19, 2023

On my tft 24 v1.1 I found that on a exp1 exp2 config, no serial(for my case,didn't test with). to be able to flawlessly flash new firmware you have to disconnect exp2 to make it work. I think the feedback of the "sd card presence" pin interfere with the upload.

Very thanks a few days ago I was complaining with my tft and disconnecting the exp 2 I was able to update it

@hello-my
Copy link

I have a problem with my TFT35 V3.0.1, the firmware wont update and none of the file names for the .bin file is working. I can get the fonts and language to change too, but its only the firmware file

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 Mar 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests