论坛风格切换切换到宽版
  • 25431阅读
  • 119回复

mcHF固件更新帖 [复制链接]

上一主题 下一主题
离线BH3NVN
 
发帖
325
只看楼主 倒序阅读 0楼 发表于: 2015-04-18
好多盆友问我最新的版本,开个贴,方便大家

因KA7OEI版本有一些BUG,本楼固件是在原版本基础上的修改版。


通过和KA7OEI的交流,KA7OEI的版本已经修复一些主要的BUG,修改之后的版本见本帖3楼。

最新版本:firmware_Target_Flash_219_5_BH3NVN_0419_09.bin
说明:
1、基于KA7OEI最新版本(219.5)修改
2、修正了原版一些BUG,改变了一些实用的功能设置
3、开机版本号下边一行增加“Fixed by BH3NVN XX”XX为bin文件最后两位,方便与原来版本区分

注意:
1、SWR代码KA7OEI已经增加,尊重原作者,不做改变(KA7OEI使用二次多项式拟合功率曲线,我之前在219.2版使用的是分段查表方法),但是需要改动部分硬件,如果不改动,低于5瓦驻波会偏大,仅供参考。
2、219.5原版相对于219.2原版改变的内容如下:
Changes made:
• Additional tweaks done to further speed up the LCD udpates for users with SPI-based LCDs.
• The internal definition of 10 meters is now correct (e.g. 28-29.7 MHz)
• The auto-off backlight timer is disabled while in the menu system.
• The problem in which the on-screen indication of the band may be off by 6 kHz has been fixed.
• While in the “Frequency Calibrate” menu setting, only up to a 1 kHz step size may be selected.
• While in the “XVTR Offset (Hz)” menu setting, a frequency step size of up to 10 MHz may be selected.
• The maximum XVTR Offset is now 999.000 MHz.
• 100 MHz digit now available on the main frequency display.
• Added setting to disable SSB TX “Brick wall” filter.
• Menu item “#271 – FWD/REV ADC Swap” has been added to allow interchanging the forward and
reverse power detectors.
• Menu item “#231 – Freq. Limit Disable” has been added.
3、使用219.5版本固件,建议硬件做如下改动:
Additional information regarding hardware modifications related to the SWR/power meter:
With this firmware, additional work has been done on the forward and reverse power detector of the mcHF.  At least with my "copy" of have observed the following:
- It appears necessary to apply inductance at R55 and R56 to keep residual RF out of the A/D lines going to the MCU.  The 47uH inductors used elsewhere in this unit work nicely, although 4.7uH inductors should work fine.
- I also added some 10nF (0.01uF) capacitors between pins 9 and 6 (ground) and pins 10 and 6 on the RF board to provide additional RF bypassing.  The values of these capacitors are not critical and may be 100nF (0.1uF).
- I am having "issues" with reverse isolation on the "Tandem bridge" used for reverse power detection on the transceiver (e.g. L2/L3) in that on higher bands, I'm not getting the isolation that I expect.  Experimentally, I cut a trace, removed R27 and added to jumpers to "reverse" the VSWR bridge (e.g. wired it back-to-front) which improved things a bit - hence the addition of menu item #271 that allows the FWD and REV inputs from the sensor to be swapped in software.  I would appreciate the comments of others on this topic!

Change Log:

---------------------------

firmware_Target_Flash_219_5_BH3NVN_0420_0A.bin

1、解决开机闪烁CW速度“WPM XX”的BUG;
2、加快关机速度;

---------------------------

firmware_Target_Flash_219_5_BH3NVN_0419_09.bin

*此版本是在最新版219.5的基础上修改,如果以下改动对您来说不需要,请使用原版固件*
1、23号菜单,2.6k Center Freq错误,没有2.6k滤波器,改为2.3k Center Freq;
2、关机自动保存数据进EEPROM,原版关机倒计时没有任何意义,已经去掉;
3、解决100k步进调谐破音问题;
4、听取BD1CM意见,微调时关闭静音,调谐时声音连续,不会断;
5、增加驻波保护功能,反射功率大于2瓦,功率自动降为0.5瓦(功率表和功率档位数字),需要按PA键,重新调节功率档位;
6、滤波器随工作模式转换自动改变,默认SSB 2.3KHZ,CW 300HZ;
7、新发现一处原版BUG,接收频率(灰色小字)在10兆以上,最高10兆位数字会消失,已经解决,附件已经重新上传,之前下载过的请重新下载。

---------------------------

firmware_Target_Flash_219_2_BH3NVN_0419_08.bin

1、修正一处SSB模式出现300Hz滤波器的错误(感谢15楼BG5TLA);
2、滤波器随工作模式转换自动改变,默认SSB 2.3KHZ,CW 300HZ。

---------------------------

firmware_Target_Flash_219_2_BH3NVN_0418_07.bin

1、滤波器随工作模式转换自动改变,默认SSB 2.3KHZ,CW 500HZ。

---------------------------

firmware_Target_Flash_219_2_BH3NVN_0418_06.bin

1、重写SWR标尺,SWR从1开始;
2、改正上一版本SWR偏大的BUG,SWR更加准确;
3、修正驻波保护的BUG,显示"PROT"警告时候,可以看到功率降为0.5瓦(功率表和功率档位数字),需要按PA键,重新调节功率档位。

---------------------------

firmware_Target_Flash_219_2_BH3NVN_0414_05.bin

1、解决100k步进调谐破音问题;
2、听取BD1CM意见,微调时关闭静音,调谐时声音连续,不会断。

---------------------------

firmware_Target_Flash_219_2_BH3NVN_0414_04.bin

1、上一版本返回功率太大时候会有"PROT"警告,但是回复正常之后,警告不会消失,已解决;
2、改进SWR算法,上一版本有时候高驻波swr表没有指示,已经解决;
3、添加支持0.5瓦检测代码,0.5瓦功率在功率表显示一个点;
4、驻波大于3时,指示条变红提示。

---------------------------

firmware_Target_Flash_219_2_BH3NVN_0413_03.bin

1、重新校准了功率条和SWR。

---------------------------

firmware_Target_Flash_219_2_BH3NVN_0413_02.bin

1、原版本SWR条显示从0格开始,改为从1格开始;
2、上一个版本为了调试,会显示正向功率p,反向功率s和swr数值,本版本已经屏蔽;
3、反向功率大于2瓦的时候,会自动降低功率到0.5瓦;
4、56号菜单,56-CW Freq. Offset 默认由USB改为 AUTO SHIFT,收发频率与商品机一致;
5、关机自动保存数据进EEPROM,原版关机倒计时没有任何意义,已经去掉。

---------------------------

firmware_Target_Flash_219_2_BH3NVN_0413_1.bin

BUG修正:
1、23号菜单,2.6k Center Freq错误,没有2.6k滤波器,改为2.3k Center Freq。

---------------------------

帖子编辑麻烦,为了方便,我会把最新的测试版固件丢在我的网盘里,待测试没有问题,再更新到本帖,如果想尝鲜,请移步到到我的博客,谢谢~








好多朋友担心刷坏,FLASH寿命1万次,每天一次可以刷30年













[ 此帖被BH3NVN在2015-04-26 09:01重新编辑 ]
本主题包含附件,请 登录 后查看, 或者 注册 成为会员
BH3NVN
EPC # 24199
DMC # 07726
30MDG # 7104
企鹅 # 25139770
Blog:http://bh3nvn.github.io
离线BH3NVN
发帖
325
只看该作者 1楼 发表于: 2015-04-18
强烈建议开启菜单35项,可以使0中频向上或向下搬移6KHz,可以避免放大器、混频器、AD转换器和各种数字通信如IIC的噪声,建议选择RX LO LOW。
[ 此帖被BH3NVN在2015-04-19 15:40重新编辑 ]

内容来自Android手机客户端

BH3NVN
EPC # 24199
DMC # 07726
30MDG # 7104
企鹅 # 25139770
Blog:http://bh3nvn.github.io
离线BH3NVN
发帖
325
只看该作者 2楼 发表于: 2015-04-18
想推功放,继电器不动的,是因为光耦输出电流小,改动见:http://xwlogic.github.io/2015/04/PA_mod/


[ 此帖被BH3NVN在2015-04-19 16:00重新编辑 ]

内容来自Android手机客户端

BH3NVN
EPC # 24199
DMC # 07726
30MDG # 7104
企鹅 # 25139770
Blog:http://bh3nvn.github.io
离线BH3NVN
发帖
325
只看该作者 3楼 发表于: 2015-04-18
3楼用来放KA7OEI版本的固件吧。


最新版:mchf_firm_0_219_9_ka7oei_20150502
PLEASE NOTE:
  • Unless you change the values of R59/R60, R58/R62 and C82/C83 (and, preferably install inductors at R55/R56) as noted in the recent threads and "Board modification" file, the power meter WILL NOT indicate accurately, always reading 0.2-0.3 watts when there is no RF power and more than actual RF power when in transmit, and the VSWR indication will always read very high.

Version 0.0.219.9: May 2, 2015:
Changes made:
  • Eliminated spurious “WPM” indication on power-up.
  • Fixed problems introduced in previous version(s) with leading zeroes on sub (small) frequency display.
  • Fixed typo on menu #23 so that it now properly shows “2.3k” for the filter bandwidth.
  • Added muting during tuning only for large frequency steps.
  • Added calibration for the on-screen voltmeter.
  • Added option for adding a different colored center line on the spectrum display.
  • The annoying “chirp” that had been heard when going into transmit when frequency translate mode has been fixed, along with the appearance of the tone when making power adjustments.
  • Transmit power forced to 2 watts in AM mode.
  • Power meter calculation reworked to improve calculation at low power levels.
  • Numerical display of forward/reverse power added to aid calibration.
  • A/D nulling added for the forward/reverse power detectors.
  • Individual “filter band” forward/reverse power detector coupling coefficients added.
  • Menu for “FWD/REV ADC Swap” has been moved to #276.
  • Added VFO A/B.
  • Added VFO A=B or B=A operation.
  • Added SPLIT mode operations.

Comment:  Some of the above changes were included in version the 0.0.219.8 "test" version, but no release notes were provided for that version pending "Alpha" testing by users.


Details:


Eliminated spurious “WPM” indication on power-up:
This was seen very briefly during powerup. Not a problem, but more of an annoyance and I'd never gotten around to finding where it was happening: Thanks to BH3NVN for locating where this was happening.

Fixed problems introduced in previous version(s) with leading zeroes on sub (small) frequency display:
This problem was introduced when the “100 MHz” digit was added to the display for the transverter mode – now fixed.

Fixed typo on menu #23 so that it now properly shows “2.3k” for the filter bandwidth:
I never noticed this until BH3NVN pointed it out – thanks!


Added muting during tuning only for large frequency steps:
One issue common to ALL radios that use the Si570 as their frequency synthesizer (and probably the Si5351 as well!) is that the main VCO has a rather limited tuning range before the various divisors in the counters surrounding it must be readjusted and this synthesizer retuned. When this is done the RF output is momentarily muted, for a few 10's of milliseconds perhaps. The result of this is that there is a “pop” in the audio unless it is muted when this retuning occurs.


In previous versions of the mcHF firmware the audio was muted briefly at each tuning step was it was not “known” by the tuning function when this re-tuning – and the subsequent “POP” - would occur. This not only caused a somewhat annoying “blanking” of the audio when the radio was tuned, but it necessarily slowed the tuning rate as well. With the addition of DSP the problem was actually worse since the audio feeding the DSP came from “early” in the signal processing and the “POP” cont@minated the signal processing – something that could not be fixed by muting the audio since by that time, the audio in the DSP's buffers already had that “POP”!


With this version the tuning function has been modified. There is now a way to set a flag to do a “test tune” that, using the “new” frequency to tune, but without actually tuning the synthesizer , will set a system-wide flag (“rx_mute”) to TRUE if a synthesizer re-tune will be required. If this flag is TRUE, the tuning function “knows” to blank the receive audio and disable the DSP (if it is enabled) and then schedule, after an appropriate delay, to re-enable the DSP and un-mute the audio.


Now, casual tuning will not result in the audio being muted except for the occasional frequency step (every 80-100 kHz) where the audio will be muted briefly. If you find one of these (one of them occurs at approximately 7223 kHz, +/- your rig's calibration offset) you can tune back-and-forth over it and hear the muting and, possibly, a slight evidence of this “pop”.

Added calibration for the on-screen voltmeter:
Menu item #212 has been added to allow precise calibration of the on-screen voltmeter with each step representing approximately 0.1% change and a value of “100” equaling a calibration factor of unity (1.00).
Note that when making this adjustment that the voltmeter update only once every 4-5 seconds.


Added option for adding a different colored center line on the spectrum display:
Menu item #88 allows the user to set the color the vertical graticule on the spectrum display that aligns with the center frequency of the receiver, which can be either in the center or to the left or right, depending on the “Frequency Translate” mode. Note that this setting includes a color not present in the other Spectrum display settings, “GRY2”, which is a slightly lighter gray color.

The annoying “chirp” that had been heard when going into transmit when frequency translate mode has been fixed, along with the appearance of the tone when making power adjustments:
Since the introduction of “Frequency Translate” there has been a “chirp” when going from receive to transmit in some modes. Additionally, when making power adjustments – particularly in the power menu – this ear-piercing tone would also appear. This problem has been fixed.

Transmit power forced to 2 watts in AM mode:
Because of the 4x PEP nature of modulation of amplitude modulation, the power will be forced to 2 watts when one transmits in AM mode if it was set to 5 watts or FULL, but will not be affected if you only receive. This is necessary to avoid splattering and distortion.

Power meter calculation reworked to improve calculation at low power levels:
The RF power calculations have been further modified to improve accuracy, particularly at low power levels. Now, at very low power levels (<50-70 milliwatts), a 3rd order polynomial is used to calculate the power level with a revised 2nd order polynomial at power levels above this. This allows improved accuracy across the entire power range, particularly at the low end where very small amounts of power can affect VSWR calculations under conditions of high return loss (e.g. low VSWR.)

Numerical display of forward/reverse power added to aid calibration:
For the purposes of calibration, menu item #270, which had previously been “FWD/REV ADC Cal”, has been removed and replaced with “Disp. Pwr (mw)” which, when enabled, will cause the forward and reverse power, in milliwatts, to be displayed. These readings are updated only when in transmit mode and the numbers are removed from the screen by turning this feature OFF and then briefly keying the transmitter. This setting is NOT save in EEPROM which means that it always defaults of off when the transceiver is powered-on.

A/D nulling added for the forward/reverse power detectors:
Menu #271, “Pwr. Det. Null”, which is enabled ONLY in transmit mode and if “Disp. Pwr (mw)” (menu item #270) is set to ON, is used to “zero” the power readings when there is no RF power present. A setting of “100” represents a nominal calibration factor of 1.00.


This setting is used as follows:
  • Set menu #270 “Disp. Pwr (mw)” to ON
  • Set the transmitter to SSB mode (USB or LSB)
  • Set the MIC (or LINE IN) gain to MINIMUM
  • Set the cursor to menu item #271, “Pwr. Det. Null
  • Key the transmitter with NO AUDIO present.
  • Adjust “Pwr. Det. Null” for a reading on the forward/reverse power meters of approximately 0-2. It is important that the meter NOT read zero all of the time, but that it “flickers” slightly above zero.
  • NOTE: If the forward and reverse meters differ by more than 5 or so, verify that R59/R60 have been replaced with jumpers/zero ohm resistors, that R58/R62 have been replaced with 2.2k resistors, and that C82/C83 have been replaced with 2.2uF capacitors. If these modifications are not made, this calibration will not work and the power meter will not produce accurate readings.
  • After the calibration has been completed, press-and-hold the “F1” button to save the values to EEPROM.

This nulling is made important by the improved calculation of low power levels measured above. Note that radical changes in temperature can also affect this null setting slightly, so it should be done at “nominal” temperatures rather than in unusual heat or cold.

Individual “filter band” forward/reverse power detector coupling coefficients added:
Menu items #272-275 have been added to allow frequency-specific calibration of the power meter. These are intended to be used in conjunction with a KNOWN-ACCURATE power meter and the “Disp. Pwr (mW)” function, above, to precisely calibrate the power meter.


The “80m” range is used at 80 meters and below, “40m” is used for 40 and 60 meters, “20m” is used for 20 and 30 meters and “15m” is used for 17, 15, 12 and 10 meters. Especially on the bands covered by the 15 meter calibration setting you may note a frequency-related change in accuracy so you may wish to find a frequency at which the accuracy is “averaged out.  Remember to press-and-hold the "F1" button to save the new calibration values to EEPROM.
A setting of “100” correlates to a calibration factor of unity (1.00) with each unit above or below representing 0.1 db increase or decrease in sensitivity, respectively.

Menu for “FWD/REV ADC Swap” has been moved to #276:
This menu item had formerly been #271, but it has now been relocated. Again, this swaps the A/D inputs used for forward and reverse power measurements and may be used if one reconfigures the forward/reverse couplers of the tandem match “back-to-front”, perhaps to obtain better return-loss isolation at higher frequencies.

Added VFO A/B:
The remaining blank spaces under the display are now filled, with button F4 now having a “VFO A/B” function, toggling between the two with alternate presses of this button. Each VFO can have its very own mode, filter and frequency settings.

Added VFO A=B or B=A operation:
By pressing and holding button F4 the current VFO's settings are copied to the “other” VFOs settings, with the indication of such being briefly displayed on the screen. When this function is performed, the “active” VFO's contents are copied to the offline VFO which means that if VFO A is active, its frequency, filter and mode settings are copied to VFO B and vice-versa.

Added SPLIT mode operations:
Button F3 now toggles SPLIT mode on and off.
When SPLIT mode is off the radio behaves normally, using the currently selected VFO for both receive and transmit.
When SPLIT mode is on, the radio uses the currently-selected VFO's mode for both receive and transmit, the current VFO's filter and frequency for receive and the “other” VFO's frequency for transmit. In this mode, the main frequency display is also changed, showing both the receive and transmit frequency, separately.


To set up for SPLIT mode one might do the following:
  • Activate the SPLIT function. “SPLIT” has now changed color and the display shows two frequencies.
  • Suppose that a DX station is transmitting on 14.155 and receiving on 14.165, USB. In that case, youwould transmit on 14.165 and receive on 14.155.
  • Dial in your transmit frequency of 14.165 MHz – the receive frequency of the DX station.
  • Press the VFO A/B button to move that frequency to the “other” VFO: That is now your transmit frequency.
  • Dial in your receive frequency of 14.155 – the transmit frequency of the DX station – and also set USB mode and your desired filter bandwidth.
  • You are now ready to go! - It doesn't matter which frequency is in VFO A or B.



Important Comments:
  • When installing and then using this firmware for the first time there may be a problem with saving the VFO A/B frequencies. After using the POWER button to save the settings once or twice it appears as though the memory locations get properly initialized and that they work as they should thereafter.Between version 0.0.219.5 and 0.0.219.9 I have made some modifications to better-initialize new EEPROM locations so this may not happen to those upgrading from version prior to 0.0.219.5.
  • The SPLIT mode works only on the same band – this to prevent the destructive battering of the band-switch relays that might occur with crossband operation – which would also slow down transmit/receive switching.
    Note that it is possible for one to set the STEP to 100 kHz and using the main knob to tune the receive frequency to another band and operate split that way, but this is not recommended and you do this at your own risk!

Comments welcome!

73,

Clint

KA7OEI

##################################################################################
以下是旧版本
mchf_firm_0_219_8_ka7oei_20150425

说明:
1、经过和KA7OEI交流,本版本已经修复部分BUG(1、开机闪烁CW速度“WPM XX”的BUG;2、2.6k Center Freq错误;3、调谐关闭静音)
2、增加双VFO和SPLIT功能

注意:
1、EEPROM使用了新的地址,第一次开机可能保存的频率和模式有变化,不用担心,保存一次或开关机一次就OK。变化的地址只是频率、滤波器和模式的部分,设置部分不会收影响。
2、本版没有驻波保护功能。









[ 此帖被BH3NVN在2015-05-05 10:20重新编辑 ]

内容来自Android手机客户端

本主题包含附件,请 登录 后查看, 或者 注册 成为会员
BH3NVN
EPC # 24199
DMC # 07726
30MDG # 7104
企鹅 # 25139770
Blog:http://bh3nvn.github.io
离线BH3NVN
发帖
325
只看该作者 4楼 发表于: 2015-04-18
离线BH3NVN
发帖
325
只看该作者 5楼 发表于: 2015-04-18
离线BH3NVN
发帖
325
只看该作者 6楼 发表于: 2015-04-18
就酱,走你~
BH3NVN
EPC # 24199
DMC # 07726
30MDG # 7104
企鹅 # 25139770
Blog:http://bh3nvn.github.io
离线shtsunwu
发帖
1200
只看该作者 7楼 发表于: 2015-04-18
占领7楼~
呼号BG2CRP
黑龙江省五常市
TG-UV2   X108G   弯石接收   x5105  xpa125  ft891使用中
离线shtsunwu
发帖
1200
只看该作者 8楼 发表于: 2015-04-18
BH3NVN   六层够用了
万能的六楼!
呼号BG2CRP
黑龙江省五常市
TG-UV2   X108G   弯石接收   x5105  xpa125  ft891使用中
离线bg6rro
发帖
288
只看该作者 9楼 发表于: 2015-04-18
占楼9999
离线bg6qbt
发帖
7247
只看该作者 10楼 发表于: 2015-04-18
如果硬件需要相应改动,建议放上电路及相关说明!
QQ:58822205
离线BH3NVN
发帖
325
只看该作者 11楼 发表于: 2015-04-18
回 bg6qbt 的帖子
bg6qbt:如果硬件需要相应改动,建议放上电路及相关说明! (2015-04-18 17:56) 

现在还不需要,但是刷KA7OEI的219.4需要有改动https://uk.groups.yahoo.com/neo/groups/M0NKA-mcHF/conversations/topics/2039
BH3NVN
EPC # 24199
DMC # 07726
30MDG # 7104
企鹅 # 25139770
Blog:http://bh3nvn.github.io
离线BG5TLA
发帖
234
只看该作者 12楼 发表于: 2015-04-18
支持楼主,希望能在下版固件中加入FM模式。
呼  号:BG5TLA
地 址:福建南平
邮 箱:bg5tla@yahoo.com
设备: TG-UV2 PX-A6 KN-Q10B mcHF FT-991
离线BG6LQZ
发帖
2753
只看该作者 13楼 发表于: 2015-04-18
BH3NVN辛苦了,06版固件很好用
呼号:BG6LQZ
QTH:河南省南阳市
Phone:155叁久久888伍六
离线bh4ptk
发帖
52
只看该作者 14楼 发表于: 2015-04-18
强烈支持,楼主辛苦!
离线BG5TLA
发帖
234
只看该作者 15楼 发表于: 2015-04-18
刚刷了07版,感觉有两个小问题。
1、滤波选择不是从300 到 500,而是500 300 1.8 2.3这种顺序了。
2、菜单26、27选项,不论打开还是关闭,SSB模式始终有300 的滤波选项。
本帖提到的人: @BH3NVN
呼  号:BG5TLA
地 址:福建南平
邮 箱:bg5tla@yahoo.com
设备: TG-UV2 PX-A6 KN-Q10B mcHF FT-991
离线李雨
发帖
305
只看该作者 16楼 发表于: 2015-04-18
NVN威武
离线bg7mss
发帖
7876
只看该作者 17楼 发表于: 2015-04-18
隐藏菜单里面LCD 自动关闭时间现在是最长15秒,有点短,希望延长到一分钟。
_________________
手机:一百三十八亿零二百二十三万零七百五十七
离线bg3vl
发帖
791
只看该作者 18楼 发表于: 2015-04-18
兄弟。估计你能把fm弄出来。1cm说硬件支持。就看能不能软件有突破
BD3VL
miduo88@163.com
OQ:909979668
MSN:miduo88@163.com
TEL:18935088178
73
离线bg3vl
发帖
791
只看该作者 19楼 发表于: 2015-04-18
兄弟。估计你能把fm弄出来。1cm说硬件支持。就看能不能软件有突破
BD3VL
miduo88@163.com
OQ:909979668
MSN:miduo88@163.com
TEL:18935088178
73