Winkey USB broken

4 posts / 0 new
Last post
ok1rr
ok1rr's picture
Winkey USB broken

- Speed change impossible
- ESC does not interrupt (stop) the sending

oh1kh
Winkey USB broken

Hi Martin!

You are right.

At program start first "Open sound" is heard "right after "close sound" follows. Issuing File/reload CW interface always "close sound" is heard. If I remember right there was rotation of sounds in every "reload CW interface".

Based on sounds heard from keyer (Arduino) it seems like initialization of keyer fails.
How ever it is sending messages but speed change and stop message do not work as you say.

--
Saku
OH1KH

oh1kh
Winkey USB broken

HI !

There is problem in source.
How ever workaround if you do not have second radio or if you use same keyer for both radios is to set winkeyer for both radios and then check checkbox "Do not reset keyer... (below keyer selections).

Winkeyer will work ok as long as you do not use file/reload CW interface (that will break operation).

I will continue to search the problem from source.

--
Saku
OH1KH

oh1kh
Winkey USB broken

I can not find error from code. There is one initialization call that is not needed now as rig initialization does also CW init, but it should not cause error.

At initializarion cqrlog sends first three null commands ($13). Then it waits 50 milliseconds.
After it it sends three bytes: 0, 4 and 20 .Then waits 50 milliseconds (this is marked "send echo command")
Then it reads response and expect to get 20 back. That means initialization is OK.

How ever with my keyer the response is 144 that fails initialization. That sets boolean fActive false.

How ever (and this is a real bug) sending CW text does not check fActive and sends text anyway. My keyer seems to send it but speed and stop are not working (as initialization did not succeed).

if I replace those 50 millisecond delays at initialization to 300 milliseconds response changes from 144 to 20 and initialization is passed and everything works: speed change, stop and File/reload CW interface.

Now question is why previously set 50 miiliseconds is now too small time to wait when it have worked before? Version change in Free pascal has made serial port working faster?? or What??

I continue testing, but it seems that just by increasing delays in initialization makes everything work.

--
Saku
OH1KH