ramdor / Thetis

The main working repo for changes to Thetis for the Apache Labs line of radios. Find us here : https://discord.gg/6fHCRKnDc9
https://discord.gg/6fHCRKnDc9
GNU General Public License v2.0
54 stars 14 forks source link

PureSignal disabled after using CW on 7000 MKII series hardware [BUG] #226

Closed w-u-2-o closed 1 year ago

w-u-2-o commented 1 year ago

Describe the bug

To Reproduce

Desktop (please complete the following information):

Additional context

ramdor commented 1 year ago

cant replicate it here

https://youtu.be/KSrq_FM_nm4

but I know for a fact that there is either a firmware issue with PS where it will not lock until my 7000dle MK2 is power cycled (Thetis is not restarted) or something up with my radio. This happens rarely, but does happen from time to time. My issue is not CW related however as I do not use the mode.

RAV52 commented 1 year ago

I too have the same issue that Scott stated earlier. After watching the YouTube video of the test I would like to request or suggest instead of pressing the key button in CWX, please use one of the memories that will send at least a cq cq cq or one of the other canned messages that will send at least a half dozen characters. Once you go back to SSB and make a transmission, that's when you see PS stop working. Once we reboot the software, PS in SSB behaves as expected. Thanks K1SR Rob 7000dle Mark-II FW/v2.1.18 Thetis 2.10.2.2

ramdor commented 1 year ago

I have replicated this just. So there is something odd going on somewhere. It didn't happen when I was on 80m, but I flipped band to 20m, PS was working, then did some CW, and then PS stopped.

Video here as a record. You can hear the sadness in my voice at the end. https://youtu.be/p5_a5LkohbY

ramdor commented 1 year ago

ok, i can get this to occur on demand now. For me it always happens when I change band. So SSB on 40m, cw, back to ssb fine. However if I move to 20m say, and instantly do some CW I see a short pulse of feedback from PS, then it stops correcting. I come out of CW and flip to SSB and Thetis does not get anymore PS updates from the hardware when breakpointed in the code. At this point I power cycled the radio and it didn't resolve the issue, however restarting Thetis did. Needs investigation.

w-u-2-o commented 1 year ago

Thank you, Rob, for that critical bit of info I was lacking. I knew it would be a challenge to post this in a secondhand fashion.

ramdor commented 1 year ago

yes, for some reason, when switching band and instantly outputting some cw on that new band, there is a very short pulse of PS feedback. After that pulse it stops providing any more feedback in ssb on any band.

W2PA commented 1 year ago

A bit more info that might help track this down.

Last weekend I worked on air with the ham Scott is referring to. Even without changing bands (just remaining on 80m, not even changing frequency), going into CW, sending a few dits then coming back to SSB would disable PS completely.

We tried various ways short of restarting Thetis to recover PS operation (e.g. band/mode changes, TX profiles, cycling the PS button, and other settings and combinations of functions). Nothing we tried worked once PS became disabled except bringing Thetis down completely and restarting it. Also tried turning off the Thetis power/start button and restarting only the 7000 hardware, then starting Thetis, which didn't work either. Only restarting Thetis recovered PS operation and that worked every time. This all seemed to point to Thetis somehow getting into a strange state that was hard to get out of, after a mode change following CW operation.

I'm glad you can replicate it, Richie. Like Scott, I can not do so on my 8000.

nj2us commented 1 year ago

This may or may not be related. In addition to a receive only antenna (Beverage) that I attach to port RX2, I also attach a preamplified and multi coupled Shared Apex Loop on Ant Port 3, and my primary transmit output is on Ant Port 1. (I leave Port 2 disconnected as an isolation boost). I discovered when using CWX in break in or semi breakin mode, my transmit power appears on Ant Port 3, for a split second as the internal relays are switching. Consequently, this power burst on what is designated as a "do not transmit" Antenna port, has destroyed a strisberg active multicoupler. This all came together for me, while testing the Pure Signal bug with the rest of the gang. I ultimately determined that RF was appearing on the undesired Ant Port by watching it with a dedicated watt meter. This only happens in CW mode as the internal TRX clack back and forth with semi break in delays of approx 250 ms.

I'm thinking that this port shift of the Driver Power output is causing a problem in the Pure Signal logic.

I created a video of the phenomena and will post if none of this makes sense.

nj2us commented 1 year ago

Is there any chance that there is a relationship between the Pure Signal issue and "Key-Down (ms)" Delay? My CW Key Down delay is set to 50 ms, and I DO NOT have the pure signal anomaly on either of my 7000 DLE (Blue ser # 0019 and Black ser # 00389)

Jeff NJ2US

W2PA commented 1 year ago

Jeff - Good thought. But I run with 7 ms Key-Down delay and have no such problem.

73, Chris, W2PA

ramdor commented 1 year ago

Lengthily investigations with Warren, over some 10hrs and lots of emails, has resulted in a fix made by Warren for at least the issue I could produce where we move to a new band, 20m in the above example, and use CWX. This would cause multiple on/off/resets in PS which resulted in a state where PS would fail when switching to SSB. I will leave this open until [2.10.3] is released.

miguelestrada commented 1 year ago

Hi Richie (and Rob, Chris, Jeff, Scott)

I can confirm this addressed the issue that the original operator had reported (via Scott and Chris) which I could also reproduce in my blueface 7000 (used to be Rick's...). We only tried it on 80m btw. More testing to be done of course... I had tried last night wihout success, but today's with the changes from Warren seem to do the trick. Just wanted to let you know... some data points :-) Thanks for all you do !!! (and the others of course... you know who you are)

ramdor commented 1 year ago

@miguelestrada ah that is good news. Yes we were trying various things for hours until I hacked in loads of debug messages to monitor the state engine and other things in PS. Warren spotted an odd sequence of events, and made some changes.

W2PA commented 1 year ago

Great news, Richie - congrats to you and Warren for tracking this down - it sounds like it was quite a difficult one to nail. I'm now wondering if it will also cure other cases of PS intermittency that have cropped up randomly. Time will tell.

RdWing commented 1 year ago

Great, I have been losing PS-A when switching between SSB and CW for at least a year. https://community.apache-labs.com/viewtopic.php?f=9&t=4834&p=26895#p26895 Thanks for the hard work.