logo
Welcome, Guest. Please Login or Register.
27. April 2024, 09:11:07


Home Help Search Login RegisterWIKIUHSDR Download

Amateurfunk Sulingen
Diskussions- und Newsboard des DARC-Ortsverbandes I40  |  allgemeine Kategorie  |  mcHF Projekt Deutsch / English (here you can discuss everything related to mcHF) (Moderators: DF8OE, DL1PQ)  |  Topic: [solved] Receiving strong sigs 12.KHZ <- zurück vorwärts ->
Pages: 1 2 3 [4] 5 6 ... 10 Go Down Print
   Author  Topic: [solved] Receiving strong sigs 12.KHZ  (Read 14130 times)
DJ0RG
Neuling
*

Offline

Posts: 19



Noch neu

View Profile
Re:[solved] Receiving strong sigs 12.KHZ
« Reply #45 on: 29. August 2018, 20:18:20 »

Trying a side path meanwhile: Is it normal / by design that values like EEPROM_TX_IQ_80M_PHASE_BALANCE change from saving to flash to loading from flash? I wonder if this is a memory problem, either in memory or on flash. Currently config memory would be my guess (not knowing the system at all  )

Edit: The unit might be confused by a certain configuration schema, but we also might have two problems here: corrupt memory and a unit being confused by the result.
« Last Edit: 29. August 2018, 20:33:36 by DJ0RG » Logged
DB4PLE
positron
Urgestein
*****

Offline

Posts: 1278





View Profile
Re:[solved] Receiving strong sigs 12.KHZ
« Reply #46 on: 29. August 2018, 20:39:22 »

Hi,

I did not think straight, the TX lG abelled phase / gain values should not play a role in receiving. So this leaves us
with just

?EEPROM_FLAGS1                  170    // Miscellaneous status flag, saved in EEPROM -
?EEPROM_AGC_WDSP_THRESH              376
and possibly the filters:
329, 334, 333, 338, 358 is in EEPROM_FILTER_PATH_MAP_BASE         329

I compared the FLAGS1 settings (FLAGS1  is 16 independent yes/no settings) and the results are:

The only differences are:
#define FLAGS1_SWAP_FWDREV_SENSE      0x10    // if FWD/REV A/D inputs from RF power detectors are to be reversed
#define FLAGS1_WFALL_ENABLED          0x80    // 1 = Waterfall display

And I don't think any of this is causing the issue.

Leaves us with the AGC_THRES or the filters...

73
Danilo



Logged
DF8OE
Administrator
*****

Offline

Posts: 6268



Stellvertr. OVV I40, Jugend / Nachwuchsreferent

View Profile WWW
Re:[not solved] Receiving strong sigs 12.KHZ
« Reply #47 on: 30. August 2018, 03:57:26 »

I am absolutely interested in the result. I already have spent hours in changing settings manually and then do a try and error. At the beginnig of my tests I was faked more than one time because of AGC. As I swapped to very old firmware I thought issue was gone even with infected settings but that is not true! So my conclusion is all WDSP AGC settings are not guilty. I tested with firmware which was so old that we do not have archive binary. I must switch off old AGC (because it eats the spurs by reducing sensitivity).

I stepped on by following scheme:

I took the first half of a working config and the second half of an infected config. Merged together, I tested if the issue is gone or not. If it is gone, bad values must reside in the first half of settings, if not, they must be in the second half. Now I divided the half where the issue must reside in again in two halfs and replaced one with working values. So I found that issue is in the second half of all settings. But this is very, very time intensive and I am working on other places - I stuck up.

After a reset serial EEPROM is not recognized cleanly. I saw this several times. Maybe the scrambling occurs at the transfer process from flash to serial EEPROM.

Regarding "saving of settings": I think we always save the settings which are in serial EEPROM or Flash - not the "active ones" on the radio. When you change settings and do NOT store them by switching off and on the radio or press long MENU you will save the settings from flash / serial EEPROM not the active config from RAM!

Regarding source code:
UHSDR is Open Source GPLv3. You can find source code and all commits from the beginning on GitHub

At some points of investigation I wondered if it is easier to expand the USB-config-read/write capability to work with partially files. E.g. a json which only consists of 30 pairs of addresses and values and I can apply this via python script. So you could test without changing whole settings file. But again: I am very busy at other places and this issue I only get by injecting infected settings. I never was able to reproduce the issue by myself on any mcHF I have tested.

EDIT:
May be there *IS* a bug which changes values which should not be modified (e.g. by a pointer issue). All this is highly hypothetically but for investigating the fastest way(I think) would be the possibility to modify small sets of non-continuous settings by PC and USB.

EDITEDIT:
I have read in Yahoo NG that there is a patched binary of recent firmware existing where the issue is fixed. That is the way Open Source should **NOT** work. Modifiying the source and not contributing to the project. I hope it is a hoax and not reality. Otherwise there do exist some "bad boys" - I only can call them this way.

vy 73
Andreas
« Last Edit: 30. August 2018, 05:06:30 by DF8OE » Logged

Wenn der Wind des Wandels weht, nageln die einen Fenster und Türen zu und verbarrikadieren sich. Die anderen gehen nach draußen und bauen Windmühlen...
qrz.com-Seite von DF8OE
-----------------------------------------------------
>>>> Die Inhalte meiner Beiträge dürfen ohne meine explizite Erlaubnis in jedwedem Medium weiterverbreitet werden! <<<<
SP9BSL
positron
alter Hase
****

Offline

Posts: 443





View Profile WWW
Re:[not solved] Receiving strong sigs 12.KHZ
« Reply #48 on: 30. August 2018, 08:23:25 »

Quote:
I have read in Yahoo NG thatthere is a patched binary of recent firmware existing where the issue is fixed. That is the way open source shoulderstand ** NOT ** work. Modifiying the source and not contributing to the project. I hope it is a hoax and not reality. Otherwise there do exist some "bad boys" - I only can call them this way.
Hi Andreas,
I've posted note in Yahoo NG about this...
Logged

73 Slawek
WD8BXS
alter Hase
****

Offline

Posts: 286





View Profile
Re:[not solved] Receiving strong sigs 12.KHZ
« Reply #49 on: 30. August 2018, 12:19:05 »

So, I restored a known good config file.
all was well.
I changed the frequency calibration, no change.
I changed the display to scope, no change.
I swapped SWR meter, no change.
I turned on RX IQ auto, no change.

I turned the radio off and left it til this morning, when I turned it on this morning, the problem is back.
Here is this file for your consideration.

de Chuck,

Thanks for all of your hard work, I hope this can be figured out, I know it takes time, and we all have other
interests. Take care my friends!!
 WD8BXSBAD.zip
Logged

Thanks,
De WD8BXS vy 73
WD8BXS
alter Hase
****

Offline

Posts: 286





View Profile
Re:[not solved] Receiving strong sigs 12.KHZ
« Reply #50 on: 30. August 2018, 13:00:58 »

OK, Next phase, hih

I restored the good file again, changed the setting again.
Backed up that config, all is still good.

used the rig menu and backed up and restored the settings, and all is still OK

Will keep an eye on and report back.

Chuck
Logged

Thanks,
De WD8BXS vy 73
DF8OE
Administrator
*****

Offline

Posts: 6268



Stellvertr. OVV I40, Jugend / Nachwuchsreferent

View Profile WWW
Re:[not solved] Receiving strong sigs 12.KHZ
« Reply #51 on: 30. August 2018, 15:24:10 »

Very interesting is that you can get the issue very easy. I can do what I want: I am unable to produce it by myself. Only with the "help" of infected configs. I am beginning to doubt if it isn't a hardware problem at reading/writing from/ro Flash/EEPROM. Writing/reading issues can produce very cool things.

To check if reading / writing is ok we can implement crc-checksum which must not be very strong (no repair of damaged files - just signalize it is damaged).

vy 73
Andreas
Logged

Wenn der Wind des Wandels weht, nageln die einen Fenster und Türen zu und verbarrikadieren sich. Die anderen gehen nach draußen und bauen Windmühlen...
qrz.com-Seite von DF8OE
-----------------------------------------------------
>>>> Die Inhalte meiner Beiträge dürfen ohne meine explizite Erlaubnis in jedwedem Medium weiterverbreitet werden! <<<<
WD8BXS
alter Hase
****

Offline

Posts: 286





View Profile
Re:[not solved] Receiving strong sigs 12.KHZ
« Reply #52 on: 30. August 2018, 15:51:17 »

So, Andreas, you are thinking possible bad solder around EEPROM?

I didn't mention that I use the MCM32F429VIT6 MCU,
I do not think that would be the issue.

Thanks,
Chuck

PS radio is still working OK.
Logged

Thanks,
De WD8BXS vy 73
DB4PLE
positron
Urgestein
*****

Offline

Posts: 1278





View Profile
Re:[not solved] Receiving strong sigs 12.KHZ
« Reply #53 on: 30. August 2018, 16:50:10 »

Hi,

let have a look at the facts and what they mean:

Even if the backup and restore from flash is responsible for changing a good config to its bad sibling (which then causes the 12 khz issue), it is not directly relevant here.

Since also the "bad" config is still a 100% valid configuration (as far as I can see). So there may be multiple ways how to get to a config which causes the trouble, the flash backup/restore possibly one of these.

Until we have figured out, what is the root cause of the 12khz problem, even if the EEPROM to Flash transfer is problematic and we fix it, it would not fix the 12khz issue as such but only close one path to get the problem.

BTW, we already have a routine which checks if the content of EEPROM and Flash storage are identical, we use the when we transfer the Flash for the first time into the EEPROM. We could also call this after Backup and Restore and see if there is an issue. No need to run a CRC, that would be only necessary for data corruption between Backup and Restore (i.e. something changes the content of the flash after backup and before restore but this is unlikely).

73
Danilo


   
« Last Edit: 30. August 2018, 16:50:21 by DB4PLE » Logged
DF8OE
Administrator
*****

Offline

Posts: 6268



Stellvertr. OVV I40, Jugend / Nachwuchsreferent

View Profile WWW
Re:[not solved] Receiving strong sigs 12.KHZ
« Reply #54 on: 31. August 2018, 04:55:04 »

@DJ0RG
I have played around TX IQ settings and I cannot confirm that anything I have cofigured is scrambled by saving / backing up / restoring. All is working rock solid.

vy 73
Andreas
Logged

Wenn der Wind des Wandels weht, nageln die einen Fenster und Türen zu und verbarrikadieren sich. Die anderen gehen nach draußen und bauen Windmühlen...
qrz.com-Seite von DF8OE
-----------------------------------------------------
>>>> Die Inhalte meiner Beiträge dürfen ohne meine explizite Erlaubnis in jedwedem Medium weiterverbreitet werden! <<<<
DB4PLE
positron
Urgestein
*****

Offline

Posts: 1278





View Profile
Re:[not solved] Receiving strong sigs 12.KHZ
« Reply #55 on: 01. September 2018, 11:59:09 »

Hi Chuck,

could you please do the following and report back:

Use a mcHF which has the issue:
- Turn off all DSP functions and also the Noise blanker.
- Use a filter with a bandwidth of 3.8khz or larger on SSB and test if the issue is still there?
- See if the issue is detectable in all of the modes (SSB, AM, FM) or just in SSB?
- Is there any indication on the waterfall or scope of the 12khz signal (I doubt that, but let's be thorough here).

There must be a place in the signal processing chain where we introduce the problem. I suspect the decimation (since it is 12khz we decimate to in SSB for the filters narrower than 3.8khz). The above tests could help us to exclude certain part of the processing chain.

73
Danilo
Logged
WD8BXS
alter Hase
****

Offline

Posts: 286





View Profile
Re:[not solved] Receiving strong sigs 12.KHZ
« Reply #56 on: 01. September 2018, 13:15:07 »

EUREKA!!!  I ran the test, and as soon as I go from 3.8 filter to 3.6 the issue is there!

Only on filter 3.8 and above is the extra signal not there.

SSB or CW does not matter.


Chuck
Logged

Thanks,
De WD8BXS vy 73
WD8BXS
alter Hase
****

Offline

Posts: 286





View Profile
Re:[not solved] Receiving strong sigs 12.KHZ
« Reply #57 on: 01. September 2018, 13:15:55 »

Also , there is no indication on the scope.

Chuck
Logged

Thanks,
De WD8BXS vy 73
DB4PLE
positron
Urgestein
*****

Offline

Posts: 1278





View Profile
Re:[not solved] Receiving strong sigs 12.KHZ
« Reply #58 on: 01. September 2018, 13:45:02 »

Hi Chuck,

thank you! Then my guess that it is somewhat related to the decimation/filters is right.
However, my ability to go further ends here I am afraid, the signal processing specialist have to take over now. 
I will have a look into the code, though, maybe I am lucky. I might ask for more tests.

73
Danilo
Logged
DB4PLE
positron
Urgestein
*****

Offline

Posts: 1278





View Profile
Re:[not solved] Receiving strong sigs 12.KHZ
« Reply #59 on: 01. September 2018, 14:13:52 »

Hi Chuck,

please test again with the firmware attached to this post.

Like before, use a configuration which does show the problem.

Now: Use a 3.4 khz, a 3.6 khz and a 3.8 khz filter in SSB and report which of the filters have the issue. It is not necessary to test more than one filter per bandwidth.

73
Danilo
 build-fw-f4.zip
Logged
Pages: 1 2 3 [4] 5 6 ... 10 Go Up Print 
Diskussions- und Newsboard des DARC-Ortsverbandes I40  |  allgemeine Kategorie  |  mcHF Projekt Deutsch / English (here you can discuss everything related to mcHF) (Moderators: DF8OE, DL1PQ)  |  Topic: [solved] Receiving strong sigs 12.KHZ <- zurück vorwärts ->
Jump to: 


Login with username, password and session length

 Es wird die Verwendung von Browsern die auf der "Blink"-Engine basieren und mindestens
1024x768 Pixel Bildschirmauflösung für die beste Darstellung empfohlen
 
Amateurfunk Die Beiträge sind, sofern nicht anders vermerkt, unter der folgenden Lizenz veröffentlicht:
GNU Free Documentation License 1.3 GNU Free Documentation License 1.3
verbindet!
Powered by MySQL Powered by PHP Diskussions- und Newsboard des DARC-Ortsverbandes I40 | Powered by YaBB SE
© 2001-2004, YaBB SE Dev Team. All Rights Reserved.
- modified by Andreas Richter (DF8OE)
Impressum & Disclaimer
Valid XHTML 1.0! Valid CSS!