• Welcome to the new Distech Automation Forum!
  • Feel free to post questions, comments, and feedback.
  • Ask us anything!
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Firmware Setup
#1
Hello all,

I am currently attempting to setup the firmware (Marlin).

First, I think the current layout of the user guide is a little confusing, I would have prefered two separate chapters, one for Marlin conf, the other for Repetier.

Nevertheless, I tink I managed to follow every steps of the procedure but when I try to upload the updated firmware I got the following errors :

temperature.cpp:1219:1: error: pasting "DIO" and "-" does not give a valid preprocessing token
temperature.cpp:1219:1: error: invalid suffix "_RPORT" on integer constant
temperature.cpp:1219:1: error: invalid suffix "_WPORT" on integer constant
temperature.cpp:1219:1: error: invalid suffix "_PIN" on integer constant
temperature.cpp: In function 'void __vector_22()':
temperature.cpp:1219: error: 'DIO' was not declared in this scope
temperature.cpp:1241: error: 'DIO' was not declared in this scope

Any idea of what I missed ?
 
Reply
#2
It sounds like something related to the thermistor or heater settings. 

Could you take a screenshot of the Marlin firmware settings you have configured for the thermistor and heater? That would help with troubleshooting.
 
Reply
#3
thanks for your help, here is a before/after shot on the configuration.h


Attached Files Thumbnail(s)
   
 
Reply
#4
@laurent

Try defining:
  • #define TEMP_SENSOR_1 5
Let us know if that changes the error message!
 
Reply
#5
I wish I had better news,

#define TEMP_SENSOR_1 5

didn't change the error messages.



I am wondering about the line
#define MOTHERBOARD 33

since
// 33 = RAMPS 1.3 / 1.4 (Power outputs: Extruder, Fan, Bed)
// 34 = RAMPS 1.3 / 1.4 (Power outputs: Extruder0, Extruder1, Bed)
// 35 = RAMPS 1.3 / 1.4 (Power outputs: Extruder, Fan, Fan)
// 36 = RAMPS 1.3 / 1.4 (Power outputs: Extruder0, Extruder1, Fan)

should I change it ?
 
Reply
#6
@laurent

Yes, try changing the motherboard definition to 34 and see if that changes anything.
 
Reply
#7
Yes !
Compilation is OK.

Moving to the next phase (over the week-end) : printing (one color first !)

Thanks for the support !
 
Reply
#8
Well, it's me again, sorry !

I still have a problem :

When using
#define TEMP_SENSOR_0 5
#define TEMP_SENSOR_1 5
I get an ERROR on the Printer : MAXTEMP reached
If I use
#define TEMP_SENSOR_0 5
#define TEMP_SENSOR_1 0
The second extruder's temp shows 499.5 °C 

I managed to print with the first extruder0 only : since I realized I was missing a stepper driver on my Arduino to control the second extruder Blush . 

The result shows underextrusion, where do I check/change the extrusion multiplier ?
 
Reply
#9
@laurent

Since you are only using one thermistor, you can set the second thermistor definition to -1 to disable it
 
Reply
  


Forum Jump:


Browsing: 1 Guest(s)