# Groundcontrol crashes when connecting

**URL:** <https://forums.maslowcnc.com/t/groundcontrol-crashes-when-connecting/3783>\
**Category:** Ground Control\
**Created:** [May 7, 2018, 1:41pm UTC](https://forums.maslowcnc.com/t/groundcontrol-crashes-when-connecting/3783 "2018-05-07T13:41:55Z")\
**Posts on this page:** 9\
**Page:** 2

<div class="post-metadata">

**Author:** ![Axel](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@Axel](https://forums.maslowcnc.com/u/Axel)\
**Post date:** [June 3, 2019, 8:11am UTC](https://forums.maslowcnc.com/t/groundcontrol-crashes-when-connecting/3783/21 "2019-06-03T08:11:52Z")

</div>

Hi, i see, the post is an older one, but i`ve got a similar situation and cannot solve it. I`ve already done al lot of things, EEPROM Reset, Updates from Firmware and GC, tests with other Arduinos, but when i try to connect GC and the Arduino GC crashes with the info EEPROM read fail… . The start situation was a working system. Then i plugged off the z-axis cable for a short moment. After that GC works, but i can`t run any kind of GCode. Then i started Updates, Resets, … . Greetings from Cologne, Axel

---

<div class="post-metadata">

**Author:** ![Gero](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/gero/32/17487_2.png) [@Gero](https://forums.maslowcnc.com/u/Gero)\
**Post date:** [June 3, 2019, 10:07am UTC](https://forums.maslowcnc.com/t/groundcontrol-crashes-when-connecting/3783/22 "2019-06-03T10:07:09Z")

</div>

First measure i would try in that situation is:

```
shut down everything
unplug Arduino from USB
re-plug Arduino
start up GC and try again

```

Report back if it does not work. Not the solution perhaps, but fast to do and it would exclude some occasions where the Mega just went into a ‘insane state’.

The Eprom message is normal when the firmware was newly uploaded. However, there should be a notice that the default are loaded. Can you upload the log.txt from the GC folder? (a fresh one is preferred, delete old one before staring GC, a new one should be created)

What operating system, what version number of FW/GC?

Gruss, Gero

---

<div class="post-metadata">

**Author:** ![Axel](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@Axel](https://forums.maslowcnc.com/u/Axel)\
**Post date:** [June 3, 2019, 10:24am UTC](https://forums.maslowcnc.com/t/groundcontrol-crashes-when-connecting/3783/23 "2019-06-03T10:24:31Z")

</div>

Hi Gero, thank for your response. I did everything you mentioned and i tried it with Versions from 1.11 to 1.26 of both. One thing i saw a few minutes ago, that GC only offers Com4 and COM5 for connection, my arduino works with COM3. Could this cause something. And here is my log File:

[Computed Settings]  
distperrot = 63.5  
kpposmain = 1300  
kiposmain = 0  
kdposmain = 34  
propweightmain = 1  
kpposz = 1300  
kiposz = 0  
kdposz = 34  
propweightz = 1  
kpvmain = 5  
kivmain = 0  
kdvmain = 0.28  
kpvz = 5  
kivz = 0  
kdvz = 0.28  
chainoversprocketcomputed = 1  
fpwmcomputed = 3  
kinematicstypecomputed = 2  
distperrotrightchaintolerance = 63.5  
distperrotleftchaintolerance = 63.5

[Maslow Settings]  
bedheight = 1490  
openfile =  
motoroffsety = 545.7  
sledwidth = 275  
zaxissafeheight = 5  
bufferon = 0  
bedwidth = 2520  
comport = COM3  
macro1\_title = Macro 1  
sledheight = 80  
macro2 =  
macro1 =  
zaxis = 1  
sledcg = 65  
macro2\_title = Macro 2  
colorscheme = Light  
zdistperrot = 3,17  
motorspacingx = 2985

[Advanced Settings]  
rotationradius = 157.7  
chainextendlength = 1650  
kiv = 0  
gearteeth = 10  
spindleautomate = 0  
kdvz = 0.28  
chainsagcorrection = 23.635398  
chainpitch = 6.35  
chainlength = 3360  
propweightz = 1  
zencodersteps = 7560.0  
maxfeedrate = 800  
enablepospidvalues = 0  
rightchaintolerance = 0  
enablevpidvalues = 0  
maxtouchprobeplungedistance = 0.0  
kpvz = 5  
kdposz = 34  
chainoversprocket = Top  
kpposz = 1300  
fpwm = 490Hz  
kdpos = 34  
encodersteps = 8113.73  
truncate = 0  
homex = -882.26  
homey = -341.64  
kinematicstype = Triangular  
kipos = 0  
kdv = 0.28  
kiposz = 0  
digits = 4  
kppos = 1300  
kpv = 5  
propweight = 1  
positionerrorlimit = 2.0  
kivz = 0  
leftchaintolerance = 0  
zaxisauto = 0

[Ground Control Settings]  
zoomout = pagedown  
centercanvasonresize = 1  
viewscale = .45  
zoomin = pageup  
validextensions = .nc, .ngc, .text, .gcode

[Background Settings]  
backgroundfile =  
manualreg = []

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![Gero](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/gero/32/17487_2.png) [@Gero](https://forums.maslowcnc.com/u/Gero)\
**Post date:** [June 3, 2019, 10:30am UTC](https://forums.maslowcnc.com/t/groundcontrol-crashes-when-connecting/3783/24 "2019-06-03T10:30:46Z")

</div>

So now you are running Firmware 1.26 together with GroundControl 1.26?  
If the com port is not correct, GC will just not show ‘connected’. It should not crash.  
Did you try the refresh ports if com 3 shows up?  
Does GC close right after you start it?  
The log.txt I was asking is in the GC folder. The .ini you posted might also be of use.  
I hope we can pin this down somehow.

---

<div class="post-metadata">

**Author:** ![dlang](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/dlang/32/859_2.png) [@dlang](https://forums.maslowcnc.com/u/dlang)\
**Post date:** [June 3, 2019, 10:39am UTC](https://forums.maslowcnc.com/t/groundcontrol-crashes-when-connecting/3783/25 "2019-06-03T10:39:03Z")

</div>

are you sure that you don’t still have the arduino IDE running and talking to  
the maslow on com3?

you could also try renaming groundcontrol.ini to some other name and letting GC  
make a new one when it starts up (if you haven’t already tried that)

David Lang

---

<div class="post-metadata">

**Author:** ![Axel](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@Axel](https://forums.maslowcnc.com/u/Axel)\
**Post date:** [June 3, 2019, 11:21am UTC](https://forums.maslowcnc.com/t/groundcontrol-crashes-when-connecting/3783/26 "2019-06-03T11:21:53Z")

</div>

Hi, ah ok, so is that the right file:

Connected on port COM3

PCB v1.1 Detected

error: EEPROM read fail. Using default settings.

Sent: $$  
Grbl v1.00

ready

ok

Sent: B05  
[Forward Calculating Position]

\<Idle,MPos:0.00,0.00,0.00,WPos:0.000,0.000,0.000\>

[PE:0.00,0.00,117]

\<Idle,MPos:0.00,0.00,0.00,WPos:0.000,0.000,0.000\>

[PE:0.00,0.00,117]

\<Idle,MPos:0.00,0.00,0.00,WPos:0.000,0.000,0.000\>

[PE:0.00,0.00,117]

\<Idle,MPos:0.00,0.00,0.00,WPos:0.000,0.000,0.000\>

[PE:0.00,0.00,117]

\<Idle,MPos:0.00,0.00,0.00,WPos:0.000,0.000,0.000\>

[PE:0.00,0.00,117]

\<Idle,MPos:0.00,0.00,0.00,WPos:0.000,0.000,0.000\>

[PE:0.00,0.00,117]

\<Idle,MPos:0.00,0.00,0.00,WPos:0.000,0.000,0.000\>

[PE:0.00,0.00,117]

\<Idle,MPos:0.00,0.00,0.00,WPos:0.000,0.000,0.000\>

[PE:0.00,0.00,117]

\<Idle,MPos:0.00,0.00,0.00,WPos:0.000,0.000,0.000\>

[PE:0.00,0.00,117]

\<Idle,MPos:0.00,0.00,0.00,WPos:0.000,0.000,0.000\>

[PE:0.00,0.00,117]

\<Idle,MPos:0.00,0.00,0.00,WPos:0.000,0.000,0.000\>

[PE:0.00,0.00,117]

Message: Unable to find valid machine position for chain lengths 0.00, 0.00 . Please set the chains to a known length (Actions -\> Set Chain Lengths)

$0=2438.40 (machine width, mm)

$1=1219.19995117 (machine height, mm)

$2=2978.39990234 (motor distance, mm)

$3=463.00000000 (motor height, mm)

$4=310.00000000 (sled width, mm)

$5=139.00000000 (sled height, mm)

$6=79.00000000 (sled cg, mm)

$7=1 (Kinematics Type 1=Quadrilateral, 2=Triangular)

$8=250.00000000 (rotation radius, mm)

$9=2000 (axis idle before detach, ms)

$10=3360 (full length of chain, mm)

$11=1650 (calibration chain length, mm)

$12=8113.72998046 (main steps per revolution)

And yes i`m running both in 1.26. And GC crashes directly after beeing connected with my Arduino, so you are right, normaly it can`t be a problem of the COM Ports. And the IDE isn`t running when i start GC. I did also 2 screenshots maybe they could help.

 ![26(2)](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/2X/3/3d608411c9624ae68cc38fc76290c462f5df5d04.png) ![26](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/2X/b/b79ef7c57efa865f6e94d936b1f49b585df963c6.png)

---

<div class="post-metadata">

**Author:** ![efkinass](https://avatars.discourse-cdn.com/v4/letter/e/a3d4f5/32.png) [@efkinass](https://forums.maslowcnc.com/u/efkinass)\
**Post date:** [March 28, 2020, 8:36am UTC](https://forums.maslowcnc.com/t/groundcontrol-crashes-when-connecting/3783/27 "2020-03-28T08:36:00Z")

</div>

Hello, does anybody find a solution for this problem? I have exactly the same problem… What to do?

---

<div class="post-metadata">

**Author:** ![bar](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/bar/32/10_2.png) [@bar](https://forums.maslowcnc.com/u/bar)\
**Post date:** [March 28, 2020, 5:49pm UTC](https://forums.maslowcnc.com/t/groundcontrol-crashes-when-connecting/3783/28 "2020-03-28T17:49:23Z")

</div>

Since this problem came up Web Control has become much better than Ground Control. I would recommend just switching to Web Control

> **[madgrizzle/WebControl](https://github.com/madgrizzle/WebControl/releases)**
>
> Web-based Ground Control. Contribute to madgrizzle/WebControl development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![efkinass](https://avatars.discourse-cdn.com/v4/letter/e/a3d4f5/32.png) [@efkinass](https://forums.maslowcnc.com/u/efkinass)\
**Post date:** [March 28, 2020, 6:37pm UTC](https://forums.maslowcnc.com/t/groundcontrol-crashes-when-connecting/3783/29 "2020-03-28T18:37:57Z")

</div>

thanks. ill try it tomorow.

[Previous page](https://forums.maslowcnc.com/t/groundcontrol-crashes-when-connecting/3783.md?page=1)
