Welcome! Log In Create A New Profile

Advanced

marlin-2.1.2.2-mpx.3 Thermal Runaway HELP

Posted by senihp5 
marlin-2.1.2.2-mpx.3 Thermal Runaway HELP
June 04, 2024 04:09PM
I am running an old Hictop i3 clone with an MPX.3 controller. I successfully flashed it to Marlin using marlin-2.1.2.2-mpx.3-bltouch-main, However, I do not have a bltouch so I disabled that in the sketch. Now when I try to print it goes like normal for about 3 layers then I get a series of Beeps and it resets. In my terminal it reports an error: Thermal Runaway for the extruder0. I do not have multiple temp sensors, I followed this [github.com] for a thermal runaway bug. Nothing seems to help. I'm pulling my hair out. I'm attaching my sketches, any help would be appreciated.
Attachments:
open | download - MarlinMod.zip (98.2 KB)
Re: marlin-2.1.2.2-mpx.3 Thermal Runaway HELP
June 04, 2024 06:01PM
I see this has parts of a configuration I did some time ago
I have three Hictop i3 clones the original controller boards names vary they are still all the same controller.


Scanned the configuration and I have never been able to get any settings for PIDTemp to work so always went with BANG_MAX 255 and Ultimaker

  //#define MOTHERBOARD BOARD_RAMPS_14_EFB
  #define MOTHERBOARD BOARD_MKS_BASE_14
  //#define MOTHERBOARD BOARD_MKS_GEN_13
#define BAUDRATE 250000

#define TEMP_SENSOR_REDUNDANT 0
#define TEMP_SENSOR_REDUNDANT_MAX_DIFF  10  // (°C) Temperature difference that will trigger a print abort.

#define PIDTEMP 
#define BANG_MAX 255
    // Ultimaker
    #define DEFAULT_Kp  22.20
    #define DEFAULT_Ki   1.08
    #define DEFAULT_Kd 114.00

    // Hictop 3DP11 Factory
    //#define DEFAULT_Kp 17.22
    //#define DEFAULT_Ki  0.92
    //#define DEFAULT_Kd 80.43
  
    // Hictop 3DP11
    //#define DEFAULT_Kp 15.63
    //#define DEFAULT_Ki  1.04
    //#define DEFAULT_Kd 58.79


The Marlin 2.1.2 I am currently working on is for a Hictop conversion to CoreXY Using #define MOTHERBOARD BOARD_BTT_SKR_V1_3

Edited 3 time(s). Last edit at 06/04/2024 06:42PM by Roberts_Clif.


Computer Programmer / Electronics Technician
Re: marlin-2.1.2.2-mpx.3 Thermal Runaway HELP
June 04, 2024 06:54PM
Thanks, I'll try that!
Re: marlin-2.1.2.2-mpx.3 Thermal Runaway HELP
June 04, 2024 10:56PM
Changing just these setting causes the compile to fail with the below error.





Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

C:\Users\MyCC\AppData\Local\Temp\ccHgvAcp.ltrans0.ltrans.o: In function `main':

C:\Users\MyCC\Documents\ArduinoData\packages\arduino\hardware\avr\1.8.6\cores\arduino/main.cpp:43: undefined reference to `setup'

C:\Users\MyCC\Documents\ArduinoData\packages\arduino\hardware\avr\1.8.6\cores\arduino/main.cpp:46: undefined reference to `loop'

collect2.exe: error: ld returned 1 exit status

exit status 1

Error compiling for board Arduino Mega or Mega 2560.



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Re: marlin-2.1.2.2-mpx.3 Thermal Runaway HELP
June 06, 2024 05:12PM
Compiled your code both ways with Visual Studio Code > PlatformIO > Marlin Auto Build


Computer Programmer / Electronics Technician
Attachments:
open | download - Marlin 2.1.2.2..jpg (58.4 KB)
Re: marlin-2.1.2.2-mpx.3 Thermal Runaway HELP
June 06, 2024 06:12PM
Thanks
Re: marlin-2.1.2.2-mpx.3 Thermal Runaway HELP
June 06, 2024 10:32PM
Oh, the one I uploaded compiles fine, but has the thermal runaway error. But if I make the changes Roberts_Clif recommended the build fails. Also I can't use platformIO because it won't connect to my board, I have to use ArduinoIDE. Can anyone look at my config and see if they can see why it is throwing a thermal runaway?
Re: marlin-2.1.2.2-mpx.3 Thermal Runaway HELP
June 07, 2024 03:07AM
you get errors likee

C:\Users\MyCC\Documents\ArduinoData\packages\arduino\hardware\avr\1.8.6\cores\arduino/main.cpp:43: undefined reference to `setup'

C:\Users\MyCC\Documents\ArduinoData\packages\arduino\hardware\avr\1.8.6\cores\arduino/main.cpp:46: undefined reference to `loop'

when you try and build Just Configuration.h and Configuration_adv.h without the rest of the code
Re: marlin-2.1.2.2-mpx.3 Thermal Runaway HELP
June 07, 2024 03:14AM
configs say you have a BOARD_RAMPS_14_EFB

This is the most common board there is. It build and uploads fine from vscode.

The normal cause of "won't connect to my board," is you have something else holing the serial port open, often its CURA.
On windows machines it pays to reboot the computer to ensure you have no other programs running and only start vscode

Edited 1 time(s). Last edit at 06/07/2024 03:14AM by Dust.
Re: marlin-2.1.2.2-mpx.3 Thermal Runaway HELP
June 10, 2024 03:06PM
I'm a noob at all this, I don't understand what you mean.
Sorry, only registered users may post in this forum.

Click here to login