-
Notifications
You must be signed in to change notification settings - Fork 36
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
Flasher version check fail #9
Comments
Might be a timeout issue on some operating systems and some usb/serial drivers which have more latency (buffer more etc) Please modify all occurrences of k5_receive(fd,10000); change to k5_receive(fd,100000); Could you also try running it on linux? |
Their radios bootloader is sending a different packet than normal, so k5prog see's that as an invalid packet to move forward with the flash upload. I'd like to know what bootloader version is in the radio. |
|
EDIT: don't use this one, use the one in the next post Please try this version and see what debug log it produces. also if it doesn't work, try changing 0x9 the byte in line 664 to 0x8 and 0xa and see if that helps |
No, try this one and see if it works with your radio |
hello, sorry for the slow reply compiling and running the test2.zip content, im getting the same issue
|
Please check out the latest version of k5prog and see if it works for you with this radio |
apologies for late response. a few days ago, i was testing the update with the previous commands, i was still getting the |
|
i have made some alterations to the c code, and now it results to this:
with the same modification was able to successfully flash a custom firmware and boot successfully:
prior to this modification, when attempting to flash firmware with v0.9, a similar |
thanks, seems the "i'm in flashing mode" packet detection has to be redone. also see: i will try to look what the new vendor flasher looks for using k5emulator. won't use your patch right now because i don't want to break support for the majority of radios (which do work), but maybe i will use it or something similar later. interesting thing about your debug output: the packet is somethimes 20 bytes and sometimes 22 bytes |
please see if this version works for you |
I got exactly same issue on the new batch of UV-K5. Seems like they changed the bootloader?
|
Ohh, I see this is fixed in main. Sorry and thank you! |
Hello!
I'm running k5prog under cygwin and successfully read eeprom data with radio in normal mode
However, when reading flasher/bootloader version, the program fails
I'm using a generic ch340 'baofeng' serial cable, cygwin under windows 11. I can confirm the radio and cable works with official QS updater.
I suspect that this issue prevents flashing firmware through k5prog and k5prog-win. https://github.com/OneOfEleven/k5prog-win/issues/4
The text was updated successfully, but these errors were encountered: