No such file or directory

Hi guys i think i followed the instructions correctly but am getting the following on setup :slight_smile:

#include “Maslow.h”

// Define system global state structure
system_t sys;

// Define the global settings storage - treat as readonly
settings_t sysSettings;

// Global realtime executor bitflag variable for setting various alarms.
byte systemRtExecAlarm;

// Define axes, it might be tighter to define these within the sys struct
Axis leftAxis;
Axis rightAxis;
Axis zAxis;

// Define kinematics, is it necessary for this to be a class? Is this really
// going to be reused?
Kinematics kinematics;

void setup(){
Serial.begin(57600);
Serial.print(F(“PCB v1.”));
Serial.print(getPCBVersion());
if (TLE5206 == true) { Serial.print(F(" TLE5206 “)); }
Serial.println(F(” Detected"));
sys.inchesToMMConversion = 1;
settingsLoadFromEEprom();
setupAxes();
settingsLoadStepsFromEEprom();
// Set initial desired position of the machine to its current position
leftAxis.write(leftAxis.read());
rightAxis.write(rightAxis.read());
zAxis.write(zAxis.read());
readyCommandString.reserve(INCBUFFERLENGTH); //Allocate memory so that this string doesn’t fragment the heap as it grows and shrinks
gcodeLine.reserve(INCBUFFERLENGTH);

#ifndef SIMAVR // Using the timer will crash simavr, so we disable it.
               // Instead, we'll run runsOnATimer periodically in loop().
Timer1.initialize(LOOPINTERVAL);
Timer1.attachInterrupt(runsOnATimer);
#endif

Serial.println(F("Grbl v1.00"));  // Why GRBL?  Apparently because some programs are silly and look for this as an initialization command
Serial.println(F("ready"));
reportStatusMessage(STATUS_OK);

}

void runsOnATimer(){
#if misloopDebug > 0
if (inMovementLoop && !movementUpdated){
movementFail = true;
}
#endif
movementUpdated = false;
leftAxis.computePID();
rightAxis.computePID();
zAxis.computePID();
}

void loop(){
// This section is called on startup and whenever a stop command is issued
initGCode();
if (sys.stop){ // only called on sys.stop to prevent stopping
initMotion(); // on USB disconnect. Might consider removing
setSpindlePower(false); // this restriction for safety if we are
} // comfortable that USB disconnects are
// not a common occurrence anymore
kinematics.init();

// Let's go!
sys.stop = false;            // We should consider an abort option which
                             // is not reset automatically such as a software
                             // limit
while (!sys.stop){
    gcodeExecuteLoop();
    #ifdef SIMAVR // Normally, runsOnATimer() will, well, run on a timer. See also setup().
    runsOnATimer();
    #endif
    execSystemRealtime();
}

}

would appreciate some feedback…

thanks

You might have not un-zipped, unpacked the firmware. You can’t load it from a zipped file.

hi deleted the duplicate, how do i unpack the firmware? dont see instructions on that…

thanks

1 Like

I assume you are on windows? When you highlight the file, there should be an ‘extract’ option in the top menu. Alternative with a ‘right-click’ on the file there should also be an option.

1 Like

yes using windows, fantastic support, worked :slight_smile:

thanks

3 Likes