UltimateHackingKeyboard / firmware

Ultimate Hacking Keyboard firmware
Other
420 stars 66 forks source link

Updating Firmware to 11.2.0 always fails #812

Open Warrost opened 1 month ago

Warrost commented 1 month ago

Latest Agent is installed, trying to update to 11.2.0 via firmware bundled with agent, nor manually downloading the firmware and using the agent to flash it works. Things I did:

Nothing works. However flashing back to 11.1.1 or 11.1.0 works without an issue.

Start flashing firmware.txt

mondalaci commented 1 month ago

Please retry on another computer.

Warrost commented 1 month ago

Please retry on another computer.

Hi there,

I've used a different PC, but it still doesn't work. Same issue.

Best regards.

mondalaci commented 1 month ago

@ert78gb Please look into this.

ert78gb commented 1 month ago

based on the logs. The right half can't communicate with the left half. [DeviceOperation] Cannot ping the bootloader. Please remove the "Left keyboard half" module, and keep reconnecting it until you see this message.

Please start the firmware upgrade and check the logs. If you see the [DeviceOperation] Cannot ping the bootloader. Please remove the "Left keyboard half" module, and keep reconnecting it until you see this message. message then please disconnect the bridge cable from the left half and reconnect again. Wait few seconds and if you still see the mentioned error message then repeat the steps.

Warrost commented 1 month ago

based on the logs. The right half can't communicate with the left half. [DeviceOperation] Cannot ping the bootloader. Please remove the "Left keyboard half" module, and keep reconnecting it until you see this message.

Please start the firmware upgrade and check the logs. If you see the [DeviceOperation] Cannot ping the bootloader. Please remove the "Left keyboard half" module, and keep reconnecting it until you see this message. message then please disconnect the bridge cable from the left half and reconnect again. Wait few seconds and if you still see the mentioned error message then repeat the steps.

Hi ert78gb,

I've tried it several times, I disconnected the bridge cable, reconnected again. The error still appears.

ert78gb commented 1 month ago

Hi @Warrost ,

Could you run the Agent with -- --log=misc,usb command line arguments and send me the logs.

Thanks, Robi

Warrost commented 1 month ago

Hi @ert78gb ,

log-misc_USB.txt

Best regards

ert78gb commented 1 month ago

@Warrost the attached log file does not contain the usb communication entries. the two times of the double dash -- is not a mistake. You have to use them. After you started the Agent please also run the firmware upgrade process.

Warrost commented 1 month ago

@ert78gb ahh got you, I attached the correct log now.
log-misc_USB2.txt

mondalaci commented 1 month ago

@Warrost It's still worth reconnecting the halves until the firmware update works. Sometimes, it takes a lot of tries. Alternatively, feel free to contact us, and we'll recall your UHK.

mhantsch commented 1 month ago

Btw, the message [DeviceOperation] Cannot ping the bootloader. Please remove the "Left keyboard half" module, and keep reconnecting it until you see this message. is confusing. I guess you mean "keep reconnecting it until you do NOT see this message anymore"?

Warrost commented 1 month ago

@Warrost It's still worth reconnecting the halves until the firmware update works. Sometimes, it takes a lot of tries. Alternatively, feel free to contact us, and we'll recall your UHK.

Thanks for the offer, I'd like to keep my board as long as possible, since I customized it quite a bit. I'm just confused, since only this particular firmware version leads to issues.
I have no problem whatsoever when I flash 11.1.1 or 11.1.0.
Only 11.2.0 seem to have a problem with the bootloader.
I also have no problems in the daily operation of the keyboard, it works perfectly fine.

mondalaci commented 1 month ago

@mhantsch Great catch, thanks!

@ert78gb Please update the message accordingly.

@Warrost Your finding is very unusual. Can you consistently flash 11.1.1 and 11.1.0 but not 11.2.0?

ert78gb commented 1 month ago

Only 11.2.0 seem to have a problem with the bootloader.

The checksum of the installed left firmware version (10.3.0) and the 11.1.1 or 11.1.0 are equal, so Agent skips the firmware upgrade of the left half.