Closed mattia777 closed 2 weeks ago
i have the same error did you find a solution?
Try copying the file twice without removing the Iron. (This is the reccomended workaround for issues with their DFU loader).
i.e
.ERR
.RDY
unfortunately if i copy anything to the Iron after it comes back wit .ERR
and i copy something nothing happens
Have you tried another PC yet?
Tried it on
On both windows machines nothing happens after the second copy
I’ve tried the suggested solutions by @Ralim and @discip, but unfortunately, they don’t seem to be resolving the issue for me.
Same issue here. OS X / Sonoma.
Also it generates two sets of files, one with the original file name and another with a suffix L. Not sure they're the same, but trying on both yields the same results, always error.
I have the same issue, i had the same problem with IronOS 2.22, but when I flash the .hex IronOS file it goes and i have the IronOS 2.22 on my iron. I tried to put the logo with IronOS 2.22 doesn't work (.ERR file and copied again and it stays .HEX but nothing happens) and I also tried with the original firmware and to flash the logo, but again nothing happens :(
I'm having the exact same error ! Any help much appreciated.. -jc
To update here, I originally looked into this and ran into the current issue of the Miniware DFU just doesnt program the logo to the flash correctly.
i.e. when programming the .hex
file that should load the logo in, it gives the response of .RDY
but doesnt actually program the flash. Did already find that it doesnt like the double-up in the hex file that was required for the old Miniware DFU. But that isn't enough to make it flash properly.
I did a bunch more re-testing today, and haven't found yet a reliable way to get the bootloader to want to flash the logo hex file. (dumping the flash back out with the bootloader shows it not loading the code in). One method may be to merge the firmware with the logo to make it into a contiguous binary so that logo and main firmware are flashed together.
Would be open to any ideas from others as well.
Ben, Thank you so much for taking a look. I'm intrigued by your idea of compiling the logo in. How much of a big deal is it to do a build on my own to try that?
-jc
So I'm working on an update to the script in this repo to let files be merged. And have made progress.
I could insert a fairly lengthy rant here about bugs and issues in the DFU loader that Miniware has shipped (at least the version that is on my unit here). But I'll keep it short
So far I have found:
.hex
fileSo the end result is that:
Annnd all of this will need testing on more than just my unit.
To test:
python3 img2logo.py <image file path> <output folder path> -m ts101 --merge <Path to main firmware>
As a demo, here is a merged file I used that works for me 😓 IronOS.zip
Ben, Wow ! Sorry to drive all this work… But I really appreciate it. I will give it a try.
I'm also going to check out some of the other brands that are better behaved with regard to helping people customize their products.
Thanks for doing all this.… I'll report back on how it works -jc
ben, that procedure worked great for me. got your and my logo running . Thanks so much for the workaround. One question.. am i correct that IronOS doesn't yet use the bigger screen on the TS101 ? The logo is fine.. but doesnt fill the screen. I can live with that. Thanks again ! -jc
I've used the new version of the script and firmware, followed the procedure to merge the logo, and it works flawlessly. There's a glitch on the voltage reading, but it's a minor inconvenience. Thanks to @Ralim for the great work!
https://github.com/user-attachments/assets/2a85c4d7-44f5-4ac2-b825-e9f74bcfeb64
@mattia777 Could you open an IronOS issue around the broken screen and include in it exactly which file you merged with and used to get to the broken screen?
Going to close this one as the core issue is mitigated
I've created a boot-up logo for my TS101 in Photoshop, then I've used the python script to create the .hex and .dfu files.
When i put the iron in DFU mode and copy the .hex file into the folder it reboots and then it creates a .ERR file.
I've tried to export the logo (96x16 pixels) in .png and in .bmp but the result seems to be the same.
btw the logo is a 1.420 byte file
DFU:1.05 V2.22E.C308FE8C 05-11-23