View Issue Details

IDProjectCategoryView StatusLast Update
00035781 - BacklogEnhancementpublic2019-11-12 10:26
ReporterPD9FERAssigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Summary0003578: Winkeyer in microHAM MKIII poor connection
DescriptionDuring investigative work with Jozef @ Microham as to why I was having issues connecting to winkeyer Jozef discovered the following issues,
Now Winkey:

Winkey support is much harder problem because is not properly implemented in HRD.
WK chip is configurable external CW keyer, its behaviour is set by special commands. Some of these commands defines pinout of chip, some sets parameters. Parameters which could have influence to WK chip operation are filtered in Router (replaced by correct one) to match electrical implementation of the chip in MKIII, and settings on Winkey tab in the Router.

To communicate with WK chip, host (HRD) has to issue specific commands in specific sequence. First command which has to be issued is opening host mode, command 00 02. Here are instruction for use 00 02 command by K1EL WK chip author from WK manual:

 "Upon power-up, the host interface is closed. To enable host mode, the PC host must issue the Admin:open command. Upon open, WK3 will respond by sending the revision code back to the host. The host must wait for this return code before any other commands or data can be sent to WK3. Upon open, WK1 mode is set."


Only after WK chip sends response, host can issue any other command, for example 15 what is status request.

To close communication with chip (should be used right before host (HRD) exits) should be used command 00 03. Again, command description from WK manual:

 "Use this command to turn off the host interface. WK3 will return to standby mode after this command is issued and standby settings will be restored."

Hope up to now it is clear.

Problem is that HRD issues this startup sequence:

1359344328: Port opened
1359344843: H-TX: 13 [Null Command]
1359344843: H-TX: 13 [Null Command]
1359344843: H-TX: 13 [Null Command]
1359344843: H-TX: 13 [Null Command]
1359345359: H-TX: 00(--) 02(00 02) 15 00(--) 03(--) [Admin: HostOpen] [Request WinKey Status] [Admin: HostClose (discarded)]

string of 13 (null commands) are fine here, they are recommended by K1EL. But than there is 00 02 15 00 03 string of data sent at once. What means 00 02 to open host interface, than without waiting for response is immediately issued command 15 (status request) and at the same time 00 03 what is closing host mode. Using such command sequence is nonsense and won't work with any WK chip other than implemented in MKII/MKIII, because 00 03 command is discarded by the Router. In addition, sending open host (00 02) and poll for status (15) at once without prior waiting for response may lockup chip (requiring power off/on MKIII to reset WK chip) and it is just coincidence when it starts to operate.

HRD guys must fix their WK support, I believe Steve, K1EL will be glad to help them.
My recommendation to you is to not use WK facility in HRD, rather other method of CW keying until issue is resolved. If you still want to use it, cycle power of MKIII after any unsuccessful attempt to connect to WK, because chip can be locked by wrong initialization sequence.

Hope it make this issue more understandable.

73 Jozef OM7ZZ

 Kind regards

Frank G3YQA
Steps To ReproduceN/A
Additional InformationTicket# 868015
TagsNo tags attached.
ModuleDM780
Sub-ModuleWinkeyer
TestingNot Started

Activities

PD9FER

2019-11-12 10:26

updater  

wk4.txt (6,216 bytes)
1359324718:  Log enabled, (urouter v9.2.2, micro KEYER III v2.5)
1359344328:  Port opened
1359344843:  H-TX: 13      [Null Command] 
1359344843:  H-TX: 13      [Null Command] 
1359344843:  H-TX: 13      [Null Command] 
1359344843:  H-TX: 13      [Null Command] 
1359345359:  H-TX: 00(--) 02(00 02) 15 00(--) 03(--)      [Admin: HostOpen]  [Request WinKey Status]  [Admin: HostClose (discarded)] 
1359347625:  H-TX: 00(--)      [Admin: 
1359347625:  H-TX: 02(00 02) 15 00(--) 03(--)     HostOpen]  [Request WinKey Status]  [Admin: HostClose (discarded)] 
1359349906:  H-TX: 00(--) 02(00 02) 15 00(--) 03(--)      [Admin: HostOpen]  [Request WinKey Status]  [Admin: HostClose (discarded)] 
1359352187:  H-TX: 00(--) 02(00 02) 15 00(--) 03(--)      [Admin: HostOpen]  [Request WinKey Status]  [Admin: HostClose (discarded)] 
1359354453:  H-TX: 00(--) 02(00 02) 15 00(--) 03(--)      [Admin: HostOpen]  [Request WinKey Status]  [Admin: HostClose (discarded)] 
1359356750:  H-TX: 00(--) 02(00 02) 15 00(--) 03(--)      [Admin: HostOpen]  [Request WinKey Status]  [Admin: HostClose (discarded)] 
1359359031:  H-TX: 00(--) 02(00 02) 15 00(--) 03(--)      [Admin: HostOpen]  [Request WinKey Status]  [Admin: HostClose (discarded)] 
1359361312:  H-TX: 00(--) 02(00 02) 15 00(--) 03(--)      [Admin: HostOpen]  [Request WinKey Status]  [Admin: HostClose (discarded)] 
1359363593:  H-TX: 00(--) 02(00 02) 15 00(--) 03(--)      [Admin: HostOpen]  [Request WinKey Status]  [Admin: HostClose (discarded)] 
1359365890:  H-TX: 00(--) 02(00 02) 15 00(--) 03(--)      [Admin: HostOpen]  [Request WinKey Status]  [Admin: HostClose (discarded)] 
1359365937:  H-RX: 8A      [speed: min+10=25WPM] 
1359365937:  H-RX: 83      [speed: min+3=18WPM] 
1359368296:  R-TX: 02 00      [Set WPM Speed: speed pot] 
1359368296:  Port closed
2019-11-12 07:47:13 :  Log saved, (urouter v9.2.2, micro KEYER III v2.5)
1359455281:  R-RX: 88      [speed: min+8=23WPM] 
1359455281:  R-TX: 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 0E 44 03 32 04 02 14 05 0F 19 FF 10 00 11 00 0D 00 12 32 17 32 09 05 0A 16 00 07 15      [Null Command]  [Null Command]  [Null Command]  [Null Command]  [Null Command]  [Null Command]  [Null Command]  [Null Command]  [Null Command]  [Null Command]  [Null Command]  [Null Command]  [Null Command]  [Null Command]  [Null Command]  [Set WinKey Mode: CTspacing=0, Autospace=0, SerialEchoback=1, PaddleSwap=0, KeyMode=IambicB, PaddleEchoback=1, DisablePaddleWatchdog=0]  [Set Weighting: 50%]  [Set PTT Lead/Tail: 20ms, 200ms]  [Setup Speed Pot: 15WPM, 25WPM, 0xFF]  [Set 1st Extension: 0ms]  [Set Key Comp: 0ms]  [Set Farns WPM: -]  [Set Paddle Switchpoint: 50%]  [Set Dit/Dah Ratio: 1:3]  [Set Pin Config: Pin5PTT=1, Pin5SideTone=0, Pin3KeyOut=1, Pin5KeyOut=0, HangTime=1.0wordspace, Priority=normal]  [Clear Buffer]  [Pointer Cmd: reset]  [Get Speed Pot]  [Request WinKey Status] 
1359455812:  R-RX: 88      [speed: min+8=23WPM] 
1359455812:  R-RX: C0      [status: WAIT=0, KEYDOWN=0, BUSY=0, BREAKIN=0, XOFF=0] 
1359455828:  R-TX: 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 0E 44 03 32 04 02 14 05 0F 19 FF 10 00 11 00 0D 00 12 32 17 32 09 05 0A 16 00 07 15      [Null Command]  [Null Command]  [Null Command]  [Null Command]  [Null Command]  [Null Command]  [Null Command]  [Null Command]  [Null Command]  [Null Command]  [Null Command]  [Null Command]  [Null Command]  [Null Command]  [Null Command]  [Set WinKey Mode: CTspacing=0, Autospace=0, SerialEchoback=1, PaddleSwap=0, KeyMode=IambicB, PaddleEchoback=1, DisablePaddleWatchdog=0]  [Set Weighting: 50%]  [Set PTT Lead/Tail: 20ms, 200ms]  [Setup Speed Pot: 15WPM, 25WPM, 0xFF]  [Set 1st Extension: 0ms]  [Set Key Comp: 0ms]  [Set Farns WPM: -]  [Set Paddle Switchpoint: 50%]  [Set Dit/Dah Ratio: 1:3]  [Set Pin Config: Pin5PTT=1, Pin5SideTone=0, Pin3KeyOut=1, Pin5KeyOut=0, HangTime=1.0wordspace, Priority=normal]  [Clear Buffer]  [Pointer Cmd: reset]  [Get Speed Pot]  [Request WinKey Status] 
1359456375:  R-RX: 88      [speed: min+8=23WPM] 
1359456375:  R-RX: C0      [status: WAIT=0, KEYDOWN=0, BUSY=0, BREAKIN=0, XOFF=0] 
1359498750:  Log enabled, (urouter v9.2.2, micro KEYER III v2.5)
1359514937:  Port opened
1359515468:  H-TX: 13      [Null Command] 
1359515468:  H-TX: 13      [Null Command] 
1359515468:  H-TX: 13      [Null Command] 
1359515468:  H-TX: 13      [Null Command] 
1359515984:  H-TX: 00(--) 02(00 02) 15 00(--) 03(--)      [Admin: HostOpen]  [Request WinKey Status]  [Admin: HostClose (discarded)] 
1359516015:  H-RX: 1E     
1359516015:  H-RX: C0      [status: WAIT=0, KEYDOWN=0, BUSY=0, BREAKIN=0, XOFF=0] 
1359518031:  H-TX: 00(--) 02(00 02)      [Admin: HostOpen] 
1359518062:  H-RX: 1E     
1359518109:  H-TX: 00(--) 02(00 02)      [Admin: HostOpen] 
1359518125:  H-RX: 1E     
1359518203:  H-TX: 0F 44 17 06(00) 32 00(02) 00(14) 0A(0F) 1E(19) 00 00 0A(00) 32 32 05 00(FF)     
  [Load Defaults: 
    Mode Register: CTspacing=0, Autospace=0, SerialEchoback=1, PaddleSwap=0, KeyMode=IambicB, PaddleEchoback=1, DisablePaddleWatchdog=0, 
    Speed in WPM: 23, 
    Sidetone Frequency: 625Hz(0), 
    Weight: 50%, 
    Lead-in Time: 0ms(20ms), 
    Tail Time: Hang Time used(200ms), 
    Min WPM: 10WPM(15WPM), 
    WPM Range: 30WPM(25WPM), 
    1st Extension: 0ms, 
    Key Compensation: 0ms, 
    Farnsworth WPM: 10WPM(0WPM), 
    Paddle Setpoint: 50%, 
    Dit/Dah Ratio: 1:3, 
    Pin Configuration: Pin5PTT=1, Pin5SideTone=0, Pin3KeyOut=1, Pin5KeyOut=0, HangTime=1.0wordspace, Priority=normal, 
    Pot Range: 0x00(0xFF)
  ]
  
1359518203:  H-TX: 09      [Set Pin Config: 
1359518203:  H-TX: 09(05)     Pin5PTT=1, Pin5SideTone=0, Pin3KeyOut=0(1), Pin5KeyOut=1(0), HangTime=1.0wordspace, Priority=normal] 
1359518203:  H-TX: 07      [Get Speed Pot] 
1359518203:  H-TX: 15      [Request WinKey Status] 
1359518375:  H-TX: 02      [Set WPM Speed: 
1359518375:  H-TX: 17     23] 
1359518390:  H-RX: 88 (8D)     [speed: min+8=23WPM] 
1359518390:  H-RX: C0      [status: WAIT=0, KEYDOWN=0, BUSY=0, BREAKIN=0, XOFF=0] 
1359518421:  H-TX: 02      [Set WPM Speed: 
1359518421:  H-TX: 17     23] 
2019-11-12 07:49:48 :  Log saved, (urouter v9.2.2, micro KEYER III v2.5)
wk4.txt (6,216 bytes)

Issue History

Date Modified Username Field Change
2019-11-12 10:26 PD9FER New Issue
2019-11-12 10:26 PD9FER File Added: wk4.txt