MKS-Robin-E3-E3D icon indicating copy to clipboard operation
MKS-Robin-E3-E3D copied to clipboard

KILLED. PRINTER HALTED

Open monkiki opened this issue 4 years ago • 18 comments

I was able to compile the provided Marlin from this repository but I got "KILLED. PRINTER HALTED" once the printer has the new firmware.

Printer: Ender 3 Pro Board: MKS Robin E3D

monkiki avatar Jun 03 '20 12:06 monkiki

What display are you using?

in my case, I use CR10_STOCKDISPLAY so I added this just after the #define CR10_STOCKDISPLAY. You can put it in Configuration_adv.h or even in board file. I guess it is best to put it in the board file as it could be board specific

Also disable psu control if you are not using one because it will assign a PIN and since there is no signal, it will still end up in this error

#if ENABLED(CR10_STOCKDISPLAY) #define KILL_PIN -1 #endif

n0th1n6 avatar Jun 04 '20 04:06 n0th1n6

I use the Ender 3 stock display, should I use the same CR10_STOCKDISPLAY define? I will try to comment the KILL_PIN. I've also seen this workaround to avoid this problem but not sure if is a good practice. I've compiled Marlin for other printers (also the Ender 3 with stock board) and never got this error.

monkiki avatar Jun 04 '20 06:06 monkiki

Ender 3 stock display, if you will notice is the same CR10_STOCKDISPLAY. It is safe because there is no kill button/pin in Ender 3. Unless you want to wire a kill button yourself but I believe you have to install the pullup/pulldown resistor.

n0th1n6 avatar Jun 04 '20 08:06 n0th1n6

Thanks for the info. I will try it.

monkiki avatar Jun 04 '20 08:06 monkiki

Hi! You download marlin firmware is Robin E3-E3D path? If you download it and use it, you need disable PSU_CONTROL

makerbase-mks avatar Jun 04 '20 10:06 makerbase-mks

I disabled PSU_CONTROL but also needed to add #define KILL_PIN -1 to pins_MKS_ROBN_E3D.h and got a lot of warning because KILL_PIN was redefined but now the error message dissapeared.

It would be really nice to download the source code hosted in this repository and compile it without any tweaks (at least with a stock Ender 3), because is a bit weird to get all these problems. I had to compile Marlin because I have a BMG.

monkiki avatar Jun 04 '20 11:06 monkiki

I think you need it inside #ifdef to avoid those warnig

n0th1n6 avatar Jun 05 '20 05:06 n0th1n6

Same result.

Anyway my requirement is to be able to download the proper Marlin source code ready to be compiled for the MKS Robin E3D, or with well documented and working changes.

But the best option should be submit these changes to the original Marlin project, so we can use a more recent version. I don't know why this board is not already included in Marlin like others.

monkiki avatar Jun 05 '20 06:06 monkiki

It is - look in bugfix 2.0.5.3+ ... you just need the settings documented here in the "build & upload" section

DocYester avatar Jun 05 '20 18:06 DocYester

In Marlin master I can see several ROBIN: LITE, NANO, MINI, PRO but no E3D :/

monkiki avatar Jun 05 '20 22:06 monkiki

I am able to build the bugfix 2.0.5.3, still need some fixes here and there. The sample configuration that comes with bugfix has bedpidtemp enabled. That could be another surprise if you are not aware of it and has not tuned PID before.

I would like to commit some of my changes but since I am not a good C programmer, I avoided doing it. It can just mess up the source.

n0th1n6 avatar Jun 06 '20 01:06 n0th1n6

In Marlin master I can see several ROBIN: LITE, NANO, MINI, PRO but no E3D :/

bugfix branch ... not master https://github.com/MarlinFirmware/Marlin/blob/bugfix-2.0.x/Marlin/src/core/boards.h Line 306

DocYester avatar Jun 06 '20 06:06 DocYester

Thanks, I will try with this branch.

monkiki avatar Jun 06 '20 18:06 monkiki

I have the same problem. Branch works?

Printer: Ender 5 Pro Board: MKS Robin E3D

alcar21 avatar Jun 09 '20 12:06 alcar21

You can download this bin file update and it have not PSU_CONTROL function image

makerbase-mks avatar Jun 12 '20 08:06 makerbase-mks

Donwload Malin bugfix 2.0.x

Use configuration ender 3 from https://github.com/MarlinFirmware/Configurations/archive/bugfix-2.0.x.zip

change archives from https://github.com/ToniJCustom/Config.-Marlin-2.0.x-Ender3-MKS-Robin-e3.git

if you have e3d board the only change it in configuration.h

it is for stock machine configuration

ToniJCustom avatar Jun 30 '20 20:06 ToniJCustom

Donwload Malin bugfix 2.0.x

Use configuration ender 3 from https://github.com/MarlinFirmware/Configurations/archive/bugfix-2.0.x.zip

change archives from https://github.com/ToniJCustom/Config.-Marlin-2.0.x-Ender3-MKS-Robin-e3.git

if you have e3d board the only change it in configuration.h

it is for stock machine configuration

I didn't get the second step. The only Ender 3 configuration files on the link are for the stock Ender 3 V1. (Configurations-bugfix-2.0.x\config\examples\Creality\Ender-3\CrealityV1).

EDIT: Since all the files of the first link had custom versions on the second link, I just ignored the second step. Worked just fine. The only CON being the language is set to spanish. So anyone trying @ToniJCustom files, remember to change the "#define LCD_LANGUAGE en" to the desired language.

DPSou avatar Jul 14 '20 20:07 DPSou

Yes, i change the language, i don't remenber sorry, the importante is the correct configuration of board and platformio

ToniJCustom avatar Jul 26 '20 08:07 ToniJCustom