Ralim / IronOS

Open Source Soldering Iron firmware
https://ralim.github.io/IronOS/
GNU General Public License v3.0
7.24k stars 718 forks source link

_clear_logo.hex not working (Win10) #1173

Closed discip closed 2 years ago

discip commented 2 years ago

Describe the bug Not able to flash _clear_logo.hex

resulting in .ERR

Details of your device: device firmware
TS80P build https://github.com/Ralim/IronOS/commit/5058e18138635b87978e24db58bf4c58c60e0a15
PC Win10

Additional context Tried flashing it several times. Flashing the firmware.hex works as intended though!

Ralim commented 2 years ago

You have not downloaded the python code correctly, from that error I suspect you have saved the github webpage preview not the file itself. Need to hit the raw button to get to this page https://raw.githubusercontent.com/Ralim/IronOS/master/Bootup%20Logo/python_logo_converter/img2ts100.py

Then save and run that code

discip commented 2 years ago

Ok! I see!🤦‍♂️ Will give that a shot and report back.

discip commented 2 years ago

That indeed worked, but I am not able to remove the logo again using _clear_logo.hex.

ps: I thought the custom logo would replace the quick flashing miniware logo, but that did not happen. Is that not replaceable?

Ralim commented 2 years ago

Did you do the double copy trick for the hex file?

discip commented 2 years ago

Yes! I did.

Ralim commented 2 years ago

ps: I thought the custom logo would replace the quick flashing miniware logo, but that did not happen. Is that not replaceable?

That is part of their bootloader, so cant remove it without removing their bootloader.

discip commented 2 years ago

That is part of their bootloader, so cant remove it without removing their bootloader.

Ok. I see. So someone should rewrite the bootloader to solve this right? 😁

Ralim commented 2 years ago

So you can flash the DFU bootloader instead, which fixes this, but also removes the usb-drive functionality entirely and you have to use dfu-util to flash instead.

Thats about all you can do to remove their logo for now. I have not undertaken writing a "new" bootloader that does the usb stuff. I have been thinking about writing a usb-dfu one that I maintain for these units. But low priority project for now.

Just dont have enough time to build all the things... :/

discip commented 2 years ago

No problem! 👍 I am good with that. If there will be one day a usb-dfu one, I will be happy, but until then, I will just stick to the current situation. 😊

Could it be that _clear_logo.hex does not work due to my iron using DFU3.50 instead DFU3.45?

discip commented 2 years ago

So you can flash the DFU bootloader instead, which fixes this, but also removes the usb-drive functionality entirely and you have to use dfu-util to flash instead.

Is there a way to go back to the miniware bootloader after that?

discip commented 2 years ago

Am I the only one to not get this to work?

Could someone please check, if _clear_logo.hex is working?

thanks in advance

discip commented 2 years ago

Anyone? 🥺

Ralim commented 2 years ago

Planning to test next time I boot windows..it's been a bit

L1cardo commented 2 years ago

Same here, I can not remove the custom boot logo either

Ralim commented 2 years ago

If you are on Pinecil or a dfu bootloader you can just erase the flash easily. Otherwise could you give this a test: erase_test.zip

L1cardo commented 2 years ago

If you are on Pinecil or a dfu bootloader you can just erase the flash easily. Otherwise could you give this a test: erase_test.zip

I am using TS80P, and this one works!