Project

General

Profile

Actions

Bug #11167

closed

Trouble with UV-13Pro after upload

Added by Cristofer Fuentealba 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Start date:
02/14/2024
Due date:
% Done:

100%

Estimated time:
Chirp Version:
next
Model affected:
baofeng uv-13pro
Platform:
Windows
Debug Log:
I read the instructions above:
Yes

Description

Would someone be so kind as to share a backup copy of the Baofeng UV-13pro device? I used the latest version of chirp and it damaged my computer's memory. thank you


Files

IMG_20240214_092024.jpg (693 KB) IMG_20240214_092024.jpg Cristofer Fuentealba, 02/14/2024 04:42 AM
Baofeng_UV-13Pro.img (36.2 KB) Baofeng_UV-13Pro.img Sander van der Wel, 02/14/2024 08:16 AM
chirp_debug-_mxeypex.txt (3.27 KB) chirp_debug-_mxeypex.txt Cristofer Fuentealba, 02/14/2024 05:11 PM
Baofeng_UV-13Pro_broken.img (36.2 KB) Baofeng_UV-13Pro_broken.img Cristofer Fuentealba, 02/15/2024 07:18 AM
Baofeng_UV-13Pro_(error).img (36.2 KB) Baofeng_UV-13Pro_(error).img copy bad Cristofer Fuentealba, 02/15/2024 10:42 AM
error v13prov2.png (29.3 KB) error v13prov2.png Cristofer Fuentealba, 02/15/2024 10:48 AM
uv13chirp.jpg (362 KB) uv13chirp.jpg CHIRP no gaps Kevin Omura, 02/15/2024 11:54 AM
uv13cps.jpg (338 KB) uv13cps.jpg P15UV gaps Kevin Omura, 02/15/2024 11:55 AM
UV13Pro_V1_working.data (48 KB) UV13Pro_V1_working.data works with CHIRP Kevin Omura, 02/15/2024 01:29 PM
UV13Pro_V2_nonworking.data (48 KB) UV13Pro_V2_nonworking.data corrupt error Kevin Omura, 02/15/2024 01:29 PM
13labels.jpg (385 KB) 13labels.jpg Kevin Omura, 02/15/2024 02:45 PM
IMG_20240216_080757.jpg (397 KB) IMG_20240216_080757.jpg v2 with sma-m with Rot Ulet, 02/15/2024 11:16 PM
Baofeng_UV-13Pro_20240215T150021.img (36.2 KB) Baofeng_UV-13Pro_20240215T150021.img Kevin Omura, 02/16/2024 07:21 AM
uv17fullbackup.py (13.4 KB) uv17fullbackup.py Sander van der Wel, 02/16/2024 10:28 AM
chirp_debug-tue_n2zh_V1.txt (4.01 KB) chirp_debug-tue_n2zh_V1.txt Kevin Omura, 02/16/2024 11:23 AM
backup.bin (64 KB) backup.bin Kevin Omura, 02/16/2024 11:42 AM
backup.bin (64 KB) backup.bin Kevin Omura, 02/16/2024 11:53 AM
UV-13Pro_V1_backup.bin (64 KB) UV-13Pro_V1_backup.bin Jim Unroe, 02/16/2024 03:15 PM
Baofeng_UV-17_20240217.img (36.2 KB) Baofeng_UV-17_20240217.img Dimk Dimk, 02/16/2024 11:05 PM
backup.bin (64 KB) backup.bin UV13PRO V2 backup (with 666.50000 issue) Dimk Dimk, 02/16/2024 11:57 PM
Screenshot from 2024-02-17 11-56-02.png (65.1 KB) Screenshot from 2024-02-17 11-56-02.png Dimk Dimk, 02/16/2024 11:58 PM
Uv13repairTest.py (16.9 KB) Uv13repairTest.py Sander van der Wel, 02/17/2024 02:56 AM
20240217repairTest.py (16.9 KB) 20240217repairTest.py Sander van der Wel, 02/18/2024 01:31 AM
20240217fullbackup.py (13.4 KB) 20240217fullbackup.py Sander van der Wel, 02/18/2024 01:31 AM
backup.bin (64 KB) backup.bin Kevin Omura, 02/20/2024 10:33 AM
backup.bin (64 KB) backup.bin Kevin Omura, 02/20/2024 10:38 AM
backup.bin (64 KB) backup.bin Kevin Omura, 02/20/2024 01:49 PM
Immagine 2024-02-21 002419.jpg (21.6 KB) Immagine 2024-02-21 002419.jpg Daniel Personale, 02/20/2024 03:29 PM
baofeng_uv17.py (13.7 KB) baofeng_uv17.py Sander van der Wel, 02/21/2024 04:33 AM
baofeng_uv17.py (13.9 KB) baofeng_uv17.py Sander van der Wel, 02/23/2024 10:00 AM

Related issues

Related to New Model #9793: Baofeng UV-13 PROClosedSander van der Wel03/19/2022

Actions
Has duplicate Bug #11174: UV-13pro dopo caricamento del file di configurazione la radio non ha più canali, rimane su 666.50000 VFO e batteria non rilevataRejected02/15/2024

Actions
Has duplicate Bug #11186: Baofeng UV13ProRejected02/20/2024

Actions
Actions #2

Updated by Dan Smith 3 months ago

  • Assignee set to Sander van der Wel
Actions #3

Updated by Sander van der Wel 3 months ago

That's weird. I have attached the default image for the UV-13Pro.

Let us know if it helped.

Actions #4

Updated by Cristofer Fuentealba 3 months ago

It didn't work, I think the equipment broke, any direct backup of a UV 13 pro device?

Actions #5

Updated by Cristofer Fuentealba 3 months ago

Is there any way to do a factory format?

Actions #6

Updated by Cristofer Fuentealba 3 months ago

attached debug log loading image

Actions #7

Updated by Jim Unroe 3 months ago

Sander van der Wel wrote in #note-3:

That's weird. I have attached the default image for the UV-13Pro.

Let us know if it helped.

Do know know if this is from a V1 or V2 model?

Actions #8

Updated by Cristofer Fuentealba 3 months ago

Jim Unroe wrote in #note-7:

Sander van der Wel wrote in #note-3:

That's weird. I have attached the default image for the UV-13Pro.

Let us know if it helped.

Do know know if this is from a V1 or V2 model?

My device is v2, I had the problem when loading in chirp and it gave me an error, when trying to load the chirp backup it was no longer possible to use the device

Actions #9

Updated by Cristofer Fuentealba 3 months ago

#9793
There are already several of us with the same problem, I hope someone can help us solve it and not lose the equipment :(

Actions #10

Updated by Dan Smith 3 months ago

Sander van der Wel and Jim Unroe this driver had a problem on the first day it was released - should we be removing it from the build until we investigate further?

Actions #11

Updated by James Dean 3 months ago

here the same problem, block to 666.500

Actions #12

Updated by Dan Smith 3 months ago

Actions #13

Updated by Dan Smith 3 months ago

Has anyone tried using OEM software to upload a known-working image? There's one in #9793 https://chirp.danplanet.com/attachments/10214 ... That would be my first step towards recovery.

Actions #14

Updated by Cristofer Fuentealba 3 months ago

Dan Smith wrote in #note-13:

Has anyone tried using OEM software to upload a known-working image? There's one in #9793 https://chirp.danplanet.com/attachments/10214 ... That would be my first step towards recovery.

I tried it with the software (P15UV CPS) and without results, I also tried to update the firmware with the same software

Actions #15

Updated by Dan Smith 3 months ago

What does "without results" mean? It wouldn't upload, or it did upload and the radio is still inoperable?

Can you attach the broken image of your radio here so that the people that wrote the driver can have a look? I don't think we've seen that yet and it might provide some clues.

Actions #16

Updated by Cristofer Fuentealba 3 months ago

I apologize for the words I use, I speak Spanish and I use a translator. The backup copy was loaded with the software ((P15UV CPS) and the equipment continues in the same conditions. I attached a broken image.

Actions #17

Updated by Dan Smith 3 months ago

Okay, thanks for the image. Your english is fine, I just wanted to make sure we are clear.

To be honest, if the OEM software uploads a known-good image successfully and the radio is still not operational, that makes me suspect that the problem is some mode or behavior of the radio that could be caused by the OEM software just the same, given the right combination of inputs.

That said, I think we probably need to drop the UV-13Pro support from the public builds ASAP until we get a handle on what the problem is here.

Actions #18

Updated by Sander van der Wel 3 months ago

Dan Smith I have no clue what's going on. Also not able to reproduce the problem. So it's probably best to drop support until we figure out what is happening.

Actions #19

Updated by Sander van der Wel 3 months ago

I've ordered one for myself so we can properly debug this. Might take a week of two to arrive at my home.

Actions #20

Updated by Jim Unroe 3 months ago

Sander van der Wel wrote in #note-19:

I've ordered one for myself so we can properly debug this. Might take a week of two to arrive at my home.

Which vendor did you order it from? It is a V2? I have a V1 still in its factory state that I bought from the Cutesliving store on AliExpress.

Actions #21

Updated by Sander van der Wel 3 months ago

It's a UV-13 Pro V2 from Factory Direct Collected Store. I will dump the rom chip before doing anything with it. This way I can always go back to the original state.

Actions #22

Updated by Cristofer Fuentealba 3 months ago

The problem originated when trying to upload an .img copy of chirp to the uv-13pro v2 device, I attach the copy used. I attached a backup that gave me the problem

Actions #23

Updated by Cristofer Fuentealba 3 months ago

I try to clone but those values ​​do not change, I attach an image where I think the error is.
I hope to be helpful

Actions #24

Updated by Dan Smith 3 months ago

  • Has duplicate Bug #11174: UV-13pro dopo caricamento del file di configurazione la radio non ha più canali, rimane su 666.50000 VFO e batteria non rilevata added
Actions #25

Updated by Dan Smith 3 months ago

I linked it, but #11174 is another example of this it seems. I put a warning on the download page for the build, but for anyone who has already grabbed it they won't likely see it in time.

Actions #26

Updated by Sander van der Wel 3 months ago

Cristofer Fuentealba wrote in #note-23:

I try to clone but those values ​​do not change, I attach an image where I think the error is.
I hope to be helpful

That's interesting...

Actions #27

Updated by Kevin Omura 3 months ago

Hi, I own a V1 and V2 UV-13 Pro. I get the "Radio memory is corrupted. Fix this by uploading a backup image to the radio" when I attempt to download to CHIRP from my V2 UV-13 Pros. If I plug in my V1 UV-13 Pro I do not get this error and CHIRP will download the contents of my radio. It looks like the setting for the UV-13pro is the same as the UV-17.

I do note that the V1 had a different firmware version though now I can't remember how I got to that. Checked CHIRP as well as P15UV CPS and couldn't find it and also no luck powering on holding 3 key or ptt. V1 radio has SMA-M connector while V2 has SMA-F connector.

I also noticed that with earlier versions of CHIRP my V2 radios would not connect to CHIRP with error "Unexpected error communicating from radio" message using the UV-17 setting. However my V1 radio would connect to CHIRP but with same condensed spreadsheet as noted in photos.

What I found was that with CHIRP when I downloaded the contents of my V1 radio any gaps I had left for example I left slot 31 blank or a range such as 37-48 blank CHIRP would not provide gaps which it did with other radios such as the UV-5r. The P15UV/CPS software will leave those unused fields blank but also display them as such.

I did put CHIRP into developer mode in the hope that I could determine firmware versions as this seems to be where the problem lies. Also of note, even though the error message suggested that the radios memory was corrupt once unplugged and there were no ill effects that I can determine so far. I always back up the radio(s) before I make any changes.

Actions #28

Updated by Kevin Omura 3 months ago

Ok I just remembered how to dig out the firmware versions. Hold bottom function button while turning on radio. Doh.

The UV-13 pro V1 is V06.01,014
The UV-13 pro V2 is V06.01.013

I did purchase the V1 almost a year after I purchased the V2s which I bought roughly just as people on the internet started talking about this radio. At that time those who were posting Youtube videos were actually reviewing the V1 version and I happened to get the V2.

Actions #29

Updated by Sander van der Wel 3 months ago

Kevin Omura wrote in #note-28:

Ok I just remembered how to dig out the firmware versions. Hold bottom function button while turning on radio. Doh.

The UV-13 pro V1 is V06.01,014
The UV-13 pro V2 is V06.01.013

I did purchase the V1 almost a year after I purchased the V2s which I bought roughly just as people on the internet started talking about this radio. At that time those who were posting Youtube videos were actually reviewing the V1 version and I happened to get the V2.

Do you have the CPS software for both radios? You could help by providing a backup of both (working) radios made with cps.

Actions #30

Updated by Kevin Omura 3 months ago

Sander van der Wel wrote in #note-29:

Kevin Omura wrote in #note-28:

Ok I just remembered how to dig out the firmware versions. Hold bottom function button while turning on radio. Doh.

The UV-13 pro V1 is V06.01,014
The UV-13 pro V2 is V06.01.013

I did purchase the V1 almost a year after I purchased the V2s which I bought roughly just as people on the internet started talking about this radio. At that time those who were posting Youtube videos were actually reviewing the V1 version and I happened to get the V2.

Do you have the CPS software for both radios? You could help by providing a backup of both (working) radios made with cps.

Hi, yes just created them. Is this what you are after? If not let me know.

Actions #31

Updated by Sander van der Wel 3 months ago

Kevin Omura wrote in #note-30:

Hi, yes just created them. Is this what you are after? If not let me know.

Is the V2 data from a radio without problems?

Actions #32

Updated by Kevin Omura 3 months ago

Sander van der Wel wrote in #note-31:

Kevin Omura wrote in #note-30:

Hi, yes just created them. Is this what you are after? If not let me know.

Is the V2 data from a radio without problems?

No, neither of my V2 radios will connect to CHIRP without the corrupt memory error.

Only the V1 radio will connect to CHIRP without errors with the UV-13Pro, UV17 and UV17 Pro GPS settings.

On the FB group that John moderates someone I have been chatting with has a UV-13Pro V1 with the same V06.01.014 firmware and it is also coming back with the corrupt memory error.

Actions #33

Updated by Kevin Omura 3 months ago

Kevin Omura wrote in #note-32:

Sander van der Wel wrote in #note-31:

Kevin Omura wrote in #note-30:

Hi, yes just created them. Is this what you are after? If not let me know.

Is the V2 data from a radio without problems?

No, neither of my V2 radios will connect to CHIRP without the corrupt memory error.

Only the V1 radio will connect to CHIRP without errors with the UV-13Pro, UV17. The UV17Pro and UV17Pro GPS settings come back with 'Error reading data from radio: not amount of data we want" which is the same error message I was getting with previous versions that worked on the UV17 setting.

On the FB group that John moderates someone I have been chatting with has a UV-13Pro V1 with the same V06.01.014 firmware and it is also coming back with the corrupt memory error.

Actions #34

Updated by Rot Ulet 3 months ago

That is weird, the V1 has a firmware version newer than the V2?!?

Since my UV-13Pro (sold as a V2) has the V06.01.014 firmware (so it is a V1??) I have pushed successfully the UV13Pro_V1_working.data but the device is still locked to 666.55 ==> not really a success!

Do you think it can be useful to update the firmware with the V06.01.013?

Actions #35

Updated by Kevin Omura 3 months ago

Rot Ulet wrote in #note-34:

That is weird, the V1 has a firmware version newer than the V2?!?

Since my UV-13Pro (sold as a V2) has the V06.01.014 firmware (so it is a V1??) I have pushed successfully the UV13Pro_V1_working.data but the device is still locked to 666.55 ==> not really a success!

Do you think it can be useful to update the firmware with the V06.01.013?

Yes what I was calling my V2 with the SMA-F antenna connector has older firmware then my V1 with the SMA-M connector. And now to add more confusion to the mix. I have been chatting with another UV-13pro owner on FB who has a UV-13Pro that has V2 on his label and with the SMA-M connector.

I had assumed both of what I called V2 radios with the SMA-F antennas were different but I did not know until today about the dot on the label which indicates version. We had assumed that the V1 radios were SMA-M connectors and my SMA-F radios were an updated version. But I just checked and one of what I had thought was a V2 radio has a white ball with V1 noted. This is the label on the far right, the centre radio with no sticker we also called a V2 radio since it was also an SMA-F connector.

The radio on the far left is the V1 which has the newer V06.01.14 firmware and was purchased Sept 2023. The two 'V2' radios I purchased in June of 2022.

Actions #36

Updated by Kevin Omura 3 months ago

Kevin Omura wrote in #note-35:

Rot Ulet wrote in #note-34:

That is weird, the V1 has a firmware version newer than the V2?!?

Since my UV-13Pro (sold as a V2) has the V06.01.014 firmware (so it is a V1??) I have pushed successfully the UV13Pro_V1_working.data but the device is still locked to 666.55 ==> not really a success!

Do you think it can be useful to update the firmware with the V06.01.013?

Yes what I was calling my V2 with the SMA-F antenna connector has older firmware then my V1 with the SMA-M connector. And now to add more confusion to the mix. I have been chatting with another UV-13pro owner on FB who has a UV-13Pro that has V2 on his label and with the SMA-M connector and a dot with V2.

I had assumed both of what I called V2 radios with the SMA-F antennas were different but I did not know until today about the dot on the label which indicates version. We had assumed that the V1 radios were SMA-M connectors and my SMA-F radios were an updated version. But I just checked and one of what I had thought was a V2 radio has a white ball with V1 noted. This is the label on the far right, the centre radio with no sticker we also called a V2 radio since it was also an SMA-F connector.

The radio on the far left is the V1 which has the newer V06.01.14 firmware and was purchased Sept 2023. The two 'V2' radios I purchased in June of 2022.

Actions #37

Updated by Dan Smith 3 months ago

  • Subject changed from backup baofeng uv-13pro to Trouble with UV-13Pro after upload
Actions #38

Updated by Rot Ulet 3 months ago

FYI mine has got a SMA-M connector. Here is the sticker on the back of the device (with a v2 in a small dot). There is no other information of the model version anywhere on the device, just Baofeng in the front.

Actions #39

Updated by Toby Corkindale 3 months ago

Rot Ulet wrote in #note-38:

FYI mine has got a SMA-M connector. V2.

I have a V1 (written in a small white dot, behind the battery).
Antenna connector on the body of the radio is SMA-M.
Firmware version: V06.01.014

Actions #40

Updated by Rot Ulet 3 months ago

Where can be found the V06.01.014 firmware (to force flash it)? I can not find it anywhere, even the V06.01.013 is not on the baofeng website!

Does anyone know if there is an opensource firmware for this device?
Has anyone tried this https://whosmatt.github.io/uvmod/index.html?

Actions #41

Updated by James Dean 3 months ago

those MODs is only for Quansheng, i so interesting in Firm 014 for UV13

Actions #42

Updated by Kevin Omura 3 months ago

Rot Ulet wrote in #note-40:

Where can be found the V06.01.014 firmware (to force flash it)? I can not find it anywhere, even the V06.01.013 is not on the baofeng website!

Does anyone know if there is an opensource firmware for this device?
Has anyone tried this https://whosmatt.github.io/uvmod/index.html?

Good queston. I just read the link on github but uvmod as James states is only for the Quansheng and other UV-K series radios.

I did find a link to opengd77 however I'm not sure if that will work with the UV-13. One quick question Rot, did you try a factory reset? Granted I can't find any hints as to how to do it. Tried the standard button configuration on my UV-13 as well as both top and button + pwr, top + pwr, bottom + menu + pwr and nothing pops up on screen saying 'factory'.

If anyone out there knows of the proper way to dump the firmware from a UV-13 and what software is required I'd be happy to dump both my working and non working with CHIRP radios for analysis. Also willing to sacrifice my unlabeled UV-13 in the quest for knowledge....

Actions #43

Updated by Kevin Omura 3 months ago

Rot Ulet wrote in #note-40:

Where can be found the V06.01.014 firmware (to force flash it)? I can not find it anywhere, even the V06.01.013 is not on the baofeng website!

Does anyone know if there is an opensource firmware for this device?
Has anyone tried this https://whosmatt.github.io/uvmod/index.html?

Hi, was just going back through the files uploaded to this thread and was reading the CHIRP debug log, so somehow the "Baofeng_UV-13Pro_20240214.img" file was deleted? Sorry I am going to ask some newbie questions as I've never put my copies of CHIRP into Developer mode. I did go into my drive to see if I had a copy of this file by following your path. "Program Files (x86)\CHIRP\Baofeng_UV-13Pro_20240214.img" but not there. Is this something I can dump from my working UV-13pro for you in developer mode? If so if you can give me a quick walk through I can try and dump it.

Actions #44

Updated by Rot Ulet 3 months ago

Kevin Omura wrote in #note-42:

I did find a link to opengd77 however I'm not sure if that will work with the UV-13. One quick question Rot, did you try a factory reset? Granted I can't find any hints as to how to do it. Tried the standard button configuration on my UV-13 as well as both top and button + pwr, top + pwr, bottom + menu + pwr and nothing pops up on screen saying 'factory'.

In the menu, the last entry is for reset but it is not (maybe) a real reset!

If anyone out there knows of the proper way to dump the firmware from a UV-13 and what software is required I'd be happy to dump both my working and non working with CHIRP radios for analysis. Also willing to sacrifice my unlabeled UV-13 in the quest for knowledge....

I am close to try to flash with the GM30 firmware (https://www.radioddity.com/pages/radioddity-download#FeaturedImage-6c76fd3b-f77a-40fd-b30f-fb5c88203521) but I still hoping to retrieve a valid 06.01.014 firmware from this forum...

Actions #45

Updated by Kevin Omura 3 months ago

Just doing a bit more digging. Is this actually the file you are looking for?

Actions #46

Updated by Kevin Omura 3 months ago

FYI, just downloading the new version of chirp-next-20240216, which has the UV-13Pro option removed.

I did however run my UV-13pros with the UV17 basic setup which has worked for my V1 previously.

The UV-13pro (old "V2") running the V06.01.13 firmware still generates the "Error communicating with radio Radio memory is corrupted. Fix this by uploading a backup image to the radio".

The V1 radio running V06.01.14 firmware runs and populated the spreadsheet but again without the gaps I leave between memory slots.

Looks like they just removed the UV-13pro option.

Actions #47

Updated by Sander van der Wel 3 months ago

The UV-13 had to be removed for now.

We are trying to figure out exactly what the problem is. And we are trying to fix it.

I ordered a UV-13Pro V2 to do this. It’s been sent, but it might take a couple of days.

It might help to get a precise description of the problem, like:

  • what is the exact behavior of the radio when the VFO problem occurs?
  • is the radio still useable?
  • can you still communicate with it through CPS software or CHIRP?
  • what happens if you upload a backup with CPS?
  • I could provide one of you with a driver that gives me some more debug information
Actions #48

Updated by Kevin Omura 3 months ago

Rot Ulet wrote in #note-44:

Kevin Omura wrote in #note-42:

I did find a link to opengd77 however I'm not sure if that will work with the UV-13. One quick question Rot, did you try a factory reset? Granted I can't find any hints as to how to do it. Tried the standard button configuration on my UV-13 as well as both top and button + pwr, top + pwr, bottom + menu + pwr and nothing pops up on screen saying 'factory'.

In the menu, the last entry is for reset but it is not (maybe) a real reset!

Hi, I think that just resets some of the user configured things such as squelch and display. What I think of with a factory reset is the radio reloading firmware stored in rom. The way you factory reset a cell phone which wipes everything and reloads the original factory configuration.

If anyone out there knows of the proper way to dump the firmware from a UV-13 and what software is required I'd be happy to dump both my working and non working with CHIRP radios for analysis. Also willing to sacrifice my unlabeled UV-13 in the quest for knowledge....

I am close to try to flash with the GM30 firmware (https://www.radioddity.com/pages/radioddity-download#FeaturedImage-6c76fd3b-f77a-40fd-b30f-fb5c88203521) but I still hoping to retrieve a valid 06.01.014 firmware from this forum...

I looked at that link, the GM30 is a GMRS radio though. Would that make a difference?

Actions #49

Updated by Cristofer Fuentealba 3 months ago

Kevin Omura wrote in #note-48:

Rot Ulet wrote in #note-44:

Kevin Omura wrote in #note-42:

I did find a link to opengd77 however I'm not sure if that will work with the UV-13. One quick question Rot, did you try a factory reset? Granted I can't find any hints as to how to do it. Tried the standard button configuration on my UV-13 as well as both top and button + pwr, top + pwr, bottom + menu + pwr and nothing pops up on screen saying 'factory'.

In the menu, the last entry is for reset but it is not (maybe) a real reset!

Hi, I think that just resets some of the user configured things such as squelch and display. What I think of with a factory reset is the radio reloading firmware stored in rom. The way you factory reset a cell phone which wipes everything and reloads the original factory configuration.

If anyone out there knows of the proper way to dump the firmware from a UV-13 and what software is required I'd be happy to dump both my working and non working with CHIRP radios for analysis. Also willing to sacrifice my unlabeled UV-13 in the quest for knowledge....

I am close to try to flash with the GM30 firmware (https://www.radioddity.com/pages/radioddity-download#FeaturedImage-6c76fd3b-f77a-40fd-b30f-fb5c88203521) but I still hoping to retrieve a valid 06.01.014 firmware from this forum...

I looked at that link, the GM30 is a GMRS radio though. Would that make a difference?

I loaded the GM-30 firmware and the problem continues

Actions #50

Updated by Kevin Omura 3 months ago

Sander van der Wel wrote in #note-47:

The UV-13 had to be removed for now.

We are trying to figure out exactly what the problem is. And we are trying to fix it.

I ordered a UV-13Pro V2 to do this. It’s been sent, but it might take a couple of days.

It might help to get a precise description of the problem, like:

  • what is the exact behavior of the radio when the VFO problem occurs?
  • is the radio still useable?
  • can you still communicate with it through CPS software or CHIRP?
  • what happens if you upload a backup with CPS?
  • I could provide one of you with a driver that gives me some more debug information

Hi Sander, thanks for the update!

I have not encountered the VFO issue, out of curiousity I put both radios into VFO mode and attempted to enter 666.500 which both radios rejected. Was the radio that failed with that entry running a modified firmware as my radios are running the stock firmware and neither allow me to enter that frequency.

The only issue I have had is with the older firmware version of the UV-13 with older V06.01.13 firmware. When connecting and attempting to download the radio I get the "Error communicating with radio Radio memory is corrupted. Fix this by uploading a backup image to the radio" message. I power off radio and unhook it, then power back on and everything seems to be running normally.

On the newer V1 UV-13 with the V06.01.14 firmware when I go to download the radio it works normally and populates the frequency spreadsheet. However what I do notice and this also happened with previous versions of CHIRP that I used with the UV-17 basic module is that any gaps I had between memory locations where removed and it did not appear to be any way to access them. That concerned me in that I wondered if by uploading this table back into my radio it could create a problem. With all my other radios any time I leave a gap eg leave memory location 100-110 blank the spreadsheet leaves those slots open and they can then be populated. However with every build of CHIRP that actually communicated with my working UV-13 Pro the table would always remove the blank rows so would only show 99-111 with no blank spots in between.

Because of that I don't recall ever uploading any spreadsheets modified in CHIRP back to my working radio as I was concerned that this could cause a problem with its internal memory.

If you like I can try your driver in the hope that we can pull more data on the issue.

Actions #51

Updated by Turna Tarik 3 months ago

Sander van der Wel wrote in #note-47:

The UV-13 had to be removed for now.

We are trying to figure out exactly what the problem is. And we are trying to fix it.

I ordered a UV-13Pro V2 to do this. It’s been sent, but it might take a couple of days.

It might help to get a precise description of the problem, like:

  • what is the exact behavior of the radio when the VFO problem occurs?
  • is the radio still useable?
  • can you still communicate with it through CPS software or CHIRP?
  • what happens if you upload a backup with CPS?
  • I could provide one of you with a driver that gives me some more debug information

Hi, I have uv-13 pro V1 and I was flashed V06.01.13 without any problem (when I bought, its version was V06.01.14). There was no visual or functional change. I was using it with chirp by selecting uv-17. But with the latest version of chirp-next, I selected uv-13 pro and it blocked on 666.500 and vfo mode.

I did almost everything, I flashed original firmware, flashed gm-30 firmware, reset on the menu, loaded old recoveries, factory image files with older versions of chirp and with OEM CPS software. I did theese with mac and pc. Nothing changed.

The radio is still usable. It can communicate with oem cps and chirp. The menu is working, fm broadcast and flashlight completely working. Also I tried to change vfo A and vfo B frequencies with oem cps software and 666.500mhz not changed but ctcss, offset, and hi-low power setting has changed. I think it is not dead.

But the radio is not transmitting, shows battery is empty. I can’t change frequency. When I try changing to memory mode it says “no channel”.

When I upload a backup with chirp or cps nothing changes.

Actions #52

Updated by Cristofer Fuentealba 3 months ago

Sander van der Wel wrote in #note-47:

The UV-13 had to be removed for now.

We are trying to figure out exactly what the problem is. And we are trying to fix it.

I ordered a UV-13Pro V2 to do this. It’s been sent, but it might take a couple of days.

It might help to get a precise description of the problem, like:

  • what is the exact behavior of the radio when the VFO problem occurs?
  • is the radio still useable?
  • can you still communicate with it through CPS software or CHIRP?
  • what happens if you upload a backup with CPS?
  • I could provide one of you with a driver that gives me some more debug information

Can the radio still be used?
The UV 13 Pro v2 equipment can no longer be used, the FM frequencies do work.
Can you still contact him through CPS or CHIRP software? Yeah.
What happens if you upload a backup with CPS? They charge normally but the device continues on the frequency 666.50000 and without recognizing the battery. Is it possible to load a security image from another computer with similar characteristics to chirp?

Actions #53

Updated by Dan Smith 3 months ago

Turna Tarik wrote in #note-51:

Hi, I have uv-13 pro V1 and I was flashed V06.01.13 without any problem (when I bought, its version was V06.01.14). There was no visual or functional change. I was using it with chirp by selecting uv-17. But with the latest version of chirp-next, I selected uv-13 pro and it blocked on 666.500 and vfo mode.

Are you saying that your radio was working in chirp before version 20240213 but on/after that, the problem showed up? If so, I wonder if b7b16848 actually broke something? I'd also wonder if using the version before that (20240211) would allow restoring something given a known-good image?

Actions #54

Updated by Rot Ulet 3 months ago

Turna Tarik wrote in #note-51:

Hi, I have uv-13 pro V1 and I was flashed V06.01.13 without any problem (when I bought, its version was V06.01.14). There was no visual or functional change. I was using it with chirp by selecting uv-17. But with the latest version of chirp-next, I selected uv-13 pro and it blocked on 666.500 and vfo mode.

I did almost everything, I flashed original firmware, flashed gm-30 firmware, reset on the menu, loaded old recoveries, factory image files with older versions of chirp and with OEM CPS software. I did theese with mac and pc. Nothing changed.

The radio is still usable. It can communicate with oem cps and chirp. The menu is working, fm broadcast and flashlight completely working. Also I tried to change vfo A and vfo B frequencies with oem cps software and 666.500mhz not changed but ctcss, offset, and hi-low power setting has changed. I think it is not dead.

But the radio is not transmitting, shows battery is empty. I can’t change frequency. When I try changing to memory mode it says “no channel”.

When I upload a backup with chirp or cps nothing changes.

I have exactly the same behavior but I did not try to flash any other firmwares. Sometime when I launch a scan it changes the channel to 000.00 (even a 143.xx) but it does not receive anything and if a touch any button the 666.50 came back. I also try to set the frequency via CPS for VFOA and VFOB: after the upload the frequencies are displayed but not usable and if a touch any button the 666.50 came back.

Actions #55

Updated by Turna Tarik 3 months ago

Dan Smith wrote in #note-53:

Turna Tarik wrote in #note-51:

Hi, I have uv-13 pro V1 and I was flashed V06.01.13 without any problem (when I bought, its version was V06.01.14). There was no visual or functional change. I was using it with chirp by selecting uv-17. But with the latest version of chirp-next, I selected uv-13 pro and it blocked on 666.500 and vfo mode.

Are you saying that your radio was working in chirp before version 20240213 but on/after that, the problem showed up? If so, I wonder if b7b16848 actually broke something? I'd also wonder if using the version before that (20240211) would allow restoring something given a known-good image?

Yes, I was using chirp before version 20240213 without any problem by selecting uv-17. I used older versions with pc and mac, there was no problem.

I tried older versions of chirp and restored with known good images but this didn’t solve the problem. Nothing changed.

Actions #56

Updated by Dan Smith 3 months ago

Yes, I was using chirp before version 20240213 without any problem by selecting uv-17. I used older versions with pc and mac, there was no problem.

I tried older versions of chirp and restored with known good images but this didn’t solve the problem. Nothing changed.

Okay, bummer that it didn't solve the problem, but that information may help lead to the issue. Sounds like perhaps reverting that change may also be prudent. Sander van der Wel?

Actions #57

Updated by Sander van der Wel 3 months ago

Kevin Omura wrote in #note-50:

If you like I can try your driver in the hope that we can pull more data on the issue.

I created a modified driver to make a full backup of the memory. The driver is attached to this post (choose UV-17Backup as the radio model). It saves a backup.bin file in your home directory (if everything goes how it should).

I would like to see the full backup of both radios.

Thanks.

Actions #58

Updated by Dan Smith 3 months ago

I think we need to be really careful with that "full backup" driver. If I'm reading it correctly, it will also store the full backup in the .img. If you then try to use upload with that (or even regular chirp but with an image captured with that), it will write the wrong chunks of data to the indexed blocks, right?

Actions #59

Updated by Sander van der Wel 3 months ago

Dan Smith wrote in #note-58:

I think we need to be really careful with that "full backup" driver. If I'm reading it correctly, it will also store the full backup in the .img. If you then try to use upload with that (or even regular chirp but with an image captured with that), it will write the wrong chunks of data to the indexed blocks, right?

Ehm... it will store the data in the file. Raises an error that the backup was made. And it will never return the data to the rest of CHIRP. (or am I missing something?) We can remove this after someone grabs the full backups.

Actions #60

Updated by Dan Smith 3 months ago

Ah, yep, okay I didn't see that, good. Also that you changed the model so it won't create an image that would be loadable with the regular driver.

So, yep, seems okay, we just need to be cautious of such things, but glad you were already thinking that :)

Actions #61

Updated by Sander van der Wel 3 months ago

Dan Smith wrote in #note-56:

Okay, bummer that it didn't solve the problem, but that information may help lead to the issue. Sounds like perhaps reverting that change may also be prudent. Sander van der Wel?

Better be safe than sorry and revert the change.

Actions #62

Updated by Kevin Omura 3 months ago

Sander van der Wel wrote in #note-57:

Kevin Omura wrote in #note-50:

If you like I can try your driver in the hope that we can pull more data on the issue.

I created a modified driver to make a full backup of the memory. The driver is attached to this post (choose UV-17Backup as the radio model). It saves a backup.bin file in your home directory (if everything goes how it should).

I would like to see the full backup of both radios.

Thanks.

Hi Sander attached is the file from the 'working' UV-13Pro. I say 'working' because it just gave me the corrupt memory error for the first time. I had some problems trying to attach a file called Dump Stack as it would not allow me to attach it even though the account I'm using has admin access on this laptop. I opened the text file and pasted it to the file attached. This is the .01.014 firmware.

Am about to run the UV-13Pro that originally did not work. Running the older firmware.

Actions #63

Updated by Sander van der Wel 3 months ago

Hi Sander attached is the file from the 'working' UV-13Pro. I say 'working' because it just gave me the corrupt memory error for the first time. I had some problems trying to attach a file called Dump Stack as it would not allow me to attach it even though the account I'm using has admin access on this laptop. I opened the text file and pasted it to the file attached. This is the .01.014 firmware.

Am about to run the UV-13Pro that originally did not work. Running the older firmware.

Can you send the backup.bin file?

Actions #64

Updated by Kevin Omura 3 months ago

Sander van der Wel wrote in #note-63:

Hi Sander attached is the file from the 'working' UV-13Pro. I say 'working' because it just gave me the corrupt memory error for the first time. I had some problems trying to attach a file called Dump Stack as it would not allow me to attach it even though the account I'm using has admin access on this laptop. I opened the text file and pasted it to the file attached. This is the .01.014 firmware.

Am about to run the UV-13Pro that originally did not work. Running the older firmware.

Can you send the backup.bin file?

Ok try this, it's showing that it's a Firefox document so not sure if it is correct but time stamp is. This will be from the non working UV-13Pro with FW .01.013

Actions #65

Updated by Sander van der Wel 3 months ago

Kevin Omura wrote in #note-64:

Ok try this, it's showing that it's a Firefox document so not sure if it is correct but time stamp is. This will be from the non working UV-13Pro with FW .01.013

Yes!! that's what I need. :-)

Actions #66

Updated by Kevin Omura 3 months ago

Sander van der Wel wrote in #note-65:

Kevin Omura wrote in #note-64:

Ok try this, it's showing that it's a Firefox document so not sure if it is correct but time stamp is. This will be from the non working UV-13Pro with FW .01.013

Yes!! that's what I need. :-)

Ok working on the V1 radio again. Just crashed out CHIRP and have to restart and reload. Or did that file contain both radios?

Actions #67

Updated by Sander van der Wel 3 months ago

Kevin Omura wrote in #note-66:

Ok working on the V1 radio again. Just crashed out CHIRP and have to restart and reload. Or did that file contain both radios?

No that file only contains 1 radio. Just delete the file and do it again with the other radio. That way you're certain that the new file is from the other radio.

Actions #68

Updated by Kevin Omura 3 months ago

Kevin Omura wrote in #note-66:

Sander van der Wel wrote in #note-65:

Kevin Omura wrote in #note-64:

Ok try this, it's showing that it's a Firefox document so not sure if it is correct but time stamp is. This will be from the non working UV-13Pro with FW .01.013

Yes!! that's what I need. :-)

Ok working on the V1 radio again. Just crashed out CHIRP and have to restart and reload. Or did that file contain both radios?

Ok, this should hopefully be the backup for the V1 radio that was working. This is the UV-13Pro with the V06.06.014 and black dot with V1 on the blue label.

Actions #69

Updated by Sander van der Wel 3 months ago

Kevin Omura wrote in #note-68:

Ok, this should hopefully be the backup for the V1 radio that was working. This is the UV-13Pro with the V06.06.014 and black dot with V1 on the blue label.

Thank you!! I looks like the first one you sent is working and the second one is not working... But anyways.. I have a working and a non working backup now. :-) Time to do some investigation.

Actions #70

Updated by Kevin Omura 3 months ago

Sander van der Wel wrote in #note-69:

Kevin Omura wrote in #note-68:

Ok, this should hopefully be the backup for the V1 radio that was working. This is the UV-13Pro with the V06.06.014 and black dot with V1 on the blue label.

Thank you!! I looks like the first one you sent is working and the second one is not working... But anyways.. I have a working and a non working backup now. :-) Time to do some investigation.

Ok thanks! If you need me to rerun the V1 radio let me know and I will try it again. Fingers crossed that you can find the problem.

Actions #71

Updated by Sander van der Wel 3 months ago

Kevin Omura wrote in #note-70:

Ok thanks! If you need me to rerun the V1 radio let me know and I will try it again. Fingers crossed that you can find the problem.

I do see a clear difference between the backups. One does indeed work properly with CHIRP, the other one gives the error. So that's great!! Just to be sure, your radios are working just fine?

Actions #72

Updated by Kevin Omura 3 months ago

Sander van der Wel wrote in #note-71:

Kevin Omura wrote in #note-70:

Ok thanks! If you need me to rerun the V1 radio let me know and I will try it again. Fingers crossed that you can find the problem.

I do see a clear difference between the backups. One does indeed work properly with CHIRP, the other one gives the error. So that's great!! Just to be sure, your radios are working just fine?

Hi Sander, yes the radios are working just fine. I did test VFO mode and even attempted to imput 666.500 which the radios rejected (both versions) but other non restricted frequencies will load fine. I never did upload any data to my working radio though, just did the downloads and backups.

One interesting note, I did download the latest version of CHIRP which replaced the version with the UV-13Pro module. Then when you asked for the backups I decided to uninstall that version and reinstall the UV-13Pro version figuring it would give the most useful results.

After doing this my V1 radio now gives me the corrupt memory error message. Radio still works just fine, no corruption of memories that I can find and no settings changed. Tested transmit and it is fine as well. The most odd thing is that I never uploaded anything to this radio. Only downloads so I find that very odd since nothing should have been changed or modified. I do have several 'clean' laptops that I can install the 'bad' version of CHIRP onto or can hold them back in case you need me to do more testing with a clean install on a Windows machine that has never had CHIRP installed.

I do have another laptop running Windows 10 that I can test, just thought of it now in case this is some weird quirk with Windows.

Granted the problem seems to be with different samples of the UV-13 Pro, I wonder if this is a hardware issue since what I initially called V1 (has the V1 ball on label) has the SMA-M connector and V06.01.014 FW.

The two UV-13 Pros that always failed connections were what I had called V2 after chatting with Jason have SMA-F antenna connections which could potentially mean a different main board or slightly different chips? It also has the older V06.01.013 FW.

Sorry to be so long winded, just hoping that something I said might be a clue to why this is so problematic. Good luck and thanks for looking into this!

And being curious I just ordered another UV-13 Pro from Banggood which is supposed to be a V2 from the seller I purchased the working radio from, though my ad showed the radio as a V1, so will be interesting to see what FW and what antenna connection this V2 radio has.

https://www.banggood.com/BaoFeng-UV-13-PRO-V2-Powerful-Dual-Band-Walkie-Talkie-Type-C-Charger-16KM-Long-Range-UV13-Pro-Transceiver-Ham-Two-Way-Radio-p-1986558.html?rmmds=myorder&cur_warehouse=CN&ID=223

Actions #73

Updated by Sander van der Wel 3 months ago

More full backup images are welcome!!

Actions #74

Updated by Jim Unroe 3 months ago

Sander van der Wel wrote in #note-73:

More full backup images are welcome!!

This is from my UV-17Pro V1 which, as far as I know, is still in its factory state.

Actions #75

Updated by Dimk Dimk 3 months ago

Hello! Here is my case. I have installed chirp next-20240216 on Ubuntu 22. Connected Baofeng UV13PRO V2 (V06.01.2014 firmware), radio data was successfully readed via Baofeng UV-17 driver and I decided to try data write on my risk, that was my mistake :) Data was written with success message. Now I have list of problems:

  • empty battery level icon
  • 666.50000 frequency in both vfo slots, TX or RX not working, frequency cannot be changed
  • can not select channel mode, see message "No channel" on display
  • can not write data to the radio: ``` ERROR: Failed to clone: Error reading data from radio: not the amount of data we want. Traceback (most recent call last): File "/home/dimk/.local/lib/python3.10/site-packages/chirp/wxui/clone.py", line 73, in run self._fn() File "/home/dimk/.local/lib/python3.10/site-packages/chirp/drivers/baofeng_uv17Pro.py", line 1019, in sync_in data = self.download_function() File "/home/dimk/.local/lib/python3.10/site-packages/chirp/drivers/baofeng_uv17.py", line 53, in _download baofeng_uv17Pro._do_ident(radio) File "/home/dimk/.local/lib/python3.10/site-packages/chirp/drivers/baofeng_uv17Pro.py", line 106, in _do_ident ack = bfc._rawrecv(radio, radio._magic_response_length) File "/home/dimk/.local/lib/python3.10/site-packages/chirp/drivers/baofeng_common.py", line 55, in _rawrecv raise errors.RadioError(msg) chirp.errors.RadioError: Error reading data from radio: not the amount of data we want.
I can write data without any errors, but this does not solve problems. Also I tried to reset setting via baofeng menu, reset was done but problems still there. Attached data that I readed from the radio initially. 

Let me know if I can provide any more information that will help to solve the problem.
Actions #76

Updated by Sander van der Wel 3 months ago

Dimk Dimk wrote in #note-75:

Let me know if I can provide any more information that will help to solve the problem.

Would you be able to make a full backup with the backup driver discussed earlier?

I am also looking for a full backup of an untouched V2?

Actions #77

Updated by Dimk Dimk 3 months ago

Would you be able to make a full backup with the backup driver discussed earlier?
could you please explain how I can add uv17fullbackup.py driver to Chirp application?

I am also looking for a full backup of an untouched V2?
another UV13PRO V2 with factory defaults on the way to me, will do backups next days

Actions #78

Updated by Sander van der Wel 3 months ago

Dimk Dimk wrote in #note-77:

Would you be able to make a full backup with the backup driver discussed earlier?
could you please explain how I can add uv17fullbackup.py driver to Chirp application?

You can load it via the file->load module in CHIRP

Actions #79

Updated by Dimk Dimk 3 months ago

Sander van der Wel wrote in #note-78:

Dimk Dimk wrote in #note-77:

Would you be able to make a full backup with the backup driver discussed earlier?
could you please explain how I can add uv17fullbackup.py driver to Chirp application?

You can load it via the file->load module in CHIRP

Thanks for help! Backup finished with curious error message (pic attached)

Actions #80

Updated by Sander van der Wel 3 months ago

Dimk Dimk wrote in #note-79:

Thanks for help! Backup finished with curious error message (pic attached)

That error message is supposed to be there. :-) Thank you!!

Actions #81

Updated by Sander van der Wel 3 months ago

Sander van der Wel wrote in #note-80:

Dimk Dimk wrote in #note-79:

Thanks for help! Backup finished with curious error message (pic attached)

That error message is supposed to be there. :-) Thank you!!

Dimk Dimk wrote in #note-79:

Sander van der Wel wrote in #note-78:

Dimk Dimk wrote in #note-77:

Would you be able to make a full backup with the backup driver discussed earlier?
could you please explain how I can add uv17fullbackup.py driver to Chirp application?

You can load it via the file->load module in CHIRP

Thanks for help! Backup finished with curious error message (pic attached)

I have written a possible repair for a broken radio. Since I don't own a broken radio, is there someone who is willing to try it? This is completely at your own risk...

See the attached module.

Actions #82

Updated by Cristofer Fuentealba 3 months ago

Sander van der Wel wrote in #note-81:

Sander van der Wel wrote in #note-80:

Dimk Dimk wrote in #note-79:

Thanks for help! Backup finished with curious error message (pic attached)

That error message is supposed to be there. :-) Thank you!!

Dimk Dimk wrote in #note-79:

Sander van der Wel wrote in #note-78:

Dimk Dimk wrote in #note-77:

Would you be able to make a full backup with the backup driver discussed earlier?
could you please explain how I can add uv17fullbackup.py driver to Chirp application?

You can load it via the file->load module in CHIRP

Thanks for help! Backup finished with curious error message (pic attached)

I have written a possible repair for a broken radio. Since I don't own a broken radio, is there someone who is willing to try it? This is completely at your own risk...

See the attached module.

My v13-pro v2 is working! I am running tests in case some errors persist. many thanks for everything

Actions #83

Updated by James Dean 3 months ago

repair test.py working fine !! thanks :-)

Actions #84

Updated by Dimk Dimk 3 months ago

Cristofer Fuentealba wrote in #note-82:

Sander van der Wel wrote in #note-81:

Sander van der Wel wrote in #note-80:

Dimk Dimk wrote in #note-79:

Thanks for help! Backup finished with curious error message (pic attached)

That error message is supposed to be there. :-) Thank you!!

Dimk Dimk wrote in #note-79:

Sander van der Wel wrote in #note-78:

Dimk Dimk wrote in #note-77:

Would you be able to make a full backup with the backup driver discussed earlier?
could you please explain how I can add uv17fullbackup.py driver to Chirp application?

You can load it via the file->load module in CHIRP

Thanks for help! Backup finished with curious error message (pic attached)

I have written a possible repair for a broken radio. Since I don't own a broken radio, is there someone who is willing to try it? This is completely at your own risk...

See the attached module.

My v13-pro v2 is working! I am running tests in case some errors persist. many thanks for everything

It works like a charm, radio is completely functional now! Many thanks!

Actions #85

Updated by Dan Smith 3 months ago

Awesome progress everyone. Major kudos to Sander van der Wel for fixing the issue, but lots of thanks to all the users here providing reports, backups, feedback, testing, and of course, patience!

Actions #86

Updated by Jim Unroe 3 months ago

Dan Smith wrote in #note-85:

Awesome progress everyone. Major kudos to Sander van der Wel for fixing the issue, but lots of thanks to all the users here providing reports, backups, feedback, testing, and of course, patience!

+1

Actions #87

Updated by Rot Ulet 3 months ago

Great news! I am eager to test it as soon I will be back from holiday!

Actions #88

Updated by Kevin Omura 3 months ago

Dan Smith wrote in #note-85:

Awesome progress everyone. Major kudos to Sander van der Wel for fixing the issue, but lots of thanks to all the users here providing reports, backups, feedback, testing, and of course, patience!

Yes, excellent news!

Actions #89

Updated by Rot Ulet 3 months ago

What version of chirp do you use to load the Uv13repairTest.py? With the latest version, I load the file with the help->load module from chirp issue, the module successfully but when I try to read from the radio with the module 'UV-13RepairTest', I obtain the follwing error:

[2024-02-18 09:49:52,024] chirp.wxui.clone - DEBUG: All system ports: [{'device': 'COM5', 'name': 'COM5', 'description': 'Lien série sur Bluetooth standard (COM5)', 'hwid': 'BTHENUM\\{00001101-0000-1000-8000-00805F9B34FB}_LOCALMFG&0000\\7&28448827&2&000000000000_00000000', 'vid': None, 'pid': None, 'serial_number': None, 'location': None, 'manufacturer': 'Microsoft', 'product': None, 'interface': None}, {'device': 'COM6', 'name': 'COM6', 'description': 'Lien série sur Bluetooth standard (COM6)', 'hwid': 'BTHENUM\\{00001101-0000-1000-8000-00805F9B34FB}_LOCALMFG&0002\\7&28448827&2&FC58FACBCCA6_C00000000', 'vid': None, 'pid': None, 'serial_number': None, 'location': None, 'manufacturer': 'Microsoft', 'product': None, 'interface': None}, {'device': 'COM7', 'name': 'COM7', 'description': 'USB-SERIAL CH340 (COM7)', 'hwid': 'USB VID:PID=1A86:7523 SER= LOCATION=1-3', 'vid': 6790, 'pid': 29987, 'serial_number': '', 'location': '1-3', 'manufacturer': 'wch.cn', 'product': None, 'interface': None}]
[2024-02-18 09:50:27,425] chirp.wxui.clone - DEBUG: Using port 'COM7'
[2024-02-18 09:50:27,425] chirp.wxui.clone - DEBUG: Selected <class 'chirp.loaded.loaded-10649-__6odgjs.UV13RepairTest'>
[2024-02-18 09:50:27,441] chirp.wxui.clone - DEBUG: Prompt pre_download disabled for radio
[2024-02-18 09:50:27,441] chirp.wxui.clone - DEBUG: Serial opened: Serial<id=0x16e21c53e20, open=True>(port='COM7', baudrate=57600, bytesize=8, parity='N', stopbits=1, timeout=0.25, xonxoff=False, rtscts=False, dsrdtr=False) (rts=True dtr=True)
[2024-02-18 09:50:29,063] chirp.wxui.clone - ERROR: Failed to clone: Error reading data from radio: not the amount of data we want.
Traceback (most recent call last):
  File "chirp\wxui\clone.py", line 75, in run
  File "chirp\drivers\baofeng_uv17Pro.py", line 1016, in sync_in
  File "C:\Users\gaetan\AppData\Local\Temp\loaded-10649-__6odgjs.py", line 60, in _download
    _start_communication(radio)
  File "C:\Users\gaetan\AppData\Local\Temp\loaded-10649-__6odgjs.py", line 194, in _start_communication
    _sendmagic(radio, magic[0], magic[1])
  File "C:\Users\gaetan\AppData\Local\Temp\loaded-10649-__6odgjs.py", line 38, in _sendmagic
    baofeng_common._rawrecv(radio, response_len)
  File "chirp\drivers\baofeng_common.py", line 55, in _rawrecv
chirp.errors.RadioError: Error reading data from radio: not the amount of data we want.
[2024-02-18 09:50:36,326] chirp.wxui.clone - WARNING: Stopping clone thread

Can you detail me the whole process please?

Actions #90

Updated by Sander van der Wel 3 months ago

Rot Ulet wrote in #note-89:

Can you detail me the whole process please?

I think you are right. I just tested it. It doesn't work with the latest version of chirp. But it does work with the 20240216 version.

Easiest way to use the module is to use the "Load Module from issue", functionality in "help". I'll see if I can figure out what happened in between version 20240216 and 20240217.

Actions #91

Updated by Sander van der Wel 3 months ago

  • File 20240217_uv17fullbackup.py added
  • File 20240217_Uv13repairTest.py added
Actions #92

Updated by Sander van der Wel 3 months ago

  • File deleted (20240217_Uv13repairTest.py)
Actions #93

Updated by Sander van der Wel 3 months ago

  • File deleted (20240217_uv17fullbackup.py)
Actions #94

Updated by Sander van der Wel 3 months ago

I have modified the repair and backup scripts to be compatible with the latest version of CHIRP (20240217 version).

It's still a quick hack to fix the broken UV13 radios, so use it at your own risk. At least give us feedback, so we can change things if it doesn't work. The fix can be started by using the download proces and choosing 'UV13-RepairTest' as the radiomodel.

Please try this module with help -> load module from issue -> 11167

Actions #95

Updated by Rot Ulet 3 months ago

I have succeed in apply the repair script (20240217repairTest.py) to the radio with the chirp next-20240217. The radio reboot fine but I can not receive any sound.

I tried with the FM mode: the radio can scan for FM frequencies and stop on 'good' station but no sound.

I switch to VFO mode on 446.00625 frequency PMR 1 with another radio emitting on this same frequency: no sound but the radio show that something is received (antenna symbol with full bars). I have disabled CTCSS (still no sound) and also try a scan (menu 31 on this radio): the scan stop on the good CTCSS but no sound even if the radio show the antenna symbol with full bars.

Any ideas?

Actions #96

Updated by Rot Ulet 3 months ago

Rot Ulet wrote in #note-95:

I have succeed in apply the repair script (20240217repairTest.py) to the radio with the chirp next-20240217. The radio reboot fine but I can not receive any sound.

I tried with the FM mode: the radio can scan for FM frequencies and stop on 'good' station but no sound.

I switch to VFO mode on 446.00625 frequency PMR 1 with another radio emitting on this same frequency: no sound but the radio show that something is received (antenna symbol with full bars). I have disabled CTCSS (still no sound) and also try a scan (menu 31 on this radio): the scan stop on the good CTCSS but no sound even if the radio show the antenna symbol with full bars.

Any ideas?

My bad! The radio can emit sound when the usb cable is still connected!!! I unplugged the radio and make successful tries!!

Many thanks to the CHIRP team!

Actions #97

Updated by Dan Smith 3 months ago

My bad! The radio can emit sound when the usb cable is still connected!!! I unplugged the radio and make successful tries!!

I was about to ask if you had removed the cable after programming. I have done this myself many many times :)

Actions #98

Updated by Daniel Personale 3 months ago

Ok. I've tried Repair module, and all come back. If i try to load again "my list", it switches to 666.50000 freq. So i've "repair" it again

Actions #99

Updated by Sander van der Wel 3 months ago

Daniel Personale wrote in #note-98:

Ok. I've tried Repair module, and all come back. If i try to load again "my list", it switches to 666.50000 freq. So i've "repair" it again

I am not sure if I understand you right. Does the radio get repaired by the repair module? And then if you try to use chirp again for your radio, the problem comes back?

Actions #100

Updated by Dan Smith 3 months ago

Actions #101

Updated by Dan Smith 3 months ago

Daniel Personale Are you using the most recent release? Your debug log from the other bug you opened shows you're running 0213. You'll need to upgrade to the latest to fix the problem and prevent it from happening again.

Actions #102

Updated by Daniel Personale 3 months ago

Sander van der Wel wrote in #note-99:

Daniel Personale wrote in #note-98:

Ok. I've tried Repair module, and all come back. If i try to load again "my list", it switches to 666.50000 freq. So i've "repair" it again

I am not sure if I understand you right. Does the radio get repaired by the repair module? And then if you try to use chirp again for your radio, the problem comes back?

Exactly. The problem comes back if i write the memory again after repair.

Actions #103

Updated by Sander van der Wel 3 months ago

Daniel Personale wrote in #note-102:

Exactly. The problem comes back if i write the memory again after repair.

I think you are using an old version of CHIRP. Which version are you using? In te last version, we removed support for the UV13Pro. Because of the problems.

Although I do think it might still work when you choose the UV17.

Actions #104

Updated by Kevin Omura 3 months ago

Hi Sander, I installed next_20240220 just now and tried it out on my UV-13 Pros. Here is what happened.

On the UV-13 with FW V06.01.013 and using the UV17 module CHIRP was able to see the radio as well as download my data, the spreadsheet also included all gaps in my data (eg empty memory slots) so I suspect this means that it might be ok.

I am attaching the backup file I made with your recent backup module.

I also ran a backup on the UV-13 with the V06.01.014 firmware. With this radio I get an error message back from CHIRP 'Unexpected error communicating with radio'n so it would not connect via the UV-17 module. To keep things separate I am going to post a second note with that file attached.

Actions #105

Updated by Kevin Omura 3 months ago

This is the file from your backup module from the UV-13 Pro with Firmware V06.01.014. This radio errored out when attempting to download its data using the UV-17 module, tried the other two modules without a connection as well.

Your backup module did create the following file attached.

Actions #106

Updated by Kevin Omura 3 months ago

Sander van der Wel wrote in #note-103:

Daniel Personale wrote in #note-102:

Exactly. The problem comes back if i write the memory again after repair.

I think you are using an old version of CHIRP. Which version are you using? In te last version, we removed support for the UV13Pro. Because of the problems.

Although I do think it might still work when you choose the UV17.

The latest version of next 20240220 seems to have fixed the compressed memory slots that I found on all previous versions of CHIRP Next when using the UV-17 module. Therefore I wonder if this might solve the memory corruption issue.

The only downside is that only my V06.01.013 FW radios work while the V06.01.014 radio errors out when connecting. I also have a V2 radio on order from Banggood that shows leaving China for Canada today so maybe by next week I will have it to test and see what version of firmware it has.

Actions #107

Updated by Sander van der Wel 3 months ago

Kevin Omura Thanks. I am going to have a look at them and see if I can identify the problem, and maybe write a driver to fix it. I also received a UV13Pro V2 myself today for some proper testing.

Actions #108

Updated by Sander van der Wel 3 months ago

Kevin Omura The compressed channels is a setting in CHIRP, under View -> "hide empty memories". I think your problem with the radio that refuses to read, might be gone if you overwrite it with a backup from your other radio.

Actions #109

Updated by Kevin Omura 3 months ago

Sander van der Wel wrote in #note-108:

Kevin Omura The compressed channels is a setting in CHIRP, under View -> "hide empty memories". I think your problem with the radio that refuses to read, might be gone if you overwrite it with a backup from your other radio.

Thanks Sander! I did not realize the hide empty memories was a setting. Works fine now.

The read issue is unusual, I did what you suggested. First I tried connecting with a download and CHIRP gave me the error communicating. But I did what you suggested and uploaded the backup from my working UV-13 FW.013 and it uploaded fine. Tested VFO mode and no abnormalities and every appears to be fine. Then while still connected I did a download from radio and that worked fine as well.

But here's the odd part, if I disconnect the radio and reconnect it I get the error communicating when attempting to download from the radio even though it worked prior to removing it. I tried powering off and back up but no luck. But if I upload the working backup again and leave the radio connected it will then download.

Btw thanks for looking into all of this!

Attached is the backup file from this radio.

Actions #110

Updated by Sander van der Wel 3 months ago

Kevin Omura I noticed the same behaviour with my radio. While trying to figure out the problem, I downloaded the contents of the radio with the CPS software. And now I cannot trigger the problem anymore, radio seems to work just fine.

Edit: managed to get the problem back by switching between VFO and channel mode. :-)

Actions #111

Updated by Kevin Omura 3 months ago

Sander van der Wel wrote in #note-110:

Kevin Omura I noticed the same behaviour with my radio. While trying to figure out the problem, I downloaded the contents of the radio with the CPS software. And now I cannot trigger the problem anymore, radio seems to work just fine.

Edit: managed to get the problem back by switching between VFO and channel mode. :-)

Interesting, I tried uploading the backup file I downloaded from the working UV-13 to the error UV-13 using P15UV CPS just now. Get the same communication error when trying to download from CHIRP. But if I upload the working CHIRP file and then immediately go to download from radio the radio will not generate the error. Unplug it and plug it back in and the error returns. I can live with this work around. Now really curious how the V2 radio works and what firmware it has.

Actions #112

Updated by Daniel Personale 3 months ago

Kevin Omura wrote in #note-106:

Sander van der Wel wrote in #note-103:

Daniel Personale wrote in #note-102:

Exactly. The problem comes back if i write the memory again after repair.

I think you are using an old version of CHIRP. Which version are you using? In te last version, we removed support for the UV13Pro. Because of the problems.

Although I do think it might still work when you choose the UV17.

The latest version of next 20240220 seems to have fixed the compressed memory slots that I found on all previous versions of CHIRP Next when using the UV-17 module. Therefore I wonder if this might solve the memory corruption issue.

The only downside is that only my V06.01.013 FW radios work while the V06.01.014 radio errors out when connecting. I also have a V2 radio on order from Banggood that shows leaving China for Canada today so maybe by next week I will have it to test and see what version of firmware it has.

I've tried now using the last version of Chirp using UV17 module. My is 13ProV2 with 013 firmware. When i try to read from radio: "Unexpected error communicating with radio".
Now i try with a clean img file.

Actions #113

Updated by Kevin Omura 3 months ago

Out of curiosity I went back to an older installation of CHIRP next on a laptop that I have not updated to later versions. I then tried downloading before uploading from the V06.01.013 and the V06.01.014 radios. Both worked perfectly. This was CHIRP next-20240122 on Python 3.10.8 wxPython 4.2.0 msw (phoenix) wxWidgets 3.2.0

Checked VFO mode and it works fine, then reattached radios to CHIRP and read from radio still works without errors.

I have several laptops I use for testing so I will leave that laptop untouched and back at that version of CHIRP.

Actions #114

Updated by Daniel Personale 3 months ago

So. It work with my uv13proV2 with 013 firmware using uv17 module, but with the name of the channels, i've to add 5 space before the sign (red dots).
If i leave it like in the green lines, on the radio i read "4█████" (this is for 403 memory slot).

Actions #115

Updated by Sander van der Wel 3 months ago

I have found the cause of the problem.

The UV13Pro has more memory available for configuration than the UV17, so sometimes things get stored in a location where the UV17 driver never looks for data. I am working on an update.

Actions #116

Updated by Daniel Personale 3 months ago

Sander van der Wel wrote in #note-115:

I have found the cause of the problem.

The UV13Pro has more memory available for configuration than the UV17, so sometimes things get stored in a location where the UV17 driver never looks for data. I am working on an update.

Amazing. Ty

Actions #117

Updated by Sander van der Wel 3 months ago

I have attached a new version of the driver. This driver should properly support the UV13Pro (and probably other related models too).

It would be appreciated if some of you can test this driver before I submit it to be integrated into CHIRP.

Please try this module with these instructions: LoadingTestModules

Actions #118

Updated by Kevin Omura 3 months ago

Sander van der Wel wrote in #note-117:

I have attached a new version of the driver. This driver should properly support the UV13Pro (and probably other related models too).

It would be appreciated if some of you can test this driver before I submit it to be integrated into CHIRP.

Please try this module with these instructions: LoadingTestModulesJU

Hi Sandor, just to verify I loaded this new driver and get the 'Error reading data from radio not the amount of data we want'.

The module shows up in CHIRP as UV-13Pro under model, checked to make sure it was the correct module as your file is tagged as baofeng_uv17.py. This is with the UV13 with FW V.06.01.013. Also of note when it errors out the radio stays stuck on Program.... on display. Shutting down this radio and unplugging from the computer restores radio to working condition. Tested VFO mode and it is working, TX working, etc.

Also connected the UV-13 with V06.01.014 FW with identical error and radio display stays locked on Program.... turning off the radio restores it to working condition.

Let me know if I should try anything else.

Thanks!

Actions #119

Updated by Nils W 3 months ago

I tried it on a factory reset UV 13 Pro v2. In the high preset numbers (I tried 400-404) instead of showing black blocks, some of the preset names are truncated.

Actions #120

Updated by Sander van der Wel 3 months ago

Kevin Omura wrote in #note-118:

Hi Sandor, just to verify I loaded this new driver and get the 'Error reading data from radio not the amount of data we want'.

The module shows up in CHIRP as UV-13Pro under model, checked to make sure it was the correct module as your file is tagged as baofeng_uv17.py. This is with the UV13 with FW V.06.01.013. Also of note when it errors out the radio stays stuck on Program.... on display. Shutting down this radio and unplugging from the computer restores radio to working condition. Tested VFO mode and it is working, TX working, etc.

Also connected the UV-13 with V06.01.014 FW with identical error and radio display stays locked on Program.... turning off the radio restores it to working condition.

Let me know if I should try anything else.

That's really weird... Is this happening with the other people as well? It sounds like you didn't insert the cable far enough into the radio...

Actions #121

Updated by Kevin Omura 3 months ago

Sander van der Wel wrote in #note-120:

Kevin Omura wrote in #note-118:

Hi Sandor, just to verify I loaded this new driver and get the 'Error reading data from radio not the amount of data we want'.

The module shows up in CHIRP as UV-13Pro under model, checked to make sure it was the correct module as your file is tagged as baofeng_uv17.py. This is with the UV13 with FW V.06.01.013. Also of note when it errors out the radio stays stuck on Program.... on display. Shutting down this radio and unplugging from the computer restores radio to working condition. Tested VFO mode and it is working, TX working, etc.

Also connected the UV-13 with V06.01.014 FW with identical error and radio display stays locked on Program.... turning off the radio restores it to working condition.

Let me know if I should try anything else.

That's really weird... Is this happening with the other people as well? It sounds like you didn't insert the cable far enough into the radio...

It was, ok I figured it out. It must be pilot error on my part. I had switched USB ports and somehow I must have accidentally selected the incorrect port. I switched back to the port I normally use, selected it and everything works perfectly so my fault.

Sorry,

Actions #122

Updated by Christoffer Mossberg 3 months ago

Sander van der Wel wrote in #note-117:

I have attached a new version of the driver. This driver should properly support the UV13Pro (and probably other related models too).

It would be appreciated if some of you can test this driver before I submit it to be integrated into CHIRP.

Please try this module with these instructions: LoadingTestModules

No problem here, seems to work as expected.
UV-13 Pro v2.

Actions #123

Updated by Daniel Personale 3 months ago

No more "tricks" for stations names. But, still problem in Power-on Message.

Actions #124

Updated by Sander van der Wel 3 months ago

I have updated the driver to check if the model memory, matches the model. Is there someone with a UV13Pro V1 or both radios that can test this driver? The driver is attached to this post.

Actions #125

Updated by Jim Unroe 3 months ago

Sander van der Wel wrote in #note-124:

I have updated the driver to check if the model memory, matches the model. Is there someone with a UV13Pro V1 or both radios that can test this driver? The driver is attached to this post.

I did a quick test using my UV-13Pro V1. Both download and upload cloning was performed. No issues were encountered. After uploading an image to the radio and downloading back to CHIRP, the before and after images were identical.

Actions #126

Updated by Sander van der Wel 3 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions #127

Updated by James Dean 3 months ago

Where can we download latest firmware 014 or 015 ?

Actions #128

Updated by Kevin Omura 3 months ago

Sander van der Wel wrote in #note-124:

I have updated the driver to check if the model memory, matches the model. Is there someone with a UV13Pro V1 or both radios that can test this driver? The driver is attached to this post.

Hi, sorry for the delayed reply. I downloaded 02240224 and tried it out on the .013 and .014 FW UV-13 Pros. Downloads and uploads worked fine, checked VFO mode also good, did not run into any issues.

Actions

Also available in: Atom PDF