Ralim / IronOS

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

Return to the problem of installing firmware 2.16 on TS100 with DFU 3.48 #1214

Closed PUF52 closed 2 years ago

PUF52 commented 2 years ago

Ralim, although you closed this problem, it remained for me. Not a single firmware is loaded on the soldering iron, except for the Chinese stock 2.20, including your 2.16. after downloading and copying. I can not solve this problem myself and I ask for your help. On two other soldering irons with DFU 3.45, everything happens normally and without problems. I also loaded your corrected firmware - the behavior is similar, the soldering iron falls off the computer.

https://user-images.githubusercontent.com/86562320/152643926-54741d50-3938-4459-bd7e-053a178e74a2.mp4

discip commented 2 years ago

@PUF52 Since this seems to be related to DFU3.48 you should consider sticking to the already existing issue https://github.com/Ralim/IronOS/issues/1177 like @tichy158 & @Gansgod did.

Maybe try

  1. removing any Cyrillic letters from the files name
  2. copying the file using drag & drop

Or you could try the DFU bootloader by @Ralim.

Before doing anything though read the docs carefully Readme, Backup & Bootloader

He tried it on his TS100, TS80 & TS80P and I also tried it on my TS80P. I am currently running the latest build successfully!

discip commented 2 years ago

Seems you are not the only one facing this issue, so maybe some fellow sufferer is brave enough to try the custom bootloader for you. 😊

PUF52 commented 2 years ago

Replacing Cyrillic letters with English did not give anything. I'm afraid to flash an alternative bootloader myself, because I don't consider myself a specialist, I'm afraid of a brick.

PUF52 commented 2 years ago

Here is an interesting behavior of the firmware is visible. Now I remember the following: after receiving a soldering iron with firmware 2.20, I immediately flashed it to the Ralim 2.16 version and it behaved like Dima Stebev, a lot of artifacts, bugs, etc. Then, after modifications by Ralim (after requests from users) of firmware 2.16, I also flashed the modified firmware. And so, after that, leapfrog began - the soldering iron falls off the computer and no firmware gets on the soldering iron. What is it. The soldering iron itself somehow reconfigured. For the first time, 2.16, although it crookedly stood on the soldering iron, but then nothing. Unclear.

PUF52 commented 2 years ago

Ralim? good evening, and if I give you access to my computer through Team Vie Ver, can you remotely change the bootloader for me?

Ralim commented 2 years ago

Hia, That error your are seeing is NOT because of the firmware itself, but it is usually a sign of the bootloader having issues.

So far historically it has been fixed by:

Most likely you have something on your computer such as anti-virus that is interfering with the file copy.

Always make sure file names are in english and are kept short, as their firmware does not handle Russian characters and can cause issues.

You wont be able to change the bootloader either until you resolve this.

Sorry for the delay, timezone overlap means I'm not really around when you are much :)

PUF52 commented 2 years ago

Greetings. Tried all your suggestions, no progress. I understand that the firmware has nothing to do with it, it's all about the bootloader. How to downgrade DFU. I'm at a dead end.

PUF52 commented 2 years ago

By the way, I tried to install your modified firmware 2.16 on my backup soldering iron with DFU 3.45. Everything went well, the modified firmware got up successfully, which once again confirms that the problem lies in the bootloader. Is there a way to downgrade the DFU version?

JugglerLKR commented 2 years ago

@PUF52 Do DFU 3.48 works as expected when flashing stock firmwares?

PUF52 commented 2 years ago

Of the stock, it only works correctly with v2.20, with which the soldering iron came.

paulfertser commented 2 years ago

Hi,

Try flashing https://github.com/Ralim/ts100/blob/master/Development%20Resources/force_blank_flash.hex (it is going to do full erase of everything but the bootloader).

If this doesn't work (leads too bootloader rebooting) I'd try taking just half of it and flashing again.

PUF52 commented 2 years ago

halfferzer, If I knew how it's done

JugglerLKR commented 2 years ago

halfferzer, If I knew how it's done

just flash it as you do with regular firmware. if it flashes ok (force_blank_flash.RDY), then flash Ralim's 2.16. BTW, I see stock firmares has 8.3 names. it is for compatibility or just a coincidence?

PUF52 commented 2 years ago

Send me this file, I can not understand and find it

JugglerLKR commented 2 years ago

Send me this file, I can not understand and find it

There is a link above https://github.com/Ralim/ts100/blob/master/Development%20Resources/force_blank_flash.hex

Download and flash it.

There is no PM on github so I reply in russian here: Скачай файл по ссылке. Прошей в паяльник. Это файл для очистки флеша, но он не стриает dfu. Потом прошей прошивку Ralimа.

PUF52 commented 2 years ago

I can't figure out where to download this file.

paulfertser commented 2 years ago

On Sun, Feb 06, 2022 at 06:15:27AM -0800, PUF52 wrote:

I can't figure out where to download this file.

https://github.com/Ralim/IronOS/raw/master/Development%20Resources/force_blank_flash.hex

PUF52 commented 2 years ago

I can't find it, just send me the file

PUF52 commented 2 years ago

I couldn't find the download from your links.

discip commented 2 years ago

@PUF52 Here you go. force_blank_flash.zip

PUF52 commented 2 years ago

ZIP file received, unpacked, copied to the soldering iron disk, but it is not put on the soldering iron, everything falls off, as when trying to install the firmware.    

Юрий    

Воскресенье, 6 февраля 2022, 20:56 +06:00 от discip @.>:     @. Here you go. force_blank_flash.zip ️ — Reply to this email directly, view it on GitHub , or unsubscribe . Triage notifications on the go with GitHub Mobile for iOS or Android . You are receiving this because you were mentioned. Message ID: <Ralim/IronOS/issues/1214/1030848741 @ github . com>  

paulfertser commented 2 years ago

On Sun, Feb 06, 2022 at 07:06:32AM -0800, PUF52 wrote:

ZIP file received, unpacked, copied to the soldering iron disk, but it is not put on the soldering iron, everything falls off, as when trying to install the firmware.

Probably the filename does make a difference? Can you rename it to the same name as "mini" firmware that works? Please try exactly that, and with all the letters having the same case.

If the target still disconnects from the computer try cutting the file in half (it's a text file, you can edit it and remove half the lines).

PUF52 commented 2 years ago

Может быть, имя файла имеет значение? Можете ли вы переименовать его в то же имя, что и "мини" прошивка, которая работает? Пожалуйста, попробуйте именно так и со всеми буквами в одном регистре. Если цель по-прежнему отключается от компьютера, попробуйте разрезать файл пополам (это текстовый файл, вы можете отредактировать его и удалить половину строк).

Сделал, но не помогло

JugglerLKR commented 2 years ago

Сделал, но не помогло

Try booting from USB/CD latest Ubuntu and try flashing iron in it. If there is a problem with your windows installation, it should solve it. Or you can try any Windows 10 based PE bootable ISO with latest drivers in it. Try booting windows in safe mode with minimum drivers enables (only usb has to work). Also, as already mentioned eralier, try different micro-usb cable (better use ones that comes with phones). Remove all other usb devices. Do not use hub/extenders. Do not flash from front USB, connect cable to rear usb (if your PC has both usb 2.0 and 3.0 use 2.0 first). Then, try another computer.

PUF52 commented 2 years ago

Tried everything - to no avail

discip commented 2 years ago

Still assuming the bootloader is the culprit. 😉

PUF52 commented 2 years ago

I agree

JugglerLKR commented 2 years ago

In the video iron disconnects while copying file.. This means flashing stock 2.20 from miniware also will not work.

PUF52 commented 2 years ago

Stock sews beautifully

JugglerLKR commented 2 years ago

Stock sews beautifully

Try to rename Ralim's firmware to exaclty the same as stock filename.

PUF52 commented 2 years ago

Failed. It doesn't solve the problem

Ralim commented 2 years ago

TS100_EN.zip Can you try this adjusted hex file?

Gansgod commented 2 years ago

@Ralim Tried your file just now. The result is the same. Error. Soldering iron is not stitched

PUF52 commented 2 years ago

Tried. Didn't solve the problem. The soldering iron falls off.

Ralim commented 2 years ago

As in it shows you the error or you get a .ERR file?

PUF52 commented 2 years ago

It's just that the disk that appeared after connecting the soldering iron to the computer disappears, the .err file does not appear.

Gansgod commented 2 years ago

when you try to throw off the firmware file, the drive is turned off. and the soldering iron turns into a brick. Chinese firmware 2.20 is installed normally

PUF52 commented 2 years ago

This is what is not clear. Why does firmware 2.20 like DFU3.48 and it is successfully installed on a soldering iron, but any other firmware does not like it. Maybe it's in the firmware and DFU? in their incompatibility.

Ralim commented 2 years ago

I have tested here with DFU 3.48 and DFU 3.49 without any issues which is why its interesting that you are both having these issues

Gansgod commented 2 years ago

This is very strange, I don't know what to do

PUF52 commented 2 years ago

Many are interested in overcoming this problem. She is. I changed computers, changed USB cords, renamed, tried to clean the flash - it's useless. Mystery.

PUF52 commented 2 years ago

Well, if you don't know, I'm all the more stumped. Don't leave us, there are many of us.

Eugene-Market commented 2 years ago

The firmware is being installed, but nothing is clear on the screen

PUF52 commented 2 years ago

Я протестировал здесь DFU 3.48 и DFU 3.49 без каких -либо проблем, поэтому интересно, что у вас обоих есть эти проблемы.

Ralim, Can you really connect remotely to my computer and really see what's going on? Can you copy some logs? I can simply provide this access, I just understand that without a soldering iron with such an error on hand, it is difficult to do something remotely, but here there will be direct access.

Eugene-Market commented 2 years ago

The firmware is being installed, but nothing is clear on the screen

by the way DFU 3.47

Ralim commented 2 years ago

@PUF52 I cannot remotely connect to a computer for security reasons.

At this point I dont even know whats best to try since it looks like the bootloader is just crashing partway through flashing, and if its not your pc or your hardware (cables,ports) it makes no sense.

@Eugene-Market Have you confirmed your device is the GD32 chip, and are you sure you are installing the correct build of the firmware?

PUF52 commented 2 years ago

Photo of my chip 2022-2-8 10-41-32 I put the firmware that you sent me here I'm sure I'm installing the correct firmware

PUF52 commented 2 years ago

дополнительно 20220208_123322 20220208_122338 20220208_122546 20220208_123012

Eugene-Market commented 2 years ago

Have you confirmed your device is the GD32 chip, and are you sure you are installing the correct build of the firmware?

What is correct firmware? I install 2.16 ts100, I tried languages: Russian, French, English, the screen is empty on the chip is written the same as in this picture

image

PUF52 commented 2 years ago

Ralm, by the way, what version of Windows are you using when testing? Its rank?