Welcome! Log In Create A New Profile

Advanced

Stack overflow error

Posted by motley 
Stack overflow error
May 23, 2016 04:28AM
Hi,

All was well yesterday, this morning however I get this error:

Push(): Stack overflow

In response to communications sent to the Duet board.

When using the web interface this is after the call "G28 Z"

Using Simplify3D this was after the call "M105"

I have tried several reboots

It's a 0.8.5 board firmware version 1.10 +4 (as reported by web interface)

Thanks in advance,

Chris
Re: Stack overflow error
May 23, 2016 04:42AM
Further to my first post, I get the same error message (Push(): Stack overflow!) when I use the Serial Monitor within the Arduino IDE (1.6.8)
Re: Stack overflow error
May 23, 2016 04:57AM
If it's a consistent error, then it sounds to me that you have managed to create a recursive macro file, or a set of mutually recursive macro files. For example:

- a homing file containing a G28
- a homing file containing a G32, and a bed.g file containing a G28



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: Stack overflow error
May 23, 2016 05:07AM
Humm, 'tis possible David I was playing with the homing files yesterday, will have a look...

In the meantime more info:

Windows device manager reports "Arduino Duo (COM4)" yet the command:

bossac -i --port=COM4

returns

"No device found on COM4"
Re: Stack overflow error
May 23, 2016 07:12AM
OK solved !

The file homez.g contained "G28 Z"

Removed that and all is well, old age strikes again :-(

Thanks,

Chris
Re: Stack overflow error
May 23, 2016 09:16AM
Quote
motley
Windows device manager reports "Arduino Duo (COM4)" yet the command:

bossac -i --port=COM4

returns

"No device found on COM4"

Bossac will only find its port after you have pressed the Erase button on the Duet. Windows will then show "Bossa port" instead of "Arduino Due" or "Duet 3D printer control electronics", and the COM port number will have changed.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: Stack overflow error
May 24, 2016 04:23AM
David,

Thanks - I didn't realise that - good to know for when I get to moving onto Version 12a of your firmware :-)

It is all in the Duet setup guide now I re-read it so my fault for not remembering properly.

I do love all this stuff but there is a lot to get my head around...

Chris
Sorry, only registered users may post in this forum.

Click here to login