Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Alternative GUI v0.30.0 and patched BASE rev 3
#firmware
Hi.
This release contains not so much changes on the UI part. Most of the changes is related with a patched BASE firmware.
I added some controls and adaptive notch filter, comparing rev 2.
?
UI might be downloaded from
BASE - from ?
Using BASE witch OEM GUI? is possible, just no compressor controls and output gain control.
Using Alternative UI with OEM BASE firmware also possible - corresponding controls will not be visible in the settings.
--
Georgy // R2RFE |
For BASE firmware updating you need to copy firmware file (xgf) to the X6100 file system. There are few way to do it. One of them is described here
Make sure that X6100 is booted with OEM firmware (without inserted SD card) and connected to WiFi before copying base firmware file.
After copying new files should appear in the system -> firmware upgrade menu. Last step - select desired firmware and press upgrade.
?
Perhaps, I'll inspect BASE flashing process and will be able to implement it within R1CBU in the future.
--
Georgy // R2RFE |
The easiest way to copy a file over to the X6100 IMHO is to use Filezilla. Pretty sure there's a version for almost any OS. So, on your PC, fire up Filezilla ( ) click in the left pane and move to the directory on your PC that has your xgf file. Now start the X6100 in normal mode (no R1CBU or other gui inserted in the SD slot). I'll assume you have wifi running on the X6100 - that's a whole other task. Look at your router connection listing (or use nmap, etc.) and find the the xiegu ip listed. Now, in the quickconnect at the top of the Filezilla app enter the ip of the X6100, then "root" for user, "123" for password, and set port to 22. The right hand pane will now show the X6100 "root".? Double click on the icon just above the "root" listing in the upper right hand window to switch into the full root directory in the lower right hand window - you'll see bin through var listed. Double click on usr, then firmware. Now go over to the left hand pane, single click on xgf file and drag it over to the right hand pane. You're done. Now on your X6100 go to settings firmware upgrade, select the xgf base file to upgrade to and press the upgrade button. After upgrading, and rebooting go to settings/system info and make sure you have the desired base.?? |
Georgy, I noticed that in the old Message you linked to that it says: ?? user: admin
?? pwd: 123
Is this correct, or should it be: ??? user: root
??? pwd: 123
during the login to the x6100? Jerry K6ANI On Sun, May 11, 2025 at 11:38?PM Georgy Dyuldin via <g.dyuldin=[email protected]> wrote:
|
Hi Georgy!
Great job! I'm testing your new set of firm/software (BASE: r3 and GUI: 0.30.0).? So far, I can confirm now I have a full 10W output @ SSB. But... Output power in FM/AM is still way less than 1W. It can now be fixed in new GUI by adjusting output gain in settings, but from my observations - I need to set different output gain to achieve 10W power output in different modes (SSB/CW vs AM/FM). My suggestion: maybe you should introduce separate output gain settings per each mode?
For a few years, I've been a happy owner of Chris M0NKA's transceiver, which has a very extensive calibration menu in UHSDR (allowing user to calibrate IQ offsets - like now in your firmware, output gains, SWR reading, volt-meter readings and many, many more), in which it was also possible to calibrate output gain across modes and bands. Maybe that could be a final approach to all that issues related to low output power at some devices? My guess is that each X6100 is somehow calibrated in factory, and maybe by cooking your own base firmware you're somehow losing access to these calibration variables? Thanks again for your great effort with creating this piece of code! 73 de Jarek SP9HGN |
On Mon, May 12, 2025 at 06:06 PM, Jarek SP9HGN wrote:
Well, FM (100%) and CW (90%) levels inside firmware is not depends on some hardware. I and Q for FM is a result of sin and cos - so it can be from -1 to 1 only, it doesn't depends on the input signal level.? I don't dive deep to CW, but looks like it just read some predefined signals (sine and cosine for I and Q). Here I might be wrong.
AM I and Q is a constant (carrier) + signal.
SSB output level is only depends on the input signal.
So, if you achieve normal output for SSB with some value of the output gain and the same value produces only 1W of output for FM - that mean that values of the input signal on my radio is significantly lower. ?
I guess it might be due to different sound codecs. Both are 24 bit, but one of them put these bits at the beginning of the 32 bit word, and another - at the end during analog-digital conversion. Same for DAC.
But for 8 bit difference output level difference should be ~48 dB. ?
How much output gain you use to achieve 10W on FM with low ALC?
--
Georgy // R2RFE |
In this case, I wasn't even thinking about the I/Q offset, but rather about the output gain settings for each mode. Allowing the user to set a separate gain will make it possible to adjust it to achieve the full 10W at the output. In my case, it looks as follows: |
Thanks a lot.
Looks like a root cause within ADC/DAC. Let's imagine 10 mV on input of your ADC (signal from microphone) converts to 1000 (100 units for mV) . For an SSB this value comes through some processing? and result (2000, for example) converts back to 20mV (same 100 units for mV). Mine version converts the same 10 mV to only 250 (25 units for mV), which becomes 500 and converts back to 20mV (same 25 units for mV) But FM modulation produces the constant level of signal, for example 100. For my device it will converted to 4mV, but for your only to 1mV. OEM BASE firmware just uses too high values for CW/FM/AM, which always exceed 10W, but apply an ALC to reduce output power to 10W.
I hope I been able to explain.
?
Regarding AM - carrier only value should be about 25% of maximum output power. During modulation carrier level increases and decreases. For maximum possible depth of modulation output level changes from 0 to 2 * carrier level and power changes from 0? to 4 * carrier level. At r3 firmware it's about 45% - a bit bigger, than 25, but it allows to makes a stronger modulation with a little higher distortion.
?
CW on my radio slightly overloads the ALC (~2, if I remember correctly) - so 11 dB on your is not a surprise.
?
To sum it up: I'll change the logic of output gain control in assumption about different ADC/DAC scale. This should align output gain for FM and SSB. Perhaps, I adjust a bit CW multiplier.
--
Georgy // R2RFE |
I changed the logic of the output gain control - now it applies to incoming signal (from mic or sound card) with negative sign and then applies to output IQ signal (with positive sign).
Also, aligned CW output level with FM. AM carrier only produces 25% of configured output. I listen few variants and decided that such level is a best in terms of generated signal.
?
For devices, which requires significant (+10 dB or higher) output gain to achieve full power on FM/CW this version also should make compressed TX signal better (due to normalization of the input signal).
?
ADC/DAC issue is just a guess - please let me know, if it fixed problem with different output levels for different modulation.
?
Regarding controlling every parameter for every mode - it's a tricky, mostly because I used an partially unused registers within i2c communication protocol. There are not so much unused bits and without deep modification of protocol (and without source code) I'll not be able to add new registers for new controls.
--
Georgy // R2RFE |
Tkanks! I¡¯ll give it a try, and let you know how it behaves on my device. 73! W dniu wt., 13 maj 2025 o 15:27 Georgy Dyuldin via <g.dyuldin=[email protected]> napisa?(a):
|
Thanks.
I see, that with output gain ~ 12.8 your x6100 behaves like mine (10W on FM/CW, 2.5 W on AM)? - these values is OK.
Regarding SSB - with 0 gain incoming signals becomes too "loud" for compressor (~ for +13 dB) - and it decreases levels. If compression ratio is 2:1 (default) - level after compressor ~ 6.5 dB lower. Also - you set +2 dB for makeup (increasing gain after compressor). So, to achieve 10W you just need to blow to mic a bit stronger.
?
I suggest to tune output gain with FM (to achieve desired output level).
For compressor makeup level I trying to set it to achieve alc < 2...2.5 during regular QSOs.
Compressor threshold - is hardest thing to configure. If threshold is too high - some quiet sounds might be suppressed by noise gate. If it too low - internal transceiver noise (which is relatively high), some background noise (fans from amplifier/PC, etc) and RF interference might appear on the compression branch of the transfer curve and might be amplified too strong. Opposite to makeup level, which should be configured with sounds with a normal level, changing threshold most impact quiet sounds - so check it without talking, with bigger distance to microphone, etc.
?
These settings (also hmic level) is not fully independent and changing one might require to adjust another. But anyway - I suggest to setup output gain only once. If It would be possible to know some HW details from the firmware - I'd be better to "hide" this control. Simple is better than complex ))
Also - after changing compression ratio you might need to adjust threshold or/and makeup. Especially for high ratios (greater than 4).
?
I'll push changes for r4 to github (with this binary).
?
Again - thanks for testing.
--
Georgy // R2RFE |
?
You can try R4 and try to increase output gain within Settings (up to 12-16), until FM will not show 10W with low ALC (0-0.4).
Let me know, is it helps or not. --
Georgy // R2RFE |
After returning to my X6100 after a year or two, I've managed to upload the latest GUI and R4 of the base firmware - amazing stuff, this has given the rig a whole new lease of life! V30 seems to be working well for me - full power on FM, CW and SSB (and 2.5 carrier on AM) after playing with the setttings. I'm yet to test the various modes with real QSOs.
?
Anyway, I was running the latest V1.1.8 base firwmare and really struggled to connect to the root directory via WLAN while running the OEM GUI. I eventually managed it by entering 255.255.255.255 in the DNS Server options in WLAN settings on the rig. I found this by accessing the root by PuTTy (which I could only access when running the .29 version of the GUI from the SD card) and typing 'ifconfig' to get the network details. I then went back to the OEM GUI and it worked with both FileZilla and WinSCP.
?
Hope this might be of help to anyone as stuck on this as I was.?Amazing work Georgy and everyone who's helped with this, by the way!
?
73, Steve MW0KST |
I guess, I'll add some options to upgrade BASE firmware from R1CBU.
It might be a part of the webserver to upload firmware to OEM directory (with flashing using OEM GUI application after reboot). Or, even, flashing directly from R1CBU. I wrote a code for flashing - will try shortly. Cross the fingers). --
Georgy // R2RFE |
Hi Georgy,
?
One question about the present version 0.30.1.
As I see, the minimum level of the spectrum is too low ( I just see the top of the signals ), and I don't find a way to lift it above the black line showing the frequency. My min. level is at -127 dB.
The funny thing is, that turning the VFO is doing exactly what I need - but the spectrum wil shift down again if I stop tuning.
I think it has something to do? with the settings? "Spectum auto min,max" - but I don't find a way to disable these options. Turning the VOL knob does nothing with these settings.
?
Could You please give me a hint,
?
73,
Janos ON4JBS |
to navigate to use esc to dismiss