Code Monkey home page Code Monkey logo

mk4duo's People

Contributors

bob-the-kuhn avatar brupje avatar drakelive avatar hygy avatar iosonopersia avatar iworld4us avatar magokimbra avatar mayhem2408 avatar nextime avatar prinz12 avatar rafaljot avatar s57mbm avatar setar avatar vijfhoek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mk4duo's Issues

bed leveling not work

Hi
im using arduino due with ramps fd 1.2. when i type gcode g28 is giving me a error of "home Z first". i enable Z_SAFE_HOME and i get that error. when Z_SAFE_HOME is disable the z axis is not centering and the servo endstop is not able touching the bed because my Y0 X0 is off the bed. can someone help me

configuration_Overall.h

define ENDSTOPPULLUP_XMIN

define ENDSTOPPULLUP_YMIN

define ENDSTOPPULLUP_ZMIN

define ENDSTOPPULLUP_Z2MIN

define ENDSTOPPULLUP_XMAX

define ENDSTOPPULLUP_YMAX

define ENDSTOPPULLUP_ZMAX

define ENDSTOPPULLUP_Z2MAX

define ENDSTOPPULLUP_ZPROBE

define ENDSTOPPULLUP_EMIN

define X_MIN_ENDSTOP_LOGIC true

define Y_MIN_ENDSTOP_LOGIC true

define Z_MIN_ENDSTOP_LOGIC true

define Z2_MIN_ENDSTOP_LOGIC false

define X_MAX_ENDSTOP_LOGIC false

define Y_MAX_ENDSTOP_LOGIC false

define Z_MAX_ENDSTOP_LOGIC false

define Z2_MAX_ENDSTOP_LOGIC false

define Z_PROBE_ENDSTOP_LOGIC true

define E_MIN_ENDSTOP_LOGIC false

define X_ENDSTOP_SERVO_NR -1

define Y_ENDSTOP_SERVO_NR -1

define Z_ENDSTOP_SERVO_NR 0

define X_ENDSTOP_SERVO_ANGLES {0,0} // X Axis Extend and Retract angles

define Y_ENDSTOP_SERVO_ANGLES {0,0} // Y Axis Extend and Retract angles

define Z_ENDSTOP_SERVO_ANGLES {82,155}

//#define Z_PROBE_FIX_MOUNTED
//#define BLTOUCH
//#define Z_PROBE_SLED
//#define SLED_DOCKING_OFFSET 5

define X_PROBE_OFFSET_FROM_NOZZLE 23

define Y_PROBE_OFFSET_FROM_NOZZLE 45

define Z_PROBE_OFFSET_FROM_NOZZLE -4.43

define XY_PROBE_SPEED 8000

define Z_PROBE_SPEED_FAST 200

define Z_PROBE_SPEED_SLOW 100

//#define PROBE_DOUBLE_TOUCH

define Z_MIN_PROBE_REPEATABILITY_TEST

define Z_PROBE_DEPLOY_HEIGHT 15

define Z_PROBE_BETWEEN_HEIGHT 10

define Z_PROBE_OFFSET_RANGE_MIN -50

define Z_PROBE_OFFSET_RANGE_MAX 50

define Z_SAFE_HOMING

define Z_SAFE_HOMING_X_POINT 150

define Z_SAFE_HOMING_Y_POINT 150

//#define AUTO_BED_LEVELING_3POINT

define AUTO_BED_LEVELING_LINEAR

//#define AUTO_BED_LEVELING_BILINEAR
//#define DEBUG_LEVELING_FEATURE

define ABL_GRID_POINTS_X 3

define ABL_GRID_POINTS_Y 3

define LEFT_PROBE_BED_POSITION 90

define RIGHT_PROBE_BED_POSITION 250

define FRONT_PROBE_BED_POSITION 60

define BACK_PROBE_BED_POSITION 250

define MIN_PROBE_EDGE 10

//#define PROBE_Y_FIRST

define ABL_PROBE_PT_1_X 60

define ABL_PROBE_PT_1_Y 180

define ABL_PROBE_PT_2_X 60

define ABL_PROBE_PT_2_Y 60

define ABL_PROBE_PT_3_X 180

define ABL_PROBE_PT_3_Y 60

//#define Z_PROBE_END_SCRIPT "G1 Z10 F8000\nG1 X10 Y10\nG1 Z0.5"
//#define MANUAL_HOME_POSITIONS // If defined, MANUAL_*_HOME_POS below will be used
//#define BED_CENTER_AT_0_0 // If defined, the center of the bed is at (X=0, Y=0)

define ENABLE_SERVOS

define NUM_SERVOS 1

define DEACTIVATE_SERVOS_AFTER_MOVE

define SERVO_DEACTIVATION_DELAY 300

Thermal Protection not working

sketch/src/temperature/temperature.cpp: In static member function 'static void Temperature::thermal_runaway_protection(Temperature::TRState*, millis_t*, float, float, int, int, int)':
sketch/src/temperature/temperature.cpp:1809:21: error: 'heater_id' was not declared in this scope
_temp_error(heater_id, PSTR(MSG_T_THERMAL_RUNAWAY), PSTR(MSG_THERMAL_RUNAWAY));
^
exit status 1

I get this when i try to compile with thermal_protection (hotend and bed)

Compile error

Ciao Mago
I have this error building the latest version of MKDUO.
What can be?
thanks

In file included from C:\Users\io\AppData\Local\Temp\arduino_build_211046\sketch\base.h:115:0,

             from C:\Users\io\Desktop\MK4duo\MK4duo.ino:231:

C:\Users\io\AppData\Local\Temp\arduino_build_211046\sketch\src/nextion/Nextion_lcd.h:59:71: error: default argument given for parameter 2 of 'void lcd_setstatus(const char*, bool)' [-fpermissive]

 void lcd_setstatus(const char* message, const bool persist = false);

                                                                   ^

In file included from C:\Users\io\AppData\Local\Temp\arduino_build_211046\sketch\base.h:113:0,

             from C:\Users\io\Desktop\MK4duo\MK4duo.ino:231:

C:\Users\io\AppData\Local\Temp\arduino_build_211046\sketch\src/lcd/ultralcd.h:41:8: error: after previous specification in 'void lcd_setstatus(const char*, bool)' [-fpermissive]

void lcd_setstatus(const char* message, const bool persist=false);

    ^

In file included from C:\Users\io\AppData\Local\Temp\arduino_build_211046\sketch\base.h:115:0,

             from C:\Users\io\Desktop\MK4duo\MK4duo.ino:231:

C:\Users\io\AppData\Local\Temp\arduino_build_211046\sketch\src/nextion/Nextion_lcd.h:60:71: error: default argument given for parameter 2 of 'void lcd_setstatuspgm(const char*, uint8_t)' [-fpermissive]

 void lcd_setstatuspgm(const char* message, const uint8_t level = 0);

                                                                   ^

In file included from C:\Users\io\AppData\Local\Temp\arduino_build_211046\sketch\base.h:113:0,

             from C:\Users\io\Desktop\MK4duo\MK4duo.ino:231:

C:\Users\io\AppData\Local\Temp\arduino_build_211046\sketch\src/lcd/ultralcd.h:42:8: error: after previous specification in 'void lcd_setstatuspgm(const char*, uint8_t)' [-fpermissive]

void lcd_setstatuspgm(const char* message, const uint8_t level=0);

    ^

In file included from C:\Users\io\AppData\Local\Temp\arduino_build_211046\sketch\base.h:115:0,

             from C:\Users\io\Desktop\MK4duo\MK4duo.ino:231:

C:\Users\io\AppData\Local\Temp\arduino_build_211046\sketch\src/nextion/Nextion_lcd.h: In function 'bool lcd_detected()':

C:\Users\io\AppData\Local\Temp\arduino_build_211046\sketch\src/nextion/Nextion_lcd.h:94:23: error: redefinition of 'bool lcd_detected()'

 FORCE_INLINE bool lcd_detected(void) { return true; }

                   ^

In file included from C:\Users\io\AppData\Local\Temp\arduino_build_211046\sketch\base.h:113:0,

             from C:\Users\io\Desktop\MK4duo\MK4duo.ino:231:

C:\Users\io\AppData\Local\Temp\arduino_build_211046\sketch\src/lcd/ultralcd.h:52:17: error: 'bool lcd_detected()' previously defined here

 inline bool lcd_detected() { return true; }

RESET

Mine burned DUE (dead mega16u2 + Rx uart_0) doesn't restart on connect"(may be just mine board, Ï'm not sure) then work not via UART_0.
I propose to add folowing:
//Defines so the device can do a self reset
//https://forum.arduino.cc/index.php?topic=345209.0
#define SYSRESETREQ (1<<2)
#define VECTKEY (0x05fa0000UL)
#define VECTKEY_MASK (0x0000ffffUL)
#define AIRCR ((uint32_t)0xe000ed0cUL) // fixed arch-defined address
#define REQUEST_EXTERNAL_RESET (AIRCR=(AIRCR&VECTKEY_MASK)|VECTKEY|SYSRESETREQ)

REQUEST_EXTERNAL_RESET can be for example call from MK_Main.cpp after FlushSerialRequestResend() in inline void gcode_M999().

I'm no sure that someone except me need this, but this feture gives apportunity to reset device by button (in pronterface, by M999 command). Never understand why stock button "Reset" in pronterface interface doesn't reset the board. Or does ?

4.3.05_dev + Nextion LCD doesn't heat and print.

WIth this new version of firmware when I open a gcode file in pronterface or repetier host printer doesn't heat extruders and doesn't start to print.
When sometimes works, when extruder temp is ok doesn't start to print.
The same gcode with another version of MK4Duo works without problems.
It's seems that data comunication between printer and computer not works well.
Printer returns Txxx / Txxx when before returns W: too, and other values.
Other version returns
ok T:18.8 /0.0 T0:18.8 /0.0 T1:18.8 /0.0 @:0 @0:0 @1:0

DUAL_X_CARRIAGE (again?)

Trying to compile code in Arduino Mega with this Configuration attached raise this error:
Configuration.zip

sketch/src/MK_Main.cpp:8781:78: error: 'DEBUG__INFO_POS' was not declared in this scope
if (DEBUGGING(INFO)) DEBUG__INFO_POS("New Extruder", current_position);
^
In file included from sketch/src/../base.h:72:0,
from sketch/src/MK_Main.cpp:31:
sketch/src/MK_Main.cpp:8785:59: error: 'inactive_extruder_x_pos' was not declared in this scope
current_position[X_AXIS] = LOGICAL_X_POSITION(inactive_extruder_x_pos);
^
sketch/src/../src/MK_Main.h:129:38: note: in definition of macro 'LOGICAL_POSITION'
#define LOGICAL_POSITION(POS, AXIS) (POS + home_offset[AXIS] + position_shift[AXIS])
^
sketch/src/MK_Main.cpp:8785:40: note: in expansion of macro 'LOGICAL_X_POSITION'
current_position[X_AXIS] = LOGICAL_X_POSITION(inactive_extruder_x_pos);
^
sketch/src/MK_Main.cpp:8789:13: error: 'active_extruder_parked' was not declared in this scope
active_extruder_parked = (active_extruder == 0); // this triggers the second extruder to move into the duplication position
^
sketch/src/MK_Main.cpp:8793:64: error: 'duplicate_extruder_x_offset' was not declared in this scope
current_position[X_AXIS] = destination[X_AXIS] + duplicate_extruder_x_offset;
^
sketch/src/MK_Main.cpp:8795:13: error: 'extruder_duplication_enabled' was not declared in this scope
extruder_duplication_enabled = false;
^
In file included from sketch/src/../base.h:60:0,
from sketch/src/MK_Main.cpp:31:
sketch/src/MK_Main.cpp:8807:56: error: 'active_extruder_parked' was not declared in this scope
SERIAL_LMV(INFO, "Active extruder parked: ", active_extruder_parked ? "yes" : "no");
^
sketch/src/../src/communication/communication.h:100:56: note: in definition of macro 'SERIAL_V'
#define SERIAL_V(val, args...) Com::print(val, ##args)
^
sketch/src/../src/communication/communication.h:124:59: note: in expansion of macro 'SERIAL_MV'
#define SERIAL_LMV(srt, msg, val, args...) SERIAL_S(srt),SERIAL_MV(msg, val, ##args),SERIAL_E
^
sketch/src/MK_Main.cpp:8807:11: note: in expansion of macro 'SERIAL_LMV'
SERIAL_LMV(INFO, "Active extruder parked: ", active_extruder_parked ? "yes" : "no");
^
exit status 1
Error compilación en tarjeta Arduino/Genuino Mega or Mega 2560.

Enabling BABYSTEPPING breaks compilation

With BABYSTEPPING enabled the firmware does not compile. Error is:
rc/lcd/buzzer.h:27:5: error: expected initializer before 'void'

 void buzz(long duration, uint16_t freq);

wrong commit

commit 7904608
have wrong redefine for Ultratronics PINS.
previous values were correct (see pics in comment for commit)

If laserbeam is activated I have a compile error.

C:\Users...\AppData\Local\Temp\arduino_build_817854\sketch\src\MK_Main.cpp: In function 'void homeaxis(AxisEnum)':

C:\Users...\AppData\Local\Temp\arduino_build_817854\sketch\src\MK_Main.cpp:2497:15: error: crosses initialization of 'const float bump'

const float bump = axis_home_dir * (

           ^

C:\Users...\AppData\Local\Temp\arduino_build_817854\sketch\src\MK_Main.cpp:2588:1: error: expected primary-expression before '}' token

} // homeaxis()

^

exit status 1
Fehler beim Kompilieren für das Board Arduino/Genuino Mega or Mega 2560.

Enabling NEXTION cause compiling error.

When I enable NEXTION LCD with #define NEXTION raise this compiling error.

sketch/src/utility/utility.cpp.o: In function itostr2(unsigned char const&)': sketch/src/utility/utility.cpp:37: multiple definition ofitostr2(unsigned char const&)'
sketch/src/lcd/utility.cpp.o:sketch/src/lcd/utility.cpp:37: first defined here
/home/jordi/arduino-1.6.8/hardware/tools/avr/bin/../lib/gcc/avr/4.8.1/../../../../avr/bin/ld: Disabling relaxation: it will not work with multiple definitions
sketch/src/utility/utility.cpp.o: In function itostr2(unsigned char const&)': sketch/src/utility/utility.cpp:37: multiple definition ofconv'
sketch/src/lcd/utility.cpp.o:sketch/src/lcd/utility.cpp:37: first defined here
sketch/src/utility/utility.cpp.o: In function itostr2(unsigned char const&)': sketch/src/utility/utility.cpp:37: multiple definition ofitostr3(int const&)'
sketch/src/lcd/utility.cpp.o:sketch/src/lcd/utility.cpp:37: first defined here
sketch/src/utility/utility.cpp.o: In function itostr2(unsigned char const&)': sketch/src/utility/utility.cpp:37: multiple definition ofitostr3left(int const&)'
sketch/src/lcd/utility.cpp.o:sketch/src/lcd/utility.cpp:37: first defined here
sketch/src/utility/utility.cpp.o: In function itostr2(unsigned char const&)': sketch/src/utility/utility.cpp:37: multiple definition ofitostr4sign(int const&)'
sketch/src/lcd/utility.cpp.o:sketch/src/lcd/utility.cpp:37: first defined here
sketch/src/utility/utility.cpp.o: In function itostr2(unsigned char const&)': sketch/src/utility/utility.cpp:37: multiple definition offtostr12ns(float const&)'
sketch/src/lcd/utility.cpp.o:sketch/src/lcd/utility.cpp:37: first defined here
sketch/src/utility/utility.cpp.o: In function itostr2(unsigned char const&)': sketch/src/utility/utility.cpp:37: multiple definition offtostr32(float const&)'
sketch/src/lcd/utility.cpp.o:sketch/src/lcd/utility.cpp:37: first defined here
sketch/src/utility/utility.cpp.o: In function itostr2(unsigned char const&)': sketch/src/utility/utility.cpp:37: multiple definition offtostr41sign(float const&)'
sketch/src/lcd/utility.cpp.o:sketch/src/lcd/utility.cpp:37: first defined here
sketch/src/utility/utility.cpp.o: In function itostr2(unsigned char const&)': sketch/src/utility/utility.cpp:37: multiple definition offtostr43sign(float const&, char)'
sketch/src/lcd/utility.cpp.o:sketch/src/lcd/utility.cpp:37: first defined here
sketch/src/utility/utility.cpp.o: In function itostr2(unsigned char const&)': sketch/src/utility/utility.cpp:37: multiple definition offtostr5rj(float const&)'
sketch/src/lcd/utility.cpp.o:sketch/src/lcd/utility.cpp:37: first defined here
sketch/src/utility/utility.cpp.o: In function itostr2(unsigned char const&)': sketch/src/utility/utility.cpp:37: multiple definition offtostr51sign(float const&)'
sketch/src/lcd/utility.cpp.o:sketch/src/lcd/utility.cpp:37: first defined here
sketch/src/utility/utility.cpp.o: In function itostr2(unsigned char const&)': sketch/src/utility/utility.cpp:37: multiple definition offtostr52sign(float const&)'
sketch/src/lcd/utility.cpp.o:sketch/src/lcd/utility.cpp:37: first defined here
sketch/src/utility/utility.cpp.o: In function itostr2(unsigned char const&)': sketch/src/utility/utility.cpp:37: multiple definition offtostr52sp(float const&)'
sketch/src/lcd/utility.cpp.o:sketch/src/lcd/utility.cpp:37: first defined here
collect2: error: ld returned 1 exit status
exit status 1
Error compilación en tarjeta Arduino/Genuino Mega or Mega 2560.

Compiled with Arduino IDE 1.6.8

Dual X Carriage moves both extruder

Well, without errors compiling the code I've a new issue.
Both extruders moves together with tool 0 selected or tool 1 selected.
I Think that if I've a dual X carriage I've a independent extruder movement, but doesn't it.

I've tried all carriage modes but doesn't works.
With Marlin firmware, when I made X homming or movement, each extruder works independent.

DIOpin_DDR not declared

Hi, got the problem when compiling - am using for a K40 laser, have used fresh download, LCD is Discount Full display, laser 2 pin PWM high. Apologies, not usually a git hub contributor :(

from sketch\src\laser\laser_avr\laser.cpp:43:

sketch\src\laser\laser_avr\laser.cpp: In function 'void timer3_init(int)':

sketch\src\laser\laser_avr../../../src/HAL/HAL_AVR/fastio.h:74:29: error: 'DIOpin_DDR' was not declared in this scope

#define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0)

                         ^

sketch\src\laser\laser_avr../../../src/HAL/HAL_AVR/fastio.h:97:27: note: in expansion of macro '_SET_OUTPUT'

#define SET_OUTPUT(IO) _SET_OUTPUT(IO)

                       ^

sketch\src\laser\laser_avr\laser.cpp:125:7: note: in expansion of macro 'SET_OUTPUT'

   SET_OUTPUT(pin);

   ^

In file included from sketch\src\laser\laser_avr../../../src/HAL/HAL_AVR/HAL.h:56:0,

             from sketch\src\laser\laser_avr\../../../src/HAL/HAL.h:58,

             from sketch\src\laser\laser_avr\../../../base.h:77,

             from sketch\src\laser\laser_avr\laser.cpp:43:

sketch\src\laser\laser_avr../../../src/HAL/HAL_AVR/fastio.h:74:57: error: 'DIOpin_PIN' was not declared in this scope

#define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0)

                                                     ^

sketch\src\laser\laser_avr../../../src/HAL/HAL_AVR/fastio.h:38:28: note: in definition of macro 'MASK'

#define MASK(PIN) (1 << PIN)

                        ^

sketch\src\laser\laser_avr../../../src/HAL/HAL_AVR/fastio.h:97:27: note: in expansion of macro '_SET_OUTPUT'

#define SET_OUTPUT(IO) _SET_OUTPUT(IO)

                       ^

sketch\src\laser\laser_avr\laser.cpp:125:7: note: in expansion of macro 'SET_OUTPUT'

   SET_OUTPUT(pin);

   ^

In file included from sketch\src\laser\laser_avr../../../src/HAL/HAL_AVR/HAL.h:56:0,

             from sketch\src\laser\laser_avr\../../../src/HAL/HAL.h:58,

             from sketch\src\laser\laser_avr\../../../base.h:77,

             from sketch\src\laser\laser_avr\laser.cpp:43:

sketch\src\laser\laser_avr\laser.cpp: In function 'void timer4_init(int)':

sketch\src\laser\laser_avr../../../src/HAL/HAL_AVR/fastio.h:74:29: error: 'DIOpin_DDR' was not declared in this scope

#define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0)

                         ^

sketch\src\laser\laser_avr../../../src/HAL/HAL_AVR/fastio.h:97:27: note: in expansion of macro '_SET_OUTPUT'

#define SET_OUTPUT(IO) _SET_OUTPUT(IO)

                       ^

sketch\src\laser\laser_avr\laser.cpp:165:7: note: in expansion of macro 'SET_OUTPUT'

   SET_OUTPUT(pin);

   ^

In file included from sketch\src\laser\laser_avr../../../src/HAL/HAL_AVR/HAL.h:56:0,

             from sketch\src\laser\laser_avr\../../../src/HAL/HAL.h:58,

             from sketch\src\laser\laser_avr\../../../base.h:77,

             from sketch\src\laser\laser_avr\laser.cpp:43:

sketch\src\laser\laser_avr../../../src/HAL/HAL_AVR/fastio.h:74:57: error: 'DIOpin_PIN' was not declared in this scope

#define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0)

                                                     ^

sketch\src\laser\laser_avr../../../src/HAL/HAL_AVR/fastio.h:38:28: note: in definition of macro 'MASK'

#define MASK(PIN) (1 << PIN)

                        ^

sketch\src\laser\laser_avr../../../src/HAL/HAL_AVR/fastio.h:97:27: note: in expansion of macro '_SET_OUTPUT'

#define SET_OUTPUT(IO) _SET_OUTPUT(IO)

                       ^

sketch\src\laser\laser_avr\laser.cpp:165:7: note: in expansion of macro 'SET_OUTPUT'

   SET_OUTPUT(pin);

   ^

exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.

Changing NEXTION Port.

In Configuration_Feature Nextion port it's defined:
#define NEXTION_PORT 1

This is incorrect.
Correct was:
#define NEXTION_SERIAL 1

Temp readings of 2nd extruder not in serial out, 8-bit board only

Temperature readings on my RADDS Dual extruder setup work fine with both extruder temp sensors. Today, I uploaded the same codebase / different config to my Megatronics V2 board, also dual extruder setup, but I did not get any reading of the 2nd temp sensor. All wiring must be correct since original Marlin firmware works. Pins are correct (compared with Marlin).
Temperature of 2nd extruder DOES get reported in Pronterface if I switch to T1 but only one at the time. On RADDS, I can see T0 and T1 at the same time. Repetier-Server does not report T1 at all....

eeprom.cpp error

Hi,
Since I am a git beginner, I will inform you on issue.

[MK4duo/src/eeprom.cpp]
[Line:1013]
[OLD]
for(uint8_t i = 0; i < EXTRUDERS; i++) {
SERIAL_SMV(CFG, " M200 T", i);
SERIAL_EMV(" D", filament_size[1]);
#endif

[NEW]
for(uint8_t i = 0; i < EXTRUDERS; i++) {
SERIAL_SMV(CFG, " M200 T", i);
SERIAL_EMV(" D", filament_size[1]);
}
#endif

Thank you.

AUTO BED LEVELING ISSUE

If I made a auto bed leveling with G29 command, after leveling if I move Z axis to 0 , Z axis doesn't stop

If I made a singel auto bed leveling with G30 command, after leveling if I move Z axis to 0 , moves correct and stop bed ... EDIT, not always occurs.

I've homming endstop at ZMAX pin and ZPROBE on pin 32.

Homing Broken

8156fcf

this commit breaks almost everything ;) The Printer is homing but dont give the right positions. if i use a Y Max Endstop it tells y=0. so the printer will not move in Y.

Support for external I2C EEPROM on RADDS / Due

The missing EEPROM is a showstopper for me. I saw that you support it on Ramps-FD V2 (only exist as blueprint / DIY board as far as I know). Would it be feasible to add support for a cheap EEPROM Data Module - as described here http://www.instructables.com/id/Adding-an-24LC256-EEPROM-to-the-Arduino-Due/

If I knew how to code this myself, let alone have some hardware knowledge, I would do it myself. Instead I did some research to get you kickstarted:

http://www.hobbytronics.co.uk/arduino-external-eeprom
http://www.hobbytronics.co.uk/eeprom-page-write
http://www.jechavarria.com/2013/06/28/components-i-usually-use-ii-24lc256-i2c-eeprom-memory/
Lastly, a library that works for 24LC256:
https://github.com/JChristensen/extEEPROM

If you need any assistance in testing, I would be glad to help.

overlap in commits

new commit 0833cfe overlaps previously made e7971ad
in file MK4duo/Configuration_Temperature.h

and back to trouble "Configuration_Temperature.h contains unrecognized characters..." in Arduino IDE

my commit is change degress sign to space but after merge degress sign back
I think the problem in the wrong support UTF-8 repository editor
2016-12-22 10 09 01
2016-12-22 10 09 23

SD Card issues

SD Card is detected and files listed with M20 command.
In nextion Screen SD Files are shown but doesn't read anything.
If I'll try to print some file with gcode , files allways was 0 bytes readed

ABL not working in 4.3.09_dev

There are at least two issues:

  • G28 X0 Y0 ;move X/Y to min endstops
    G28 Z0 ;move Z to min endstops
    G29 ;auto level
    Resulting in console out:
    12:20:53.365: G29 Auto Bed Leveling
    12:20:53.369: ABL: Off (2)
    12:20:53.369: Reset Bed Level
    12:22:23.028: Echo:Bilinear Leveling Grid:
    12:22:23.028: Echo: 0 1 2
    12:22:23.032: Echo: 0 -1.11 -0.68 -0.26
    12:22:23.032: Echo: 1 -0.83 -0.23 +0.36
    12:22:23.036: Echo: 2 -0.56 +0.16 +0.81
    12:22:23.040: X:196.000000 Y:280.000000 Z:NAN E:0.000000 Count X:39200 Y:56000 Z:26235
    12:22:23.048: X:196.000000 Y:280.000000 Z:NAN E:0.000000 Count X:39200 Y:56000 Z:0

  • Issue 1:
    Why does it say ABL: Off? I have these settings:
    #define AUTO_BED_LEVELING_FEATURE
    #define AUTO_BED_LEVELING_BILINEAR

    • If I enable ABL with M320, I get
      12:33:55.471: ABL: On
      12:33:55.477: ABL Fade Height = 0.00
      Then another G28, I get
      12:34:30.060: ABL: Off
  • Should a M320 be included in the Gcode before every print? Am I missing something?

  • Issue 2:
    G29 returns NAN for Z:
    12:22:23.040: X:196.000000 Y:280.000000 Z:NAN E:0.000000 Count X:39200 Y:56000 Z:26235
    As a result, prints start somewhere above the bed.

Laser turns on unintentionally / Raster engraving

Hello, there is probably a problem with the laser.
I use Arduino Mega 2560 with Ramps 1.4. I use the 1 pin (D5) configuration.
All other settings are unchanged. Although the laser is deactivated, it always returns after a few seconds.
Raster engraving also seems to have a bug. When engraving I get only lines. I use the Inkscape plugin. With another Marlinfirmware it goes without problems.
Sorry for the computer translation.

MK4duo_4.3.04_dev compile error

Hi Mago
I have a compile error in line.

C:\Users\io\Desktop\MK4duo\src\nextion\Nextion_lcd.cpp (1 hit)
Line 508: if (ptr == &Hotend3) {

C:\Users\io\AppData\Local\Temp\build8e7764853ccdabc298b7c2bc4c65a0b0.tmp\sketch\src\nextion\Nextion_lcd.cpp:508:19: error: 'Hotend3' was not declared in this scope

   if (ptr == &Hotend3) {

Another question. Why with the 4.3.X version I'm not able to communicate with pronterface?
When I click on connect button I see the log of the connection but I do not see temperatures and it is unresponsive at the gcode command.

Thanks

Stops While Printing

During a print job, motors will stop but heats will stay on.

Using Repetier Host over usb, G-Code still sending as though everything is fine because Arduino Mega is sending 'ok'

Arduino 1.6.13 + 4.03.8_dev compiling error.

When compile last version of firmware raise this error:

/tmp/arduino_build_746019/sketch/src/eeprom/eeprom.cpp: In static member function 'static void EEPROM::ResetDefault()':
/tmp/arduino_build_746019/sketch/src/eeprom/eeprom.cpp:590:3: error: static assertion failed: Offsets for the first hotend must be 0.0.

I2C oled display for radds

Hi,
is it possible to use a 1.3" oled screen with the radds over i2c?
I have no space for a classic display and need a small one to control my printer.

ultralcd.cpp error

Hi,
An error occurred in ultralcd.cpp.
Please correct the following.

[OLD]
MK4duo/MK4duo/src/language/language_en.h
Line : 199
#define MSG_DELTA_CALIBRATE_X _UxGT("Calibrate " MSG_X
#define MSG_DELTA_CALIBRATE_Y _UxGT("Calibrate " MSG_Y
#define MSG_DELTA_CALIBRATE_Z _UxGT("Calibrate " MSG_Z

[NEW]
#define MSG_DELTA_CALIBRATE_X _UxGT("Calibrate ") MSG_X
#define MSG_DELTA_CALIBRATE_Y _UxGT("Calibrate ") MSG_Y
#define MSG_DELTA_CALIBRATE_Z _UxGT("Calibrate ") MSG_Z

Thank you.

porting from u8glib to u8g2lib

problem:
u8g lib not supported hardware SPI in st7920 on Arduino Due
olikraus/U8glib_Arduino#13

hardware:
ReprapWorld Graphical LCD screen v1.0 + Ultratronics Pro v1.0 (Arduino Due based)
Current release firmware work (in software SPI mode), but reaction on encoder clicks very slow: 1-2 sec when print in progress and SDCARD reading.

Any way to porting MK4Due from u8glib to u8g2lib ?

P.S.
I tried to do it yourself, but my knowledge is not enough :(
I know many people who have just such hardware

P.P.S.
sorry for the machine translation

Help needed - Defining E1, E2 and E3 as Z axis

Hi!

I would like to set my 3 extra extruders ofmy ultratronics to be Z axis so I can have 4 motors dealing with the massive weight of a bed I am building. How can I do it?
Would be awesome if you had in configurations.h a stepper to axis set up. It would open the doors to more exotic setups!

Temperature status LEDs compiling error

Arduino: 1.6.9 (Windows 7), Placa:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from sketch\src../src/HAL_AVR/HAL.h:56:0,

             from sketch\src\../base.h:86,

             from sketch\src\MK_Main.cpp:31:

sketch\src\MK_Main.cpp: In function 'void handle_status_leds()':

sketch\src../src/HAL_AVR/fastio.h:66:36: error: 'DIOSTAT_LED_RED_RPORT' was not declared in this scope

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

                                ^

sketch\src../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'

#define WRITE(IO, v) _WRITE(IO, v)

                       ^

sketch\src\MK_Main.cpp:11187:9: note: in expansion of macro 'WRITE'

     WRITE(STAT_LED_RED, new_led ? HIGH : LOW);

     ^

sketch\src../src/HAL_AVR/fastio.h:55:43: error: 'DIOSTAT_LED_RED_WPORT' was not declared in this scope

                                      {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } \

                                       ^

sketch\src../src/HAL_AVR/fastio.h:66:80: note: in expansion of macro '_WRITE_C'

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

                                                                            ^

sketch\src../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'

#define WRITE(IO, v) _WRITE(IO, v)

                       ^

sketch\src\MK_Main.cpp:11187:9: note: in expansion of macro 'WRITE'

     WRITE(STAT_LED_RED, new_led ? HIGH : LOW);

     ^

In file included from sketch\src../src/HAL_AVR/HAL.h:56:0,

             from sketch\src\../base.h:86,

             from sketch\src\MK_Main.cpp:31:

sketch\src../src/HAL_AVR/fastio.h:55:72: error: 'DIOSTAT_LED_RED_PIN' was not declared in this scope

                                      {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } \

                                                                    ^

sketch\src../src/HAL_AVR/fastio.h:38:28: note: in definition of macro 'MASK'

#define MASK(PIN) (1 << PIN)

                        ^

sketch\src../src/HAL_AVR/fastio.h:66:80: note: in expansion of macro '_WRITE_C'

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

                                                                            ^

sketch\src../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'

#define WRITE(IO, v) _WRITE(IO, v)

                       ^

sketch\src\MK_Main.cpp:11187:9: note: in expansion of macro 'WRITE'

     WRITE(STAT_LED_RED, new_led ? HIGH : LOW);

     ^

In file included from sketch\src../src/HAL_AVR/HAL.h:56:0,

             from sketch\src\../base.h:86,

             from sketch\src\MK_Main.cpp:31:

sketch\src../src/HAL_AVR/fastio.h:60:43: error: 'DIOSTAT_LED_RED_WPORT' was not declared in this scope

                                      {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); } \

                                       ^

sketch\src../src/HAL_AVR/fastio.h:66:80: note: in expansion of macro '_WRITE_C'

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

                                                                            ^

sketch\src../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'

#define WRITE(IO, v) _WRITE(IO, v)

                       ^

sketch\src\MK_Main.cpp:11187:9: note: in expansion of macro 'WRITE'

     WRITE(STAT_LED_RED, new_led ? HIGH : LOW);

     ^

In file included from sketch\src../src/HAL_AVR/HAL.h:56:0,

             from sketch\src\../base.h:86,

             from sketch\src\MK_Main.cpp:31:

sketch\src../src/HAL_AVR/fastio.h:60:73: error: 'DIOSTAT_LED_RED_PIN' was not declared in this scope

                                      {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); } \

                                                                     ^

sketch\src../src/HAL_AVR/fastio.h:38:28: note: in definition of macro 'MASK'

#define MASK(PIN) (1 << PIN)

                        ^

sketch\src../src/HAL_AVR/fastio.h:66:80: note: in expansion of macro '_WRITE_C'

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

                                                                            ^

sketch\src../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'

#define WRITE(IO, v) _WRITE(IO, v)

                       ^

sketch\src\MK_Main.cpp:11187:9: note: in expansion of macro 'WRITE'

     WRITE(STAT_LED_RED, new_led ? HIGH : LOW);

     ^

sketch\src../src/HAL_AVR/fastio.h:51:40: error: 'DIOSTAT_LED_RED_WPORT' was not declared in this scope

#define _WRITE_NC(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)

                                    ^

sketch\src../src/HAL_AVR/fastio.h:66:105: note: in expansion of macro '_WRITE_NC'

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

                                                                                                     ^

sketch\src../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'

#define WRITE(IO, v) _WRITE(IO, v)

                       ^

sketch\src\MK_Main.cpp:11187:9: note: in expansion of macro 'WRITE'

     WRITE(STAT_LED_RED, new_led ? HIGH : LOW);

     ^

sketch\src../src/HAL_AVR/fastio.h:51:69: error: 'DIOSTAT_LED_RED_PIN' was not declared in this scope

#define _WRITE_NC(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)

                                                                 ^

sketch\src../src/HAL_AVR/fastio.h:38:28: note: in definition of macro 'MASK'

#define MASK(PIN) (1 << PIN)

                        ^

sketch\src../src/HAL_AVR/fastio.h:66:105: note: in expansion of macro '_WRITE_NC'

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

                                                                                                     ^

sketch\src../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'

#define WRITE(IO, v) _WRITE(IO, v)

                       ^

sketch\src\MK_Main.cpp:11187:9: note: in expansion of macro 'WRITE'

     WRITE(STAT_LED_RED, new_led ? HIGH : LOW);

     ^

sketch\src../src/HAL_AVR/fastio.h:51:97: error: 'DIOSTAT_LED_RED_WPORT' was not declared in this scope

#define _WRITE_NC(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)

                                                                                             ^

sketch\src../src/HAL_AVR/fastio.h:66:105: note: in expansion of macro '_WRITE_NC'

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

                                                                                                     ^

sketch\src../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'

#define WRITE(IO, v) _WRITE(IO, v)

                       ^

sketch\src\MK_Main.cpp:11187:9: note: in expansion of macro 'WRITE'

     WRITE(STAT_LED_RED, new_led ? HIGH : LOW);

     ^

sketch\src../src/HAL_AVR/fastio.h:51:127: error: 'DIOSTAT_LED_RED_PIN' was not declared in this scope

#define _WRITE_NC(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)

                                                                                                                           ^

sketch\src../src/HAL_AVR/fastio.h:38:28: note: in definition of macro 'MASK'

#define MASK(PIN) (1 << PIN)

                        ^

sketch\src../src/HAL_AVR/fastio.h:66:105: note: in expansion of macro '_WRITE_NC'

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

                                                                                                     ^

sketch\src../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'

#define WRITE(IO, v) _WRITE(IO, v)

                       ^

sketch\src\MK_Main.cpp:11187:9: note: in expansion of macro 'WRITE'

     WRITE(STAT_LED_RED, new_led ? HIGH : LOW);

     ^

In file included from sketch\src../src/HAL_AVR/HAL.h:56:0,

             from sketch\src\../base.h:86,

             from sketch\src\MK_Main.cpp:31:

sketch\src../src/HAL_AVR/fastio.h:66:36: error: 'DIOSTAT_LED_BLUE_RPORT' was not declared in this scope

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

                                ^

sketch\src../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'

#define WRITE(IO, v) _WRITE(IO, v)

                       ^

sketch\src\MK_Main.cpp:11188:9: note: in expansion of macro 'WRITE'

     WRITE(STAT_LED_BLUE, new_led ? LOW : HIGH);

     ^

sketch\src../src/HAL_AVR/fastio.h:55:43: error: 'DIOSTAT_LED_BLUE_WPORT' was not declared in this scope

                                      {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } \

                                       ^

sketch\src../src/HAL_AVR/fastio.h:66:80: note: in expansion of macro '_WRITE_C'

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

                                                                            ^

sketch\src../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'

#define WRITE(IO, v) _WRITE(IO, v)

                       ^

sketch\src\MK_Main.cpp:11188:9: note: in expansion of macro 'WRITE'

     WRITE(STAT_LED_BLUE, new_led ? LOW : HIGH);

     ^

In file included from sketch\src../src/HAL_AVR/HAL.h:56:0,

             from sketch\src\../base.h:86,

             from sketch\src\MK_Main.cpp:31:

sketch\src../src/HAL_AVR/fastio.h:55:72: error: 'DIOSTAT_LED_BLUE_PIN' was not declared in this scope

                                      {DIO ##  IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } \

                                                                    ^

sketch\src../src/HAL_AVR/fastio.h:38:28: note: in definition of macro 'MASK'

#define MASK(PIN) (1 << PIN)

                        ^

sketch\src../src/HAL_AVR/fastio.h:66:80: note: in expansion of macro '_WRITE_C'

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

                                                                            ^

sketch\src../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'

#define WRITE(IO, v) _WRITE(IO, v)

                       ^

sketch\src\MK_Main.cpp:11188:9: note: in expansion of macro 'WRITE'

     WRITE(STAT_LED_BLUE, new_led ? LOW : HIGH);

     ^

In file included from sketch\src../src/HAL_AVR/HAL.h:56:0,

             from sketch\src\../base.h:86,

             from sketch\src\MK_Main.cpp:31:

sketch\src../src/HAL_AVR/fastio.h:60:43: error: 'DIOSTAT_LED_BLUE_WPORT' was not declared in this scope

                                      {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); } \

                                       ^

sketch\src../src/HAL_AVR/fastio.h:66:80: note: in expansion of macro '_WRITE_C'

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

                                                                            ^

sketch\src../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'

#define WRITE(IO, v) _WRITE(IO, v)

                       ^

sketch\src\MK_Main.cpp:11188:9: note: in expansion of macro 'WRITE'

     WRITE(STAT_LED_BLUE, new_led ? LOW : HIGH);

     ^

In file included from sketch\src../src/HAL_AVR/HAL.h:56:0,

             from sketch\src\../base.h:86,

             from sketch\src\MK_Main.cpp:31:

sketch\src../src/HAL_AVR/fastio.h:60:73: error: 'DIOSTAT_LED_BLUE_PIN' was not declared in this scope

                                      {DIO ##  IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); } \

                                                                     ^

sketch\src../src/HAL_AVR/fastio.h:38:28: note: in definition of macro 'MASK'

#define MASK(PIN) (1 << PIN)

                        ^

sketch\src../src/HAL_AVR/fastio.h:66:80: note: in expansion of macro '_WRITE_C'

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

                                                                            ^

sketch\src../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'

#define WRITE(IO, v) _WRITE(IO, v)

                       ^

sketch\src\MK_Main.cpp:11188:9: note: in expansion of macro 'WRITE'

     WRITE(STAT_LED_BLUE, new_led ? LOW : HIGH);

     ^

sketch\src../src/HAL_AVR/fastio.h:51:40: error: 'DIOSTAT_LED_BLUE_WPORT' was not declared in this scope

#define _WRITE_NC(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)

                                    ^

sketch\src../src/HAL_AVR/fastio.h:66:105: note: in expansion of macro '_WRITE_NC'

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

                                                                                                     ^

sketch\src../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'

#define WRITE(IO, v) _WRITE(IO, v)

                       ^

sketch\src\MK_Main.cpp:11188:9: note: in expansion of macro 'WRITE'

     WRITE(STAT_LED_BLUE, new_led ? LOW : HIGH);

     ^

sketch\src../src/HAL_AVR/fastio.h:51:69: error: 'DIOSTAT_LED_BLUE_PIN' was not declared in this scope

#define _WRITE_NC(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)

                                                                 ^

sketch\src../src/HAL_AVR/fastio.h:38:28: note: in definition of macro 'MASK'

#define MASK(PIN) (1 << PIN)

                        ^

sketch\src../src/HAL_AVR/fastio.h:66:105: note: in expansion of macro '_WRITE_NC'

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

                                                                                                     ^

sketch\src../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'

#define WRITE(IO, v) _WRITE(IO, v)

                       ^

sketch\src\MK_Main.cpp:11188:9: note: in expansion of macro 'WRITE'

     WRITE(STAT_LED_BLUE, new_led ? LOW : HIGH);

     ^

sketch\src../src/HAL_AVR/fastio.h:51:97: error: 'DIOSTAT_LED_BLUE_WPORT' was not declared in this scope

#define _WRITE_NC(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)

                                                                                             ^

sketch\src../src/HAL_AVR/fastio.h:66:105: note: in expansion of macro '_WRITE_NC'

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

                                                                                                     ^

sketch\src../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'

#define WRITE(IO, v) _WRITE(IO, v)

                       ^

sketch\src\MK_Main.cpp:11188:9: note: in expansion of macro 'WRITE'

     WRITE(STAT_LED_BLUE, new_led ? LOW : HIGH);

     ^

sketch\src../src/HAL_AVR/fastio.h:51:127: error: 'DIOSTAT_LED_BLUE_PIN' was not declared in this scope

#define _WRITE_NC(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)

                                                                                                                           ^

sketch\src../src/HAL_AVR/fastio.h:38:28: note: in definition of macro 'MASK'

#define MASK(PIN) (1 << PIN)

                        ^

sketch\src../src/HAL_AVR/fastio.h:66:105: note: in expansion of macro '_WRITE_NC'

#define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)

                                                                                                     ^

sketch\src../src/HAL_AVR/fastio.h:89:27: note: in expansion of macro '_WRITE'

#define WRITE(IO, v) _WRITE(IO, v)

                       ^

sketch\src\MK_Main.cpp:11188:9: note: in expansion of macro 'WRITE'

     WRITE(STAT_LED_BLUE, new_led ? LOW : HIGH);

     ^

exit status 1
Erro compilando para a placa Arduino/Genuino Mega or Mega 2560

Este relatório teria mais informações com
"Mostrar a saida detalhada durante a compilação"
opção pode ser ativada em "Arquivo -> Preferências"

NEXTION Fan speed info

When print with the second extruder only, layer fan info in Nextion LCD always shown 0%

Cant home z with endstop on servo

There is an error in conditionals, line 1020 ( #define HOMING_Z_WITH_PROBE (HAS_BED_PROBE && Z_HOME_DIR < 0 && !HAS_Z_PROBE_PIN))
the last condition is falsely negated and should say
&& !HAS_Z_PROBE_PIN

Compile issue (DUAL X EXTRUDER)

In file included from sketch/src/../base.h:90:0,
from sketch/src/MK_Main.cpp:31:
sketch/src/MK_Main.cpp: In function 'bool prepare_move_to_destination_dualx()':
sketch/src/MK_Main.cpp:10322:30: error: 'inactive_extruder_x_pos' was not declared in this scope
LOGICAL_X_POSITION(inactive_extruder_x_pos),
^
sketch/src/../src/MK_Main.h:132:38: note: in definition of macro 'LOGICAL_POSITION'
#define LOGICAL_POSITION(POS, AXIS) (POS + home_offset[AXIS] + position_shift[AXIS])
^
sketch/src/MK_Main.cpp:10322:11: note: in expansion of macro 'LOGICAL_X_POSITION'
LOGICAL_X_POSITION(inactive_extruder_x_pos),
^
exit status 1
Error compilación en tarjeta Arduino/Genuino Mega or Mega 2560.

Compile issue

sketch/src/temperature/temperature.cpp: In function 'Temperature::manage_temp_controller() [clone .part.4]':
sketch/src/temperature/temperature.cpp:1111:1: error: unable to find a register to spill in class 'POINTER_REGS'
}
^
sketch/src/temperature/temperature.cpp:1111:1: error: this is the insn:
(insn 72 70 74 3 (set (reg:SF 95 [ D.2291 ])
(mem:SF (post_inc:HI (reg:HI 122 [ ivtmp.88 ])) [11 MEM[base: _94, offset: 0B]+0 S4 A8])) sketch/src/temperature/temperature.cpp:698 100 {*movsf}
(expr_list:REG_INC (reg:HI 122 [ ivtmp.88 ])
(nil)))
sketch/src/temperature/temperature.cpp:1111: confused by earlier errors, bailing out
lto-wrapper: /home/jordi/arduino-1.6.11/hardware/tools/avr/bin/avr-gcc returned 1 exit status
/home/jordi/arduino-1.6.11/hardware/tools/avr/bin/../lib/gcc/avr/4.9.2/../../../../avr/bin/ld: lto-wrapper failed
collect2: error: ld returned 1 exit status
exit status 1
Error compilación en tarjeta Arduino/Genuino Mega or Mega 2560.

Cant Compile

I get compile errors

`
In file included from sketch/src/eeprom/../../base.h:84:0,
from sketch/src/eeprom/eeprom.cpp:39:
sketch/src/eeprom/eeprom.cpp: In static member function 'static void EEPROM::PrintSettings(bool)':
sketch/src/eeprom/../../src/HAL_SAM/communication.h:100:75: error: call of overloaded 'print(long unsigned int&, int)' is ambiguous
#define SERIAL_V(val, ...) Com::print(val, ## VA_ARGS)

                                                                       ^

sketch/src/eeprom/../../src/HAL_SAM/communication.h:104:59: note: in expansion of macro 'SERIAL_V'
#define SERIAL_MV(msg, val, ...) SERIAL_M(msg),SERIAL_V(val, ## VA_ARGS)

                                                       ^

sketch/src/eeprom/../../src/HAL_SAM/communication.h:117:45: note: in expansion of macro 'SERIAL_MV'
#define SERIAL_EMV(msg, val, ...) SERIAL_MV(msg, val, ## VA_ARGS),SERIAL_E

                                         ^

sketch/src/eeprom/eeprom.cpp:751:9: note: in expansion of macro 'SERIAL_EMV'
SERIAL_EMV(" E", planner.max_acceleration_mm_per_s2[E_AXIS + i], 3);
^
sketch/src/eeprom/../../src/HAL_SAM/communication.h:100:75: note: candidates are:
#define SERIAL_V(val, ...) Com::print(val, ## VA_ARGS)

                                                                       ^

sketch/src/eeprom/../../src/HAL_SAM/communication.h:104:59: note: in expansion of macro 'SERIAL_V'
#define SERIAL_MV(msg, val, ...) SERIAL_M(msg),SERIAL_V(val, ## VA_ARGS)

                                                       ^

sketch/src/eeprom/../../src/HAL_SAM/communication.h:117:45: note: in expansion of macro 'SERIAL_MV'
#define SERIAL_EMV(msg, val, ...) SERIAL_MV(msg, val, ## VA_ARGS),SERIAL_E

                                         ^

sketch/src/eeprom/eeprom.cpp:751:9: note: in expansion of macro 'SERIAL_EMV'
SERIAL_EMV(" E", planner.max_acceleration_mm_per_s2[E_AXIS + i], 3);
^
sketch/src/eeprom/../../src/HAL_SAM/communication.h:63:24: note: static void Com::print(float, uint8_t)
static inline void print(float number, uint8_t digits) { printFloat(number, digits); }

                    ^

sketch/src/eeprom/../../src/HAL_SAM/communication.h:65:24: note: static void Com::print(double, uint8_t)
static inline void print(double number, uint8_t digits) { printFloat(number, digits); }

                    ^

exit status 1
Fehler beim Kompilieren für das Board Arduino Due (Programming Port).
`

auto tool changer

Hi,

i will build a printer with an auto tool changer like this:
https://www.youtube.com/watch?v=unsQ9i-nBNc
What is the best way do get the gcode in MK4duo to put a tool by side and get the other tool. I found in the nozzle a feature "park" but if i understand it right it is not what i need.

desc:
first print head get a tool (level switch) for auto bed leveling
then change this tool to print with e0
then park e0 (e0 and e1 on the left head side) and move to e1 to print....

BR Hexxter

you make a nice work!

Compile Error

In file included from sketch/base.h:76:0,
from /Users/smoki3/Downloads/MK4duo-master/MK4duo/MK4duo.ino:234:
sketch/src/planner/planner.h: In static member function 'static void Planner::set_e_position_mm(const float&)':
sketch/src/conditionals_pre.h:390:29: error: invalid conversion from 'int' to 'AxisEnum' [-fpermissive]
#define _EINDEX (E_AXIS + active_extruder)
^
sketch/src/planner/planner.h:370:82: note: in expansion of macro '_EINDEX'
static FORCE_INLINE void set_e_position_mm(const float &e) { set_position_mm(_EINDEX, e); }
^
In file included from sketch/base.h:111:0,
from /Users/smoki3/Downloads/MK4duo-master/MK4duo/MK4duo.ino:234:
sketch/src/planner/planner.h:368:17: error: initializing argument 1 of 'static void Planner::set_position_mm(AxisEnum, const float&)' [-fpermissive]
static void set_position_mm(const AxisEnum axis, const float &v);
^
exit status 1
Fehler beim Kompilieren für das Board Arduino Due (Programming Port).

I get this

MK4Duo 4.3.09_dev not compiling

Ciao Mago,
ho un errore di compilazione per l'MK4Duo 4.3.09_dev su una i3 con display RepRapDiscount Smart Controller.
Ho provato a usare due versioni dell'Arduino IDE, 1.6.9 e 1.6.13, ma il risultato è lo stesso.
Ecco l'errore:

sketch\src\lcd\ultralcd.cpp: In function 'void _lcd_level_bed_get_z()':

sketch\src\lcd\ultralcd.cpp:1213:12: error: crosses initialization of 'bool debounce_click'

   bool debounce_click = false;

        ^

exit status 1
Errore durante la compilazione per la scheda Arduino/Genuino Mega or Mega 2560.

Grazie per tutto il lavoro che fai.

Wrong direction with dual X carriage.

With last version of firmware the direction of the second extruder motor isn't correct.
It's moves at the same direction that first extruder causing collision with the endstop.

For your info , in the previous version if the X or Y offset of second extruder was great than 0 or positive movement of second extruder was wrong too.

Otherwhise, Z offset of first extruder always is to be 0.0 , in previous version not:

in my case: #define HOTEND_OFFSET_Z {-0.2,-0.1, 0.0, 0.0}

LIN_Advance creates long delays during print

I am not sure if my findings are specific to my setup. I use repetier server on a raspberry pi to connect to RADDS via native port (i.e. fast baud rate 460300, hardly any corrupted or lost data). I read elsewhere (https://forum.e3d-online.com/index.php?threads/new-linear-advance-extrusion-algorithm-significant-print-quality-increases.1893/#post-22135) that LIN_Advance might be restricted to printing from SDCard due to the read speed (!?)
From http://marlinfw.org/docs/features/lin_advance.html I read

Keep in mind that enabling this feature will add extra load to the processor and also your extruder hardware. I recommend to stay at 115200 baud communication speed, specially if you get error messages in your print host software or you get wired movements of your print head. Ensure your print host software is using line numbers and checksums, this is disabled by default in Simplify3D.

Now, when I activated LIN_Advance and set K to 75, my printer started to stutter. Interestingly, the amount of time the printhead paused moving was almost always the same:

  • Test Run 4 (benchy3d.stl)
    X93.613 Y161.51 Z2.0
    15:15:34.123: ok N10787 P0 B0
    15:17:16.123: busy:processing (51)
    15:17:16.402: ok N10788 P0 B0

  • X123.115 Y151.186 Z2.6
    15:18:02.743: ok N12753 P0 B0
    15:19:44.744: busy:processing (51)
    15:19:45.081: ok N12754 P0 B0

  • X125.88 Y154.81 Z4.40
    15:23:14.352: ok N20922 P0 B0
    15:24:56.353: busy:processing (51)
    15:24:56.621: ok N20923 P0 B0

  • X83.3 Y156.35 Z4.80
    15:25:27.928: ok N22411 P0 B0
    15:27:09.929: busy:processing (51)
    15:27:10.231: ok N22412 P0 B0

  • 15:28:45.465: ok N26009 P0 B0
    15:30:25.466: busy:processing (50)
    15:30:25.685: ok N26010 P0 B0

To me, that does not look like a communication / bandwidth issue, but more as if the delay stems from the code itself. I will run another test with slower baud rate and see if the delay stays the same....

Maybe this is completely unrelated, but I noticed that in HAL.h, it says
define REFERENCE_F_CPU 16000000 // 16MHz MEGA2560[]
but I could not find REFERENCE_F_CPU for Arduino Due (84 MHz) or other boards.

Two ENDSTOPS at Z-axis

Hello!
Thanks for you work.

I have H-bot/CoreXY on Arduino DUE + RADDS + RADDS LCD, with Z dual STEPPER Drivers and Z dual EndStop at MAX positions.

If I don't put the parameter Z dual EndStop, everything works fine, but of course, does not work Z2_ENDSTOP.
If I put the parameter Z dual EndStop, I can't choose on which PIN to connect it.

Which PIN is assigned Z2 MAX ENDSTOP by default?
I have it connected as X_MAX_PIN. How do I configure the firmware that it would work correctly?

Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.