Bug #631
closedAnytone AT-5888UV Fails to Download
0%
Description
CHIRP starts reading this radio gets to clone67 then stops and I get this.
"ERROR" An error has occurred-string index out of range.
Files
Updated by Dan Smith over 11 years ago
- Subject changed from Anytone AT-5888UV to Anytone AT-5888UV Fails to Download
I need the debug log attached to this bug please.
Thanks!
Updated by Ralph Jenkins over 11 years ago
Ralph Jenkins wrote:
Dan there was no debug log just an error window.
CHIRP starts reading this radio gets to clone67 then stops and I get this.
"ERROR" An error has occurred-string index out of range.
Updated by Dan Smith over 11 years ago
There is always a debug log generated, even just for opening chirp itself. Please see the FAQ or How_to_report_issues for details.
Updated by Dan Smith over 11 years ago
- Status changed from New to Feedback
Your debug log shows one of a few things:
Either:
- Your radio is using a different and incompatible firmware version from mine. Can you tell from the OEM software what firmware version yours is? When and where did you purchase your radio from?
- Your driver or cable is bad and is corrupting the communication with the radio
- You chose the wrong serial port
Updated by Ralph Jenkins over 11 years ago
Firmware version 1.0.0 (2012-2013)
Ordered 11-28-2012 received 02-07-2013
www.ImportCommunications.com (Ed Griffin)
Cable works fine with OEM
The program is reading from the radio but it stops at clone67
Updated by Dan Smith over 11 years ago
The debug log you provided shows that the failure occurs during radio identification, which is early in the process, before any blocks have been downloaded. Perhaps in this specific case, the radio was still sitting at the last failed clone step when you captured this log?
Could you try power cycling the radio, starting fresh, and capturing a new debug log to attach here?
Thanks!
Updated by Ralph Jenkins over 11 years ago
Here is a fresh one.
Updated by Dan Smith over 11 years ago
- File anytone.py anytone.py added
I'm attaching a test module that can be loaded into your installation to generate some additional debug information for me. Please save it off as anytone.py and then do the following:
- Close CHIRP
- Power cycle your radio
- Start CHIRP
- Go to File->Load Module and choose the anytone.py file
- Attempt to download your radio
- Close CHIRP and attach your debug.log file here
Thanks!
Updated by Ralph Jenkins over 11 years ago
- Go To File -there is no "Load Module"
There is-Go To File -"New" "Open" "Open stock config" "Quit"
Updated by Ralph Jenkins over 11 years ago
I figured it out.
Here you go.
Updated by Dan Smith over 11 years ago
- File anytone.py anytone.py added
Thanks, I'm attaching another one to gather more information based on what I saw. It's definitely puzzling though. Hopefully this will give me some ideas on things to try to actually make some progress.
Updated by Ralph Jenkins over 11 years ago
OK here it is.
Updated by Seth Stone over 11 years ago
I also have the same issue. Attached is my debug file.
Updated by Dan Smith over 11 years ago
- Assignee set to Dan Smith
- Target version set to 0.4.0
This is interesting, Seth's is actually the same issue. Fails in exactly the same place.
Are either of you guys able to test with your hardware but on a linux or OSX machine? I'll try to find time to cobble together a windows box to try this on soon, but I have to think that it's something quirky like a platform issue.
Thanks!
Updated by Dan Smith over 11 years ago
- Status changed from Feedback to In Progress
Okay, I can reproduce it on Windows! Much easier to debug :)
Updated by Dan Smith over 11 years ago
- File anytone.py anytone.py added
Try this module. It disables the optimization, so the download will take a while, but should make it work for you guys. Please test and let me know.
Updated by Seth Stone over 11 years ago
With that module, I was able to get it to work. Next is the test to see if I can get the data from my Wouxun KG-UV6 to the Anytone 588.
Updated by Dan Smith over 11 years ago
Excellent, thanks. Would still appreciate verification of the real fix once I figure it out :)
For any usage issues, please ask on the mailing list.
Updated by Dan Smith over 11 years ago
- Status changed from In Progress to Resolved
The fix is actually not so clear, because this was a timing issue. However, I think I've got it so that it won't be a problem for now. Future performance changes are really necessary to make this better.
Please let me know how tomorrow's build works. Thanks!
Fixed in r1924
Updated by Ralph Jenkins over 11 years ago
Sorry for such a late report been busy.
This module worked it completed the channel downloads.
As you said it downloaded rather slow but you know now that your on the right track.
Good Job !!
I will work with it a little more in the morning.
Updated by Ralph Jenkins over 11 years ago
Well it's almost morning !!
I find that I have to keep reloading the module in order for this to keep working.
I took and uploaded my Kenwood D710 channels to the Anytone appears to be fine no errors yet!
Updated by Dan Smith over 11 years ago
Yes, that's correct, you'll have to re-load the module each time you start chirp. Tomorrow's build will have my workaround in it, so if that works well, then you won't have to load the module anymore.
Glad to hear that it's working for you, thanks for the info!
Updated by Ralph Jenkins over 11 years ago
Sorry but just where is Tomorrow's build or is it done yet?
Updated by Ralph Jenkins over 11 years ago
Forget it I found it.
Downloaded it and it works like a charm.
Thank You !
Updated by Dan Smith over 11 years ago
- Status changed from Resolved to Closed
Cool, thanks for your help and patience!