Project

General

Profile

Actions

Bug #11199

closed

Unable to upload back to radio

Added by Ole Christian Eklund 9 months ago. Updated 5 months ago.

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

100%

Estimated time:
Chirp Version:
next
Model affected:
Baofeng uv-6
Platform:
Windows
I read the instructions above:
Yes

Description

My Baofeng uv-6 works fine, but when I download from the radio an make changes, im not able to upload back.
This happens every time I try.
CHIRP worked fine both ways from start, but suddenly I got this issue. All other models I have work fine.
I find it hard to see if any others have had the same problem.


Files

Skjermbilde 2024-02-24 172951.png (165 KB) Skjermbilde 2024-02-24 172951.png Message when trying to upload Ole Christian Eklund, 02/24/2024 08:48 AM
Skjermbilde 2024-02-24 172951.png (165 KB) Skjermbilde 2024-02-24 172951.png message when trying to upload Ole Christian Eklund, 02/24/2024 09:02 AM
chirp_debug-it65svy4.txt (12.8 KB) chirp_debug-it65svy4.txt Debug Ole Christian Eklund, 02/24/2024 09:05 AM
PRØVE.img (6.35 KB) PRØVE.img Ole Christian Eklund, 02/24/2024 09:14 AM
image0.jpeg (21.4 KB) image0.jpeg Ole Christian Eklund, 06/20/2024 11:30 PM
uv5r_no_aux_block.py (70 KB) uv5r_no_aux_block.py Jim Unroe, 06/21/2024 12:33 PM
chirp_debug-sp8baf0v.txt (10.5 KB) chirp_debug-sp8baf0v.txt Ole Christian Eklund, 06/24/2024 12:00 PM
Actions #1

Updated by Dan Smith 9 months ago

Need a debug log and a .img file per How_To_Report_Issues and IssueInstructions.

Actions #3

Updated by Dan Smith 9 months ago

Please attach the CHIRP .img file you're trying to upload. Not a screenshot "image".

It looks to me like the driver is preventing you from uploading an image taken from one radio into another that has a different firmware. @Jim Unroe can confirm, but if so that means it's doing its job to help avoid a breakage.

Actions #4

Updated by Ole Christian Eklund 9 months ago

Actions #5

Updated by Ole Christian Eklund 9 months ago

I have to UV-6, both bought at the same time as a lot of two.

Actions #6

Updated by Ole Christian Eklund 9 months ago

Dan Smith wrote in #note-3:

Please attach the CHIRP .img file you're trying to upload. Not a screenshot "image".

It looks to me like the driver is preventing you from uploading an image taken from one radio into another that has a different firmware. @Jim Unroe can confirm, but if so that means it's doing its job to help avoid a breakage.

Both radios worked fine both ways at the beginning. If there are issues with the driver, could you advice me for what to do?

Actions #7

Updated by Ole Christian Eklund 6 months ago

Ole Christian Eklund wrote in #note-6:

Dan Smith wrote in #note-3:

Please attach the CHIRP .img file you're trying to upload. Not a screenshot "image".

It looks to me like the driver is preventing you from uploading an image taken from one radio into another that has a different firmware. @Jim Unroe can confirm, but if so that means it's doing its job to help avoid a breakage.

Both radios worked fine both ways at the beginning. If there are issues with the driver, could you advice me for what to do?

Hi again. I have still not found a solution for my issue. How can I resett my radio or repair the firmware?

Actions #8

Updated by Jim Unroe 6 months ago

You must not swap images between these 2 radios. You must download from each to create tabs. Then copy-and-past memories between the tabs. The upload each tab back into the same radio that it came from.

Actions #9

Updated by Ole Christian Eklund 6 months ago

Hi
This is exactly what I do, but it will not work. 

Vennlig hilsen

Ole Christian Eklund

+47 93068729

Sendt fra min iPhone

  1. juni 2024 kl. 03:19 skrev Jim Unroe redmine@chirpmyradio.com:



Actions #10

Updated by Jim Unroe 6 months ago

Ole Christian Eklund wrote in #note-9:

Hi
This is exactly what I do, but it will not work. 

Vennlig hilsen

Ole Christian Eklund

+47 93068729

Sendt fra min iPhone

  1. juni 2024 kl. 03:19 skrev Jim Unroe redmine@chirpmyradio.com:



Are you able to download from a radio and immediately upload back into it?

Actions #11

Updated by Ole Christian Eklund 6 months ago

I’m able to download and save in CHIRP, but not able to upload back. 

Vennlig hilsen

Ole Christian Eklund

+47 93068729

Sendt fra min iPhone

  1. juni 2024 kl. 13:22 skrev Jim Unroe redmine@chirpmyradio.com:



Actions #12

Updated by Jim Unroe 6 months ago

I see the problem. I will have to see if I can come up with a solution.

Actions #13

Updated by Alexandre J. Raymond 6 months ago

Jim Unroe, would changing this condition in do_upload()

if has_dropped_byte and not aux_matched:

to this

if has_dropped_byte and (radio._aux_block and not aux_matched):

work?

Actions #14

Updated by Jim Unroe 6 months ago

Alexandre J. Raymond wrote in #note-13:

Jim Unroe, would changing this condition in do_upload()

if has_dropped_byte and not aux_matched:

to this

if has_dropped_byte and (radio._aux_block and not aux_matched):

work?

Yes. Something similar to that. I will attach at test driver later today with the 'fix'.

Actions #15

Updated by Jim Unroe 5 months ago

The attached test driver module should properly support the UV-6 without breaking support for the other models. I don't have a UV-6 available for testing (the original radios that were used were loaned to me has had to be returned). This needs to be tested by those wiht physical access to the radio. How to test: LoadingTestModules

Actions #16

Updated by Ole Christian Eklund 5 months ago

Thank you so much. 

Best regards

Ole Christian Eklund

+47 93068729

Sendt fra min iPhone

  1. juni 2024 kl. 18:36 skrev Jim Unroe redmine@chirpmyradio.com:



Actions #17

Updated by Ole Christian Eklund 5 months ago

I will get back to you as soon as I have tested this. 

Vennlig hilsen

Ole Christian Eklund

+47 93068729

Sendt fra min iPhone

  1. juni 2024 kl. 10:25 skrev Ole Christian Eklund oceklund@online.no:

Thank you so much. 

Best regards

Ole Christian Eklund

+47 93068729

Sendt fra min iPhone

  1. juni 2024 kl. 18:36 skrev Jim Unroe redmine@chirpmyradio.com:



Actions #18

Updated by Ole Christian Eklund 5 months ago

Many thanks for your help. It worked.

But do I understand right that I have to upload the driver everytime I start CHIRP?

OR only when I want to do changes to the UV-6?

Med vennlig hilsen

Ole Christian Eklund

+47 93068729

Fra: Jim Unroe redmine@chirpmyradio.com
Sendt: fredag 21. juni 2024 21.36
Til: undisclosed-recipients:
Emne: [CHIRP - Bug #11199] Unable to upload back to radio

Actions #19

Updated by Jim Unroe 5 months ago

  • Assignee set to Jim Unroe
  • Target version set to chirp-py3

Ole Christian Eklund wrote in #note-18:

But do I understand right that I have to upload the driver everytime I start CHIRP?

OR only when I want to do changes to the UV-6?

Every time you start CHIRP but only when you want to program your UV-6.

At least until the patch gets submitted and becomes available in a future build.

Now that I have confirmation that it works, I will try to get the changes submitted.

Actions #20

Updated by Anonymous 5 months ago

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

Updated by Ole Christian Eklund 5 months ago

With the new CHIRP-update, everything is now working properly. 
Thank you for all the help. 

Best wishes 

Ole Christian Eklund

+47 93068729

Sendt fra min iPhone

  1. juni 2024 kl. 01:06 skrev Jim Unroe redmine@chirpmyradio.com:



Actions

Also available in: Atom PDF