Unhandled exception has occured | Maximum baud rate
Hi !
I have a problem with Repetier Host. I'm on Windows 10. I have not found a solution to my problem on google.
When I'm trying to connect my Scara Arm 3D Printer, this error pops up:
Details of error:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentOutOfRangeException: The maximum baud rate for the device is 21105.
Parameter name: baudRate
at 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)
at System.IO.Ports.SerialPort.Open()
at RepetierHost.model.ProtectedSerialPort.Open()
at RepetierHost.connector.SerialConnector.Connect(Boolean failSilent)
at RepetierHost.model.PrinterConnection.open()
at RepetierHost.Main.toolConnect_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripSplitButton.OnButtonClick(EventArgs e)
at System.Windows.Forms.ToolStripSplitButton.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.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.7.2115.0 built by: NET47REL1LAST
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
RepetierHost
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Repetier-Host/RepetierHost.exe
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2110.0 built by: NET47REL1LAST
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.7.2110.0 built by: NET47REL1LAST
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.7.2046.0 built by: NET47REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
RepetierHostExtender
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Repetier-Host/RepetierHostExtender.DLL
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2046.0 built by: NET47REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2117.0 built by: NET47REL1LAST
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
OpenTK
Assembly Version: 1.2.0.0
Win32 Version: 1.2.2336.6514-pre
CodeBase: file:///C:/Program%20Files/Repetier-Host/OpenTK.DLL
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2046.0 built by: NET47REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
ColorSlider
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Repetier-Host/ColorSlider.DLL
CuraEngine
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Repetier-Host/plugins/CuraEngine/CuraEngine.dll
RepetierServerConnector
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Repetier-Host/plugins/RepetierServerConnector/RepetierServerConnector.dll
RRFirmwares
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Repetier-Host/plugins/RRFirmwares/RRFirmwares.dll
SlicerSlic3r
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Repetier-Host/plugins/SlicerSlic3r/SlicerSlic3r.dll
SlicerSlic3rPE
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Repetier-Host/plugins/SlicerSlic3rPE/SlicerSlic3rPE.dll
System.ServiceProcess
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2046.0 built by: NET47REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceProcess/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll
Newtonsoft.Json
Assembly Version: 6.0.0.0
Win32 Version: 6.0.8.18111
CodeBase: file:///C:/Program%20Files/Repetier-Host/Newtonsoft.Json.DLL
OpenTK.GLControl
Assembly Version: 1.2.0.0
Win32 Version: 1.2.2336.6514-pre
CodeBase: file:///C:/Program%20Files/Repetier-Host/OpenTK.GLControl.DLL
I have not this problem with another laptop on Windows 7.
Best Regards.
Comments
That is a very low and very uncommon baud rate. Current serial drivers normally have no problems with 250000 and often support even higher baud rates. So I wonder if that is the right port or if you could find a better driver for window 10. This is a error coming back from windows driver I think as it happens while setting the baud rate. If windows does not accept is the only solution I see is using a driver that can do so.
Thank you for your answer. I tried to connect my device on another port, but the message is the same (this time, the maximum baud rate is 28023).
Whera can I find a better driver for W10 ? Which one ?
Best regards
Whcih one depends on the chip used for usb serial conversion on your motherboard. Once you know that you can google for windows 10 drivers. Hardware manager in windows should help to identify this or the board vendor who should also provide matching drivers for his board.