df8oe / UHSDR

SDR firmware and bootloader with configuration files for use with Eclipse, EmBitz and Makefile
Other
358 stars 189 forks source link

Mode change fail #1749

Closed ES8AS closed 5 years ago

ES8AS commented 5 years ago

Your firmware version: 2.11.37 Your bootloader version: .5.0.4 UI Board: mcHF 0.6 RF Board: mcHF 0.6

After update to the latest version I've found the bug (?). When I changed MODE to FreeDV I can't change MODE to next. The TX led is ON. The rig is stoned. I can't switch it OFF, only power plug out.

df8oe commented 5 years ago

I can reproduce that freedv freezes on mcHF now after a few seconds (first test was made with too short working time...)

OVI40 seems to work flawlessly (not TX test yet).

db4ple commented 5 years ago

I obviously tested not with long enough TX. Will look into it later...

db4ple commented 5 years ago

I can not reproduce. Please provide configuration backup via uhsdr_tool so that I can test with your configuration data.

df8oe commented 5 years ago

Toggle through the modes using MODE button. When you reach DI-L (or DI-U) wait a few seconds. McHF will freeze completely showing red flashing LED.

settings.zip

db4ple commented 5 years ago

Thanks, without your settings I can toggle through the modes without any problem it seems. I still have to check what happens with the settings applied, though.

df8oe commented 5 years ago

The problem is present using "default config", too...

db4ple commented 5 years ago

We might have an issue in the FreeDV codec2 code itself, but I am not sure yet.

df8oe commented 5 years ago

F7 and H7 does not show the issue. So my guess is a race condition at F4 or running out of RAM...

ac0ax commented 5 years ago

I'm not sure if this is the same problem that I'm having with 2.11.40 but when I select freedv I lose audio when I select a different mode or after a few moments. It does on both of my radios. One has 512k and the other 1M

db4ple commented 5 years ago

Not clear what you mean: a) You have no audio when in FreeDV? b) You have no audio in different mode after having been in FreeDV?

ac0ax commented 5 years ago

Both

On Sun, Mar 10, 2019, 1:42 PM db4ple notifications@github.com wrote:

Not clear what you mean: a) You have no audio when in FreeDV? b) You have no audio in different mode after having been in FreeDV?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/df8oe/UHSDR/issues/1749#issuecomment-471332161, or mute the thread https://github.com/notifications/unsubscribe-auth/ACsv2YFCI0JvXDuQYrilMuTiVhk-K4QXks5vVVIigaJpZM4bWYIZ .

df8oe commented 5 years ago

I cannot confirm observations of @ac0ax - audio in FreeDV stays regardless how long I am listening to it. Additionally audio of SSB is present when I change modes immedialtely or after minutes.

But I can confirm that receiving of FreeDV is not working as expected on mcHF. After a few seconds of silence audio sounds scrambled. You can hear different beepings which are changing in frequency and if you tune to a (working) FreeDV signal nearly nothing is decoded. You can watch some milliseconds of decoding during a period of 10 seconds but no continuous decoding. McHF does not hang and changing to other modes results in working modes - except you reach again FreeDV.

db4ple commented 5 years ago

Hi, I will look into this later this week. What I would like to get from @ac0ax is the config extracted using the uhsdr_tool (See Wiki Backup and Restore). You can attach these to a comment by drag and drop.

martinling commented 5 years ago

I'm seeing the same as @ac0ax, running commit ae70cc99 on mcHF 0.6 with 2MB flash and 256KB RAM. On switching to the FreeDV mode (with no actual signal being received), I get periodic short bursts of garbage audio, and then when switching back to SSB/CW etc I have no audio at all and have to reboot to get it back.

df8oe commented 5 years ago

Please provide your configuration file. Not reproduceable here. I get garbaged audio when listening to freedv but if I switch back to SSB all is ok again. There are so many possible settings that can impact this that we need the complete config.

df8oe commented 5 years ago

I have reproduced "by chance". If NR is enabled I can reproduce it. But I very, very rare activate NR ;)

db4ple commented 5 years ago

Hi, thanks Andreas. Some here, since I mostly use digital modes, NR is most often off. Will look into this later as said earlier.

martinling commented 5 years ago

@df8oe pretty sure I had this happen with NR off as I rarely use that either. I can extract a config when I'm back at the radio.

df8oe commented 5 years ago

@martinling that would be helpful. I cannot reproduce with DSP OFF.

martinling commented 5 years ago

@df8oe here's my config. Just tested again and definitely happening with DSP off.

uhsdr_config.zip

db4ple commented 5 years ago

Can you still see the issue? If not, please close!