phdlee / uvk5cec

Adds various experimental features to the uvk5 radio
Apache License 2.0
257 stars 20 forks source link

UV-K5 DigiManager 0.5 Not connecting #43

Closed mariano80 closed 3 months ago

mariano80 commented 3 months ago

Hi! I having trouble connecting de soft with the UV-K5. When I click connect i receive an error msg.

image

** Texto de la excepción ** System.IO.IOException: Uno de los dispositivos conectados al sistema no funciona.

en System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str) en System.IO.Ports.SerialStream.InitializeDCB(Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Boolean discardNull) en System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace) en System.IO.Ports.SerialPort.Open() en udpReceiver.frmUDPRecv.btnConnect_Click(Object sender, EventArgs e) en System.Windows.Forms.Control.OnClick(EventArgs e) en System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) en System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) en System.Windows.Forms.Control.WndProc(Message& m) en System.Windows.Forms.ButtonBase.WndProc(Message& m) en System.Windows.Forms.Button.WndProc(Message& m) en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

DL8LDN commented 3 months ago

In my case I can connect to the comport but transfer not possible even i I have DIG+ and reboot the radio. I am using a cable with profilic chip 73 de DL8LDN

phdlee commented 3 months ago

Tnx for trying this version Check if Comport is being used by another program (for example, a firmware download program, etc.). Comport can only be opened by one program. ian kd8cec

On Wed, Mar 27, 2024 at 2:50 AM Mariano @.***> wrote:

Hi! I having trouble connecting de soft with the UV-K5

image.png (view on web) https://github.com/phdlee/uvk5cec/assets/26579010/91c6153c-473d-4f1f-8bc7-209e43bedcc5

** Texto de la excepción ** System.IO.IOException: Uno de los dispositivos conectados al sistema no funciona.

en System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str) en System.IO.Ports.SerialStream.InitializeDCB(Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Boolean discardNull) en System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace) en System.IO.Ports.SerialPort.Open() en udpReceiver.frmUDPRecv.btnConnect_Click(Object sender, EventArgs e) en System.Windows.Forms.Control.OnClick(EventArgs e) en System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) en System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) en System.Windows.Forms.Control.WndProc(Message& m) en System.Windows.Forms.ButtonBase.WndProc(Message& m) en System.Windows.Forms.Button.WndProc(Message& m) en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

— Reply to this email directly, view it on GitHub https://github.com/phdlee/uvk5cec/issues/43, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE4DZPE4JKG6JWKDOJHWHB3Y2GYNBAVCNFSM6AAAAABFJNFL3GVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIYDQOJSHAZTAMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

phdlee commented 3 months ago

Is it the same as the previous APRS message transmission test? The frequency is entered on the APRS MSG channel, right? Everything only works on the main screen. Can't you save WSPR data? I'll test it a few times and if it doesn't work, I'll add a testable feature.

On Wed, Mar 27, 2024 at 4:54 AM DL8LDN @.***> wrote:

In my case I can connect to the comport but transfer not possible even i I have DIG+ and reboot the radio. I am using a cable with profilic chip 73 de DL8LDN

— Reply to this email directly, view it on GitHub https://github.com/phdlee/uvk5cec/issues/43#issuecomment-2021344123, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE4DZPHKLGQ4LDISURPJQ6DY2G77TAVCNFSM6AAAAABFJNFL3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRRGM2DIMJSGM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

DL8LDN commented 3 months ago

Thanks for replying, I cannot save WSPR data and transfer APRS data with UV K5 DigiManager and yes QRG is in APRS MSG channel.

mariano80 commented 3 months ago

Hi! Before several PC reboot now program works ok. But the same problem as DL8LDN. I open Port, but when I send Transfer, nothing happens on Uv-K5.

Regards and thanks for your replay!

phdlee commented 3 months ago

Thank you for testing. Among the radios I own, I found one that had the same symptoms as you. It seems that high-speed data transmission and reception is not smooth due to some additions made while upgrading from Version B to Version C. Tomorrow, based on radios with the same symptoms as yours, I will reduce the speed or eliminate anything that is causing communication problems. Please wait one day. I will update after solved. Ian KD8CEC

On Thu, Mar 28, 2024 at 3:07 AM DL8LDN @.***> wrote:

Thanks for replying, I cannot save WSPR data and transfer APRS data with UV K5 DigiManager and yes QRG is in APRS MSG channel.

— Reply to this email directly, view it on GitHub https://github.com/phdlee/uvk5cec/issues/43#issuecomment-2023457555, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE4DZPGURCUXTGPGYXQM25DY2MDFFAVCNFSM6AAAAABFJNFL3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRTGQ2TONJVGU . You are receiving this because you commented.Message ID: @.***>

phdlee commented 3 months ago

Thank you for testing. Among the radios I own, I found one that had the same symptoms as you. It seems that high-speed data transmission and reception is not smooth due to some additions made while upgrading from Version B to Version C. Tomorrow, based on radios with the same symptoms as yours, I will reduce the speed or eliminate anything that is causing communication problems. Please wait one day. I will update after solved. Ian KD8CEC

On Thu, Mar 28, 2024 at 3:33 AM Mariano @.***> wrote:

Hi! Before several PC reboot now program works ok. But the same problem as DL8LDN. I open Port, but when I send Transfer, nothing happens on Uv-K5.

Regards and thanks for your replay!

— Reply to this email directly, view it on GitHub https://github.com/phdlee/uvk5cec/issues/43#issuecomment-2023616156, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE4DZPGS2PKIU2NNHDT32N3Y2MGGNAVCNFSM6AAAAABFJNFL3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRTGYYTMMJVGY . You are receiving this because you commented.Message ID: @.***>

mariano80 commented 3 months ago

No problem! If you need more feedback, tell me.

Regards!

phdlee commented 3 months ago

The problem seems to have been resolved. Please test. (uploaded version 0.3D) I brought the problematic laptop, UV-5K, and programming cable to a place where the problem did not occur and compared them one by one. The problem was with the USB to UART chip used in the programming cable. So it seems that the problem only occurred to people under certain conditions. So I lowered the speed to 57600 and confirmed stable transmission and reception on all cables I have.

Ian KD8CEC

On Thu, Mar 28, 2024 at 5:30 AM Mariano @.***> wrote:

No problem! If you need more feedback, tell me.

Regards!

— Reply to this email directly, view it on GitHub https://github.com/phdlee/uvk5cec/issues/43#issuecomment-2023925423, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE4DZPEOQEEHBT3LFHQK5BDY2MT7FAVCNFSM6AAAAABFJNFL3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRTHEZDKNBSGM . You are receiving this because you commented.Message ID: @.***>

phdlee commented 3 months ago

The problem seems to have been resolved. Please test. (uploaded version 0.3D) I brought the problematic laptop, UV-5K, and programming cable to a place where the problem did not occur and compared them one by one. The problem was with the USB to UART chip used in the programming cable. So it seems that the problem only occurred to people under certain conditions. So I lowered the speed to 57600 and confirmed stable transmission and reception on all cables I have.

Ian KD8CEC

On Thu, Mar 28, 2024 at 3:07 AM DL8LDN @.***> wrote:

Thanks for replying, I cannot save WSPR data and transfer APRS data with UV K5 DigiManager and yes QRG is in APRS MSG channel.

— Reply to this email directly, view it on GitHub https://github.com/phdlee/uvk5cec/issues/43#issuecomment-2023457555, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE4DZPGURCUXTGPGYXQM25DY2MDFFAVCNFSM6AAAAABFJNFL3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRTGQ2TONJVGU . You are receiving this because you commented.Message ID: @.***>

N7SIX commented 3 months ago

After Installing 0.3DB, I cannot save or transfer data from PC to K5 using my programming cable and DigiManager.

phdlee commented 3 months ago

You will also need to download DigiManager again. Speed changed to 57600. Sorry for not explaining it. As the 0.3DB acceleration became 57600, DigiManager was also set to 57600 by default. Digimanager is 0.7.

Ian

On Thu, Mar 28, 2024 at 6:43 PM SIX @.***> wrote:

After Installing 0.3DB, I cannot save or transfer data from PC to K5 using my programming cable and DigiManager.

— Reply to this email directly, view it on GitHub https://github.com/phdlee/uvk5cec/issues/43#issuecomment-2024785152, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE4DZPAJFPSS7F6KCTTGBHTY2PQ4RAVCNFSM6AAAAABFJNFL3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRUG44DKMJVGI . You are receiving this because you commented.Message ID: @.***>

N7SIX commented 3 months ago

Oh, I apologize, I didn't realize that the DigiManager had been updated as well.

Thank you! 73 Sean, N7SIX

mariano80 commented 3 months ago

Hi Ian!

Well I updated the uv-k5 fw and the Digimanager. When I connected for the first time It works great and send packet over the air. But when I try again, sometimes the app freeze or I got an exeption again. The only way to correct it is extract usb cable and close the app. Connect again and start the app.

I'l try to mmake more test to give your a better feedback. Thanks for your patience and work!

cec_0.3DB.packed.bin <-- I'm using this fw

Edit: Seems that the COM port became busy for the second time or more. The only way for Tx again is disconnecting the cable.

Regards Mariano LW2DHT

phdlee commented 3 months ago

Excellent That probably appears to be a USB cable problem with RFI Higher frequencies cause problems for computers. The test method is to press PTT while connected to a computer. You'll probably run into the same problem. There are several solutions on the Internet

  1. Do not use a USB hub and connect using a cable as short as possible.
  2. Keep the radio's antenna away from the computer.
  3. Install a core to prevent RFI in the USB cable.

Ian KD8CEC

On Fri, Mar 29, 2024 at 1:02 AM Mariano @.***> wrote:

Hi Ian!

Well I updated the uv-k5 fw and the Digimanager. When I connected for the first time It works great and send packet over the air. But when I try again, sometimes the app freeze or I got an exeption again. The only way to correct it is extract usb cable and close the app. Connect again and start the app.

I'l try to mmake more test to give your a better feedback. Thanks for your patience and work!

Regards Mariano LW2DHT

— Reply to this email directly, view it on GitHub https://github.com/phdlee/uvk5cec/issues/43#issuecomment-2025572278, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE4DZPH43TVV5UAUQERRNPLY2Q5I7AVCNFSM6AAAAABFJNFL3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRVGU3TEMRXHA . You are receiving this because you commented.Message ID: @.***>

DL8LDN commented 3 months ago

Thank you now is all working like aspected 73

mariano80 commented 3 months ago

Ian! Thats correct!

In my case I used a usb 3.0 hub and works great. The problem was with the front usb port of computer.

Well If for me it is ok and for DL8DLN. I close the Issue.

Regards Ian Have a great weekend LW2DHT

mariano80 commented 3 months ago

Closed! Using a usb 3.0 hub worked for me. But the main problem is RF on Serial/USB.