COM Port problem

OpenGD77CPS
Post Reply
GM1YME
Posts: 10
Joined: Sat Jan 04, 2020 10:12 pm

COM Port problem

Post by GM1YME » Wed Feb 26, 2020 11:38 pm

Have installed latest OpenGD77 CPS on a Windows 10 machine. The new driver appeared to install OK at this point.

I can read the codeplug from the radio (which has not yet been reflashed to OpenGD77 firmware) from the Program Menu. So presumably the cable is working OK.

However, when trying to back up EEPROM from the Extras/OpenGD77 support Menu no COM Port is shown and I get the undernoted crash if I try to select the empty box. I can't read the Codeplug from this menu either.

Looking at the COM Ports in Device Manager (Showing Hidden Devices), there are 4 entries:

Opticon USB Code Reader(1D) (COM3)
Opticon USB Code Reader(1D) (COM4)
USB-SERIAL CH340(COM5)
USB-SERIAL CH340(COM7)

Where do I go from here?


CRASH REPORT
ee the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at DMR.CommPortSelector.btnSelect_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
GD77CPS
Assembly Version: 1.2.7314.21156
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/OpenGD77/OpenGD77CPS.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
WeifenLuo.WinFormsUI.Docking
Assembly Version: 3.0.4.0
Win32 Version: 3.0.4.0
CodeBase: file:///C:/Program%20Files%20(x86)/OpenGD77/WeifenLuo.WinFormsUI.Docking.DLL
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

G4EML
Posts: 919
Joined: Sat Nov 16, 2019 10:01 am

Re: COM Port problem

Post by G4EML » Thu Feb 27, 2020 12:01 am

The Com port is part of the openGD77 firmware. So it won’t be available if you have not updated the firmware.

Colin.

GM1YME
Posts: 10
Joined: Sat Jan 04, 2020 10:12 pm

Re: COM Port problem

Post by GM1YME » Thu Feb 27, 2020 12:38 am

That's done the trick!

Wanted to back up everything before reflashing the set....

VK3KYY
Posts: 7484
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: COM Port problem

Post by VK3KYY » Sat Sep 26, 2020 11:02 am


ZL3GP
Posts: 2
Joined: Mon Nov 18, 2019 12:40 am

Re: COM Port problem

Post by ZL3GP » Tue Oct 27, 2020 4:29 am

I have been using the OpenGD77 CPS on my windows 10 laptop and it works fine. I am using the latest CPS version.

Recently I have loaded the latest CPS into my windows 10 (latest update) desktop computer and it seems that the com port driver installs but when I plug the Radioddity GD77 into any usb port on the desktop computer I get 'Driver Error' and the com port is not recognised by the CPS. i am wondering if windows is blocking the driver install! I have tried to reinstall the com port driver many times and the problem stays.
Any ideas please.
Ta
Philip

I have found the problem. Windows did something in the last update and killed something. I restored the computer back a week and all good again.
Cheers.

Post Reply