-
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
bad magic number #6
Comments
please send me the firmware version, and the result of ./k5prog -r -vvv |
Thank you for your quick response! flasher v
./k5prog -r -vvv
|
Maybe uv-k5 has an issue with my USB-ttl converter? |
i don't think so. you have been able to read the flasher version, so the serial device seems to work. can you try the vendor software and see if that works? but if you can borrow a different cable, then please do so. there might be issues with timeouts etc. what operating system is this under? |
Yep. It was converter PL2303TA did not work correctly with UV-K5 |
the issue is still "mystical", because you were able to read the flasher version. the cable seems to be receiving gibberish (00 00 01 f8 etc...). might be because of higher input impedance etc. you've closed the issue, and that's fine because you've found that changing the cable solves the issue. however if you want to reopen it to investigate this further, i can do that |
This problem reproduces on one of my K5s but not on the other.
|
Well I don't know if it helps, but this K5 is a bit different because it's manufactured earlier than others (March, 2023) |
interesting, i haven't seen such a flash packet before, and this is probably the smallest flash packet possible. try the latest k5prog version and see if it works. it does work on k5emulator, but it doesn't have any of the radio logic. |
What makes it even more interesting is that I'm able to flash this K5 using the official flasher but not with k5prog. |
you mean that the latest version doesn't work? will look into it tonight (in about 12h), it seems that the whole magic string detection has to be redone. i know the official flasher v1.1.1 doesn't work with the 22 byte packet, but will try the latest version |
please try the latest version |
I'm not the OP, but I've had similar issues to some of these open issues on my UV-5R plus, and your latest series of commits fixed it. Thanks! |
I have the same issue with the same log on a new device bought from aliexpress. Currently I'm investigate it and wrote my own tool to analyze device responses and parse packets to readable form. What I found is that it looks like there is some issue with receive packets from PC to device. I think there is possible broken serial channel from PC to device, so it cannot listen what I send. |
Hi.
Can somebody explain why the magic number buf[1] cannot be
0xcd
?Cause I have two UV-k5 that I can't read/write.
The text was updated successfully, but these errors were encountered: