Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
H32B firmware download tool on Windows 11
#1
Hello Kincony,

Do you have a working version of firmware download tool for Windows 11?

I'm getting an error message when I click on "Open Serial Port" in  "KC868 Controller Bootloader.exe" GUI on Windows 11.



Code:
System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)
   a következő helyen: System.IO.Ports.SerialStream.InitializeDCB(Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Boolean discardNull)
   a következő helyen: 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)
   a következő helyen: System.IO.Ports.SerialPort.Open()
   a következő helyen: 上位机.Form1.btn_openser_Click(Object sender, EventArgs e)
   a következő helyen: System.Windows.Forms.Control.OnClick(EventArgs e)
   a következő helyen: System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   a következő helyen: System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   a következő helyen: System.Windows.Forms.Control.WndProc(Message& m)
   a következő helyen: System.Windows.Forms.ButtonBase.WndProc(Message& m)
   a következő helyen: System.Windows.Forms.Button.WndProc(Message& m)
   a következő helyen: System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Betöltött szerelvények **************
mscorlib
    Szerelvény verziója: 4.0.0.0
    Win32-verzió: 4.8.9256.0 built by: NET481REL1LAST_B
    Kódbázis: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
上位机
    Szerelvény verziója: 1.0.0.0
    Win32-verzió: 1.0.0.0
    Kódbázis: file:///C:/Users/Username/Downloads/kincony/KC868%20Controller%20Bootloader.exe
----------------------------------------
System.Windows.Forms
    Szerelvény verziója: 4.0.0.0
    Win32-verzió: 4.8.9251.0 built by: NET481REL1LAST_C
    Kódbázis: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Szerelvény verziója: 4.0.0.0
    Win32-verzió: 4.8.9251.0 built by: NET481REL1LAST_C
    Kódbázis: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Szerelvény verziója: 4.0.0.0
    Win32-verzió: 4.8.9032.0 built by: NET481REL1
    Kódbázis: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Szerelvény verziója: 4.0.0.0
    Win32-verzió: 4.8.9032.0 built by: NET481REL1
    Kódbázis: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Szerelvény verziója: 4.0.0.0
    Win32-verzió: 4.8.9241.0 built by: NET481REL1LAST_C
    Kódbázis: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Szerelvény verziója: 4.0.0.0
    Win32-verzió: 4.8.9032.0 built by: NET481REL1
    Kódbázis: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    Szerelvény verziója: 4.0.0.0
    Win32-verzió: 4.8.9032.0 built by: NET481REL1
    Kódbázis: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Windows.Forms.resources
    Szerelvény verziója: 4.0.0.0
    Win32-verzió: 4.8.9032.0 built by: NET481REL1
    Kódbázis: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_hu_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
mscorlib.resources
    Szerelvény verziója: 4.0.0.0
    Win32-verzió: 4.8.9032.0 built by: NET481REL1
    Kódbázis: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_hu_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------


Attached Files Image(s)
   
Reply
#2
do you have installed USB-Serial port driver for Windows OS? check in your windows "Device Manager", whether have the USB-COM device, if YES, you will see the COM port number.
Reply
#3
(08-04-2024, 11:45 PM)admin Wrote: do you have installed USB-Serial port driver for Windows OS? check in your windows "Device Manager", whether have the USB-COM device, if YES, you will see the COM port number.

Yes of course. And I'm using the same cable with TeraTerm and Putty to open a serial console to Switches and routers.


Attached Files Image(s)
   
Reply
#4
if you have ANYDESK, when we have free time, we can remote control your computer help you. add whatsapp number: +86-15381188302
Reply
#5
(08-06-2024, 08:45 PM)admin Wrote: if you have ANYDESK, when we have free time, we can remote control your computer help you. add whatsapp number: +86-15381188302

No I don't have any remote connectivity tool on my computer (and will not install). Also I'm not using whatsapp and we are in a verry different time zone.

Anyway the cable is working with anything else (routers , switches) on Windows 11 and is working on Windows 10 with the H32B, but not on Windows 11.

Actually I just downgraded the driver to version 3.4.2014.8 instead of the one which was installed from Windows update (3.8.2023.2). Seems that the latest driver of CH340 is broken on the Windows 11 update. At least it is not working with the bootloader tool on Windows 11.

So solution was to downgrade the driver to 3.4.2014.8.
Reply
#6
ok
Reply
#7
I solved same problem by uninstaling default driver and installing driver from this page: https://sparks.gogo.co.nz/ch340.html
Reply
#8
sometimes the default driver have problem. download CH340 official driver file is better.
Reply
#9
(08-14-2024, 12:52 PM)admin Wrote: sometimes the default driver have problem. download CH340 official driver file is better.

Yes that was the solution.

One more question. If I update the firmware will it keep the configuration settings or it will reset everything to default?
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)