I’m attempting to upgrade the firmware on a 24v23 and the SmcCenter reliably crashes while doing so. The full trace dumped is below.
Annoyingly, I can’t seem to find any way to get the controller out of boot mode without updating the firmware, I can’t seem to find any way to update the firmware without using SmcCenter, and I can’t find any way to get SmcCenter to actually update the firmware!
Power cycling the controller doesn’t help: It remains in boot mode.
Any ideas on where to go from here would be most welcome.
smc_linux$ ./SmcCenter
System.ArgumentException: A null reference or invalid value was found [GDI+ status: InvalidParameter]
at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] in <filename unknown>:0
at System.Drawing.Region.Exclude (Rectangle rect) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Drawing.Region:Exclude (System.Drawing.Rectangle)
at System.Windows.Forms.Control+DoubleBuffer.End (System.Windows.Forms.PaintEventArgs pe) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0
Unhandled Exception: System.InvalidOperationException: Cannot call Invoke or BeginInvoke on a control until the window handle is created
at System.Windows.Forms.Control.FindControlToInvokeOn () [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.BeginInvokeInternal (System.Delegate method, System.Object[] args) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.BeginInvoke (System.Delegate method) [0x00000] in <filename unknown>:0
at Pololu.SimpleMotorController.SmcConfigurationUtility.MainWindow.backgroundUpdateStatus () [0x00000] in <filename unknown>:0
at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: Cannot call Invoke or BeginInvoke on a control until the window handle is created
at System.Windows.Forms.Control.FindControlToInvokeOn () [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.BeginInvokeInternal (System.Delegate method, System.Object[] args) [0x00000] in <filename unknown>:0
smc_linux$ ./SmcCenter
System.ArgumentException: A null reference or invalid value was found [GDI+ status: InvalidParameter]
at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] in <filename unknown>:0
at System.Drawing.Region.Exclude (Rectangle rect) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Drawing.Region:Exclude (System.Drawing.Rectangle)
at System.Windows.Forms.Control+DoubleBuffer.End (System.Windows.Forms.PaintEventArgs pe) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0
Unhandled Exception: System.InvalidOperationException: Cannot call Invoke or BeginInvoke on a control until the window handle is created
at System.Windows.Forms.Control.FindControlToInvokeOn () [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.BeginInvokeInternal (System.Delegate method, System.Object[] args) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.BeginInvoke (System.Delegate method) [0x00000] in <filename unknown>:0
at Pololu.SimpleMotorController.SmcConfigurationUtility.MainWindow.backgroundUpdateStatus () [0x00000] in <filename unknown>:0
at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: Cannot call Invoke or BeginInvoke on a control until the window handle is created
at System.Windows.Forms.Control.FindControlToInvokeOn () [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.BeginInvokeInternal (System.Delegate method, System.Object[] args) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.BeginInvoke (System.Delegate method) [0x00000] in <filename unknown>:0
at Pololu.SimpleMotorController.SmcConfigurationUtility.MainWindow.backgroundUpdateStatus () [0x00000] in <filename unknown>:0
at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.BeginInvoke (System.Delegate method) [0x00000] in <filename unknown>:0
at Pololu.SimpleMotorController.SmcConfigurationUtility.MainWindow.backgroundUpdateStatus () [0x00000] in <filename unknown>:0
at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0