[chirp_users] Baofeng UV-6 -- Radio refused clone
I have a brand new UV-6 that I just received that won't allow me to perform a download. It gives a "Radio refused clone" error.
I have a known working cable. It's a Prolific "clone" but I know it works as I have used it on this computer and several others to program several different UV-5R's. I am using Ubuntu 13.10 with the latest daily build (20140413). The cable shows up on /dev/ttyUSB0 and my ID is a member of the dialout group (as I mentioned, I've used this combination of computer and cable with the UV-5R).
What happens is that it appears to be communicating initially to get the ident, but it gets a zero back for the 'ack' afterwards instead of the expected value of "\x06". At least that's what I'm gathering from reading the code. I've got years of experience as a developer, but only know enough Python to follow the broad outline of what is taking place (perhaps this will be my excuse to finally learn Python). I was able, though, to add a line of code to dump the ack value, which is how I found that it's zero.
I just wanted to check to see if anyone had seen this or knew of something I might be missing before I troubled the developers by opening a ticket.
Here is the output I'm getting (from stdout, as it doesn't seem to be creating a debug.log anywhere): (includes my extra line of output)
turnera@runabout:~/Downloads/CHIRP/chirp-daily-20140413$ ./chirpw CHIRP daily-20140413 on Linux - Ubuntu 13.10 (Python 2.7.5+)
(process:29928): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. Registered Icom_IC-2820H = IC2820Radio Registered Yaesu_VX-8_R = VX8Radio Registered Yaesu_VX-8_DR = VX8DRadio Registered Yaesu_VX-8_GE = VX8GERadio Registered Puxing_PX-777 = Puxing777Radio Registered Puxing_PX-2R = Puxing2RRadio Registered Generic_CSV = CSVRadio Registered Commander_KG-UV = CommanderCSVRadio Registered RT_Systems_CSV = RTCSVRadio Registered Icom_IC-2100H = IC2100Radio Registered Yaesu_FTM-350 = FTM350Radio Registered Icom_ID-800H_v2 = ID800v2Radio Registered TYT_TH-UV3R = TYTUV3RRadio Registered Yaesu_FT-7800_7900 = FT7800Radio Registered Yaesu_FT-8800 = FT8800Radio Registered Yaesu_FT-8900 = FT8900Radio Registered Yaesu_VX-170 = VX170Radio Registered Yaesu_VX-7 = VX7Radio Registered Icom_IC-208H = IC208Radio Registered Yaesu_VX-6 = VX6Radio Registered Baofeng_UV-B5 = BaofengUVB5 Registered Icom_IC-91_92AD_ICF_File = IC9xICFRadio Registered Icom_IC-V82_U82 = ICx8xRadio Registered Yaesu_VX-3 = VX3Radio Registered Icom_IC-2200H = IC2200Radio Registered Icom_7200 = Icom7200Radio Registered Icom_7000 = Icom7000Radio Registered Icom_746 = Icom746Radio Registered Icom_IC-T70 = ICT70Radio Registered KYD_NC-630A = NC630aRadio Registered Kenwood_TK-7102 = KenwoodTK7102Radio Registered Kenwood_TK-8102 = KenwoodTK8102Radio Registered Kenwood_TK-7108 = KenwoodTK7108Radio Registered Kenwood_TK-8108 = KenwoodTK8108Radio Registered Baofeng_UV-5R = BaofengUV5R Registered Baofeng_F-11 = BaofengF11Radio Registered Baofeng_UV-82 = BaofengUV82Radio Registered Baofeng_UV-6 = BaofengUV6Radio Registered Intek_KT-980HP = IntekKT980Radio Registered Baofeng_UV-3R = UV3RRadio Registered Icom_IC-91_92AD = IC9xRadio Registered Yaesu_FT-60 = FT60Radio Registered Icom_ID-31A = ID31Radio Registered Yaesu_FT-817 = FT817Radio Registered Yaesu_FT-817ND = FT817NDRadio Registered Yaesu_FT-817ND_US = FT817NDUSRadio Registered TYT_TH-UVF1 = TYTTHUVF1Radio Registered Generic_XML = XMLRadio Registered AnyTone_5888UV = AnyTone5888UVRadio Registered Intek_HR-2040 = IntekHR2040Radio Registered Polmar_DB-50M = PolmarDB50MRadio Registered Powerwerx_DB-750X = PowerwerxDB750XRadio Registered Yaesu_VX-2 = VX2Radio Registered Yaesu_FT-2800M = FT2800Radio Registered Icom_ID-51A = ID51Radio Registered Icom_ID-880H = ID880Radio Registered Icom_ID-80H = ID80Radio Registered Icom_IC-T7H = ICT7HRadio Registered Vertex_Standard_VXA-700 = VXA700Radio Registered Icom_IC-Q7A = ICQ7Radio Registered Icom_IC-T8A = ICT8ARadio Registered Yaesu_VX-5 = VX5Radio Registered Yaesu_FT-1802M = FT1802Radio Registered Icom_IC-2720H = IC2720Radio Registered Wouxun_KG-UVD1P = KGUVD1PRadio Registered Wouxun_KG-UV6 = KGUV6DRadio Registered Wouxun_KG-816 = KG816Radio Registered Wouxun_KG-818 = KG818Radio Registered Icom_IC-W32A = ICW32ARadio Registered Kenwood_HMK = HMKRadio Registered Alinco_DR03T = DR03Radio Registered Alinco_DR06T = DR06Radio Registered Alinco_DR135T = DR135Radio Registered Alinco_DR235T = DR235Radio Registered Alinco_DR435T = DR435Radio Registered Alinco_DJ596 = DJ596Radio Registered Jetstream_JT220M = JT220MRadio Registered Alinco_DJ175 = DJ175Radio Registered Kenwood_TH-D72_clone_mode = THD72Radio Registered Kenwood_ITM = ITMRadio Registered Baojie_BJ-UV55 = BaojieBJUV55Radio Registered Yaesu_FT-90 = FT90Radio Registered Baofeng_BF-888 = H777Radio Registered Kenwood_TH-D7 = THD7Radio Registered Kenwood_TH-D7G = THD7GRadio Registered Kenwood_TM-D700 = TMD700Radio Registered Kenwood_TM-V7 = TMV7Radio Registered Kenwood_TM-G707 = TMG707Radio Registered Kenwood_TH-G71 = THG71Radio Registered Kenwood_TH-F6 = THF6ARadio Registered Kenwood_TH-F7 = THF7ERadio Registered Kenwood_TM-D710 = TMD710Radio Registered Kenwood_TH-D72_live_mode = THD72Radio Registered Kenwood_TM-V71 = TMV71Radio Registered Kenwood_TH-K2 = THK2Radio Registered Kenwood_TM-271 = TM271Radio Registered Kenwood_TM-281 = TM281Radio Registered Kenwood_TM-471 = TM471Radio Registered ARRL_Travel_Plus = TpeRadio Registered Yaesu_FT-857_897 = FT857Radio Registered Yaesu_FT-857_897_US = FT857USRadio Registered TYT_TH-UVF8D = TYTUVF8DRadio Skipping existing stock config Skipping existing stock config Skipping existing stock config Skipping existing stock config Skipping existing stock config Skipping existing stock config Skipping existing stock config Skipping existing stock config User selected Baofeng UV-6 on port /dev/ttyUSB0 Clone thread started Sending Magic: 000: 50 bb ff 20 12 08 23 00 P.....#.
Ident: 000: aa 01 01 36 01 74 01 04 ...6.t..
Ack: 000: 00 00 00 00 00 00 00 00 ........
Radio refused clone -- Exception: -- Traceback (most recent call last): File "/home/turnera/Downloads/CHIRP/chirp-daily-20140413/chirpui/clone.py", line 227, in run self.__radio.sync_in() File "/home/turnera/Downloads/CHIRP/chirp-daily-20140413/chirp/uv5r.py", line 619, in sync_in self._mmap = _do_download(self) File "/home/turnera/Downloads/CHIRP/chirp-daily-20140413/chirp/uv5r.py", line 450, in _do_download data = _ident_radio(radio) File "/home/turnera/Downloads/CHIRP/chirp-daily-20140413/chirp/uv5r.py", line 446, in _ident_radio raise error RadioError: Radio refused clone ------ Clone failed: Radio refused clone Clone thread ended --- Exception Dialog: Radio refused clone --- None ---------------------------- turnera@runabout:~/Downloads/CHIRP/chirp-daily-20140413$
On Wed, Apr 16, 2014 at 1:07 AM, Aubrey Turner aubrey.c.turner@gmail.comwrote:
Ident: 000: aa 01 01 36 01 74 01 04 ...6.t..
It looks like either the memory layout has change or your radio needs reset. This is what the "Ident" should look like.
AA 36 74 04 00 05 20 DD
It is a record of the factory band limits and is the same format for all UV-5R variants since the BFB291 firmware was released.
36 = VHF lower limit of 136 MHz 74 = VHF upper limit of 174 MHz 04 00 = UHF lower limit of 400 MHz 05 20 = VHF upper limit of 520 MHz
And yours looks to me like
aa 01 01 36 01 74 01 04
01 = separator 01 36 = VHF lower limit 01 = separator 01 74 = VHF upper limit 01 = separator just guessing beyond this point 04 00 = UHF lower limit 01 = separator 05 20 = UHF upper limit
If I am correct, this first part of memory has been expanded and all of the memory mapping afterwords is offset. So even if you got past this "Radio refused clone" error, the settings would be all wrong.
Are you able to get this radio to work with the Baofeng software?
Jim KC9HI
Jim,
No, I haven't tried the Baofeng factory software yet, but I'll give it a try tonight when I can get to my Windows laptop.
If that works, is there anything you might want me to do with regards to getting an image or tracing something?
If not, do you recommend I do a factory reset and try CHIRP again?
Thanks, Aubrey
On 04/16/2014 05:38 AM, Jim Unroe wrote:
On Wed, Apr 16, 2014 at 1:07 AM, Aubrey Turner <aubrey.c.turner@gmail.com mailto:aubrey.c.turner@gmail.com> wrote:
Ident: 000: aa 01 01 36 01 74 01 04 ...6.t..
It looks like either the memory layout has change or your radio needs reset. This is what the "Ident" should look like.
AA 36 74 04 00 05 20 DD
It is a record of the factory band limits and is the same format for all UV-5R variants since the BFB291 firmware was released.
36 = VHF lower limit of 136 MHz 74 = VHF upper limit of 174 MHz 04 00 = UHF lower limit of 400 MHz 05 20 = VHF upper limit of 520 MHz
And yours looks to me like
aa 01 01 36 01 74 01 04
01 = separator 01 36 = VHF lower limit 01 = separator 01 74 = VHF upper limit 01 = separator just guessing beyond this point 04 00 = UHF lower limit 01 = separator 05 20 = UHF upper limit
If I am correct, this first part of memory has been expanded and all of the memory mapping afterwords is offset. So even if you got past this "Radio refused clone" error, the settings would be all wrong.
Are you able to get this radio to work with the Baofeng software?
Jim KC9HI
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users
On Wed, Apr 16, 2014 at 9:27 AM, Aubrey Turner aubrey.c.turner@gmail.comwrote:
Jim,
No, I haven't tried the Baofeng factory software yet, but I'll give it a try tonight when I can get to my Windows laptop.
If that works, is there anything you might want me to do with regards to getting an image or tracing something?
If not, do you recommend I do a factory reset and try CHIRP again?
Thanks, Aubrey
Aubrey,
Do you have a 32-bit Windows that you could use to capture the serial port?
If you can capture the serial port with Portmon while downloading with the Baofeng software, looking at the capture might give a clue to what is going on.
http://technet.microsoft.com/en-us/sysinternals/bb896644.aspx
Jim KC9HI
That's actually a bit of a tough one... all my operational Windows systems have 64-bit Windows 7. I might have a license for XP floating around, though. I'd have to dig around to find it and then set up a system to run it on.
For the moment I was able to program it using the Baofeng software (I used the radio at an event this weekend).
I'll see what I can do about 32-bit Windows but it'll be a week or so before I can get to it. On Apr 20, 2014 4:37 PM, "Jim Unroe" rock.unroe@gmail.com wrote:
On Wed, Apr 16, 2014 at 9:27 AM, Aubrey Turner aubrey.c.turner@gmail.comwrote:
Jim,
No, I haven't tried the Baofeng factory software yet, but I'll give it a try tonight when I can get to my Windows laptop.
If that works, is there anything you might want me to do with regards to getting an image or tracing something?
If not, do you recommend I do a factory reset and try CHIRP again?
Thanks, Aubrey
Aubrey,
Do you have a 32-bit Windows that you could use to capture the serial port?
If you can capture the serial port with Portmon while downloading with the Baofeng software, looking at the capture might give a clue to what is going on.
http://technet.microsoft.com/en-us/sysinternals/bb896644.aspx
Jim KC9HI
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users
Had a bit of trouble myself. Tried the factory software and all it does is flash my screen until I kill the program. I agree with the CHIRP option. It took me a couple tries but I finally got it. Here are the links to three youtube videos. I went through these and found that the driver was not installed properly. Fixed that and now can upload and download all the way to excel then back up to radio. Works really well.
https://www.youtube.com/watch?v=arpGoThEtCE https://www.youtube.com/watch?v=U-opjn22kbQ https://www.youtube.com/watch?v=Vc7rMM7jGxc
Many times the factory software will flash as it's searching for the com port of the cable. The flashing will stop when the USB cable is plugged in.
John K3NXU
From: chirp_users-bounces@intrepid.danplanet.com [mailto:chirp_users-bounces@intrepid.danplanet.com] On Behalf Of Chuck Mills Sent: Sunday, April 20, 2014 7:39 PM To: Discussion of CHIRP Subject: Re: [chirp_users] Baofeng UV-6 -- Radio refused clone
Had a bit of trouble myself. Tried the factory software and all it does is flash my screen until I kill the program. I agree with the CHIRP option. It took me a couple tries but I finally got it. Here are the links to three youtube videos. I went through these and found that the driver was not installed properly. Fixed that and now can upload and download all the way to excel then back up to radio. Works really well.
https://www.youtube.com/watch?v=arpGoThEtCE
On Sun, Apr 20, 2014 at 7:39 PM, Chuck Mills chuck.mills@rocketmail.comwrote:
Had a bit of trouble myself. Tried the factory software and all it does is flash my screen until I kill the program. I agree with the CHIRP option. It took me a couple tries but I finally got it. Here are the links to three youtube videos. I went through these and found that the driver was not installed properly. Fixed that and now can upload and download all the way to excel then back up to radio. Works really well.
https://www.youtube.com/watch?v=arpGoThEtCE https://www.youtube.com/watch?v=U-opjn22kbQ https://www.youtube.com/watch?v=Vc7rMM7jGxc
Chuck,
The flashing is Baofeng's way of detecting the serial. So plug your USB programming cable in to establish a virtual serial port before you launch the program.
If you wait long enough, the OEM program will eventually give up, so there is not need to "kill" it.
Jim KC9HI
On Sun, Apr 20, 2014 at 6:05 PM, Aubrey Turner aubrey.c.turner@gmail.comwrote:
That's actually a bit of a tough one... all my operational Windows systems have 64-bit Windows 7. I might have a license for XP floating around, though. I'd have to dig around to find it and then set up a system to run it on.
For the moment I was able to program it using the Baofeng software (I used the radio at an event this weekend).
I'll see what I can do about 32-bit Windows but it'll be a week or so before I can get to it.
I believe that Jens recommends the Free Serial Analyzer. It run on a
64-bit computer but I don't know enough about it to tell you how to use it.
http://freeserialanalyzer.com/
Jim KC9HI
I'll have a look at this, then. It's worth a try before going through all the trouble of setting up a 32-bit system. On Apr 20, 2014 7:43 PM, "Jim Unroe" rock.unroe@gmail.com wrote:
On Sun, Apr 20, 2014 at 6:05 PM, Aubrey Turner aubrey.c.turner@gmail.comwrote:
That's actually a bit of a tough one... all my operational Windows systems have 64-bit Windows 7. I might have a license for XP floating around, though. I'd have to dig around to find it and then set up a system to run it on.
For the moment I was able to program it using the Baofeng software (I used the radio at an event this weekend).
I'll see what I can do about 32-bit Windows but it'll be a week or so before I can get to it.
I believe that Jens recommends the Free Serial Analyzer. It run on a
64-bit computer but I don't know enough about it to tell you how to use it.
http://freeserialanalyzer.com/
Jim KC9HI
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users
Jim,
I was able to read from the radio using the Baofeng software (the "UV-6 UV-7 Series software" *)
* http://www.baofengradio.com/UploadFiles/20130521142814635.rar
I read the radio and stored the settings to a .DAT file using the Baofeng software. I didn't attempt to program it yet, though, in case there was something you wanted me to try and it needed to stay in its current state.
Thanks, Aubrey
On 04/16/2014 05:38 AM, Jim Unroe wrote:
On Wed, Apr 16, 2014 at 1:07 AM, Aubrey Turner <aubrey.c.turner@gmail.com mailto:aubrey.c.turner@gmail.com> wrote:
Ident: 000: aa 01 01 36 01 74 01 04 ...6.t..
It looks like either the memory layout has change or your radio needs reset. This is what the "Ident" should look like.
AA 36 74 04 00 05 20 DD
It is a record of the factory band limits and is the same format for all UV-5R variants since the BFB291 firmware was released.
36 = VHF lower limit of 136 MHz 74 = VHF upper limit of 174 MHz 04 00 = UHF lower limit of 400 MHz 05 20 = VHF upper limit of 520 MHz
And yours looks to me like
aa 01 01 36 01 74 01 04
01 = separator 01 36 = VHF lower limit 01 = separator 01 74 = VHF upper limit 01 = separator just guessing beyond this point 04 00 = UHF lower limit 01 = separator 05 20 = UHF upper limit
If I am correct, this first part of memory has been expanded and all of the memory mapping afterwords is offset. So even if you got past this "Radio refused clone" error, the settings would be all wrong.
Are you able to get this radio to work with the Baofeng software?
Jim KC9HI
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users
participants (4)
-
Aubrey Turner
-
Chuck Mills
-
Jim Unroe
-
John LaMartina