Quantcast
Channel: Reprap Forum - Firmware - Marlin
Viewing all 12089 articles
Browse latest View live

Re: Upgrading from V1.1 to V2.0 benefits

$
0
0
On the chip it said:

ATMEL
ATMEGA 644P
20AU 1048

So I go with 1.1.9, right?

Re: Compiling Marlin 2.0.x horribly slow under Arduino IDE 1.8.12

$
0
0
Does PlatformIO support Noteoad++

Regards,
Dave

Re: Compiling Marlin 2.0.x horribly slow under Arduino IDE 1.8.12

$
0
0
Quote
softfoot
Does PlatformIO support Noteoad++

Regards,
Dave

I don't think so but don't quote me. I use notepad++ but it was faster overall to setup vscode and install platformio inside vscode.

Re: Compiling Marlin 2.0.x horribly slow under Arduino IDE 1.8.12

Re: Compiling Marlin 2.0.x horribly slow under Arduino IDE 1.8.12

$
0
0
Looking at the documentation it would appear that you cannot debug a Mega2560. (Atmel studio does (also built on top of VS)

How do you upload the program ?? Via the serial port and bootloader ??

Is AvrDude integrated in ?? or do you have to run it seperately ??

Thanks in advance
Dave

Re: Compiling Marlin 2.0.x horribly slow under Arduino IDE 1.8.12

$
0
0
I was already setup to do hex file uploads to my printers so vscode and pio were all that I setup for compiling. My raspberry pi which hosts my printers has repetier server running and that allows me to do firmware uploads to boards that are connected.

So, I couldn't say if avrdude and vscode are integrated as all I do in vscode is compile marlin. The same goes for the bin files for my mks sgen L boards. Compile with vscode then upload to the board through repetier server.

I know octoprint has a plugin that allows firmware uploads as well.

Re: CoreXY sensorless homing Marlin

$
0
0
I am using an SKR 1.3 too and 2130s from Watterott.
When homing XY both axes move at the same time and the motors won't stop after bumping into the frame.
Do you have the files from the version you were using before?

Laser / 3d printing / CNC at same time !

$
0
0
hi every one !
i know that we can configure the marlin for cnc or 3d printer or laser cut processes , and also marlin support multi tool change mechanism
i was wonder that can we make marlin support all these three processes at same time ?
for example in main menu user be able to switch to cnc or laser or 3d printer through menu, and tool change mechanism park the old tool and replace it with the desired one for example cnc or laser
with this situation u can have a multi machining CNC!
does anyone tried this before ? i would be happy to share information with me
thank you all!

Re: Compiling Marlin 2.0.x horribly slow under Arduino IDE 1.8.12

Re: Laser / 3d printing / CNC at same time !

$
0
0
... you can define different tools with different "pulses per mm" ratio, what could be a methode to control different tools with specific PWM ratios (or step-rates).

When configuring/using more different tools, I've configured one for a paste-jetter, the other for an UV-curing lamp (both with different Pulseratio/PWM) and the third without PWM for a camera -- this would be the same for CNC and/or laser.

Another point is correct offset-definition and programmatic tool-changig with this offsets -- for this I've modified Pronterface and added different "tool-boxes" for the specific toolheads ... but this is not part of the OpenSource programming, so can't disclosure or give more detailed infos 8-)

Integrating a Custom 32 Bit Board in Marlin 2.0

$
0
0
I'm working on a board from Ultimachine and you can access the Marlin files here.

The printer is a modified Gigabot from re:3D. The current configuration of the printer is one X, 2 Y, and 2 Z steppers, same for the endstops, dual extruders, and it uses a RepRapDiscount full graphic smart controller

When compiling the firmware directly after downloading with no changes I have no issues. When I enable dual steppers I get an error like "No E stepper plug left for Y2!" and "Y_DUAL_STEPPER_DRIVERS requires Y2 pins (and an extra E plug)."
even though there's 3 additional spots that it says it should automatically fill the next available extruder. Even if I go through and change the E stepper defines to Y2 and Z2 I still get the same errors. I fell down a rabbit hole yesterday trying to track the issue but I felt like every time I "fixed" something it broke something else.

This morning I tried taking the pin file for this board and moving it to the latest release of Marlin 2.0.4 but that wouldn't work for me for other reasons. All I want is this board to give life to the printer even if it's just simply making the bed move up and down.

Any advice would be really appreciated.

Re: CoreXY sensorless homing Marlin

$
0
0
When trying to home a CoreXY via sensorless homing you need to drive the axis individually as both XY motors are used for moving the carriage. So you first need to home one axis an "listen" for either motor stalling. Then you need to move the other one and also wait until either motor stalls. (Ideally they should stall at the same time)
So the QUICK_HOME option should be disabled. The print head has to move in the X and than the Y direction individually.

Unfortunately I updated my Marlin sources and i cannot simply go back. However I will try an older release of Marlin probably this weekend.

I also found some people on GitHub with the same issues: [github.com]

Re: Integrating a Custom 32 Bit Board in Marlin 2.0

$
0
0
Step 1

Identify the motherboard.

The linked marlin is either BOARD_RAMPS_14_RE_ARM_EFB or BOARD_ARCHIMAJOR
The RAMPS_14_RE_ARM_EFB only has 5 stepper drivers, the config has #define EXTRUDERS 2 so there are no free extruders to use as Y2

The BOARD_ARCHIMAJOR seems to have 5 extruders.

This is a real oddball controller, people have been working on adding support for it since 2017...
[github.com]

Help compiling Marlin for Anet A8

$
0
0
I have been using a Marlin firmware on my A8 for over a year and just decided to make some firmware changes.
I loaded everything up into Arduino IDE and have been having compiler errors.
I am on IDE 1.8.12
Marlin 1.1.9
I have the Anet 1.0 board definitions loaded and selected.

I have attached my config files and the compiler error log is below:
Suggestions?

Arduino: 1.8.12 (Mac OS X), Board: "Anet V1.0"

In file included from sketch/endstops.cpp:35:0:
sketch/endstop_interrupts.h: In function 'void setup_endstop_interrupts()':
endstop_interrupts.h:121:7: error: non-constant condition for static assertion
static_assert(digitalPinToPCICR(X_MIN_PIN) != NULL, "X_MIN_PIN is not interrupt-capable");
^~~~~~~~~~~~~
In file included from /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/Arduino.h:258:0,
from sketch/HAL.h:36,
from sketch/MarlinConfig.h:39,
from sketch/Marlin.h:35,
from sketch/endstops.cpp:27:
/Users/dbarronRMBP/Documents/Arduino/hardware/anet/avr/variants/sanguino/pins_arduino.h:117:66: error: reinterpret_cast from integer to pointer
#define digitalPinToPCICR(p) ( (((p) >= 0) && ((p) <= 31)) ? (&PCICR) : ((uint8_t *)0) )
~^~~~~~~
sketch/endstop_interrupts.h:121:21: note: in expansion of macro 'digitalPinToPCICR'
static_assert(digitalPinToPCICR(X_MIN_PIN) != NULL, "X_MIN_PIN is not interrupt-capable");
^~~~~~~~~~~~~~~~~
In file included from sketch/endstops.cpp:35:0:
endstop_interrupts.h:141:7: error: non-constant condition for static assertion
static_assert(digitalPinToPCICR(Y_MIN_PIN) != NULL, "Y_MIN_PIN is not interrupt-capable");
^~~~~~~~~~~~~
In file included from /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/Arduino.h:258:0,
from sketch/HAL.h:36,
from sketch/MarlinConfig.h:39,
from sketch/Marlin.h:35,
from sketch/endstops.cpp:27:
/Users/dbarronRMBP/Documents/Arduino/hardware/anet/avr/variants/sanguino/pins_arduino.h:117:66: error: reinterpret_cast from integer to pointer
#define digitalPinToPCICR(p) ( (((p) >= 0) && ((p) <= 31)) ? (&PCICR) : ((uint8_t *)0) )
~^~~~~~~
sketch/endstop_interrupts.h:141:21: note: in expansion of macro 'digitalPinToPCICR'
static_assert(digitalPinToPCICR(Y_MIN_PIN) != NULL, "Y_MIN_PIN is not interrupt-capable");
^~~~~~~~~~~~~~~~~
In file included from sketch/endstops.cpp:35:0:
endstop_interrupts.h:161:1: error: 'a' was not declared in this scope
a static_assert(digitalPinToPCICR(Z_MIN_PIN) != NULL, "Z_MIN_PIN is not interrupt-capable");
^
exit status 1
non-constant condition for static assertion

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Re: Help compiling Marlin for Anet A8

$
0
0
The error is self explanatory

"X_MIN_PIN is not interrupt-capable"

So disable the line that says to use interrupts for endstops.
ie #define ENDSTOP_INTERRUPTS_FEATURE

RepRapdiscount smart controller shows odd characters after boot screen

$
0
0
I am using Marlin 2.0.4.4, with stock configuration to test LCD. After Marlin bootscreen I see only question marks and boxes. However simple hello world example works just fine with LiquidCrystal lib.

Please check this github issue post for screenshots. I wasn't able to attach here.

https://github.com/MarlinFirmware/Marlin/issues/17085

Re: RepRapdiscount smart controller shows odd characters after boot screen

Marlin does not send "File opened" message to host (Octoprint)

$
0
0
I'm not sure if this is a problem with Octoprint or Marlin 2.x, but as the problem didn't occur with the original firmware of my Sapphire Pro, I suppose asking here is a reasonable start.

The problem is that the printer never signalizes to the host when I start printing from SD card on the touch display of the printer. Instead it stays in "Operational" mode.

It does receive other messages, e.g. temperatures and "SD printing byte" messages, just not the "File opened" message. When looking at the serial.log, there is no "File opened" message (or errors) either. Just the standard response and temperature/progress messages from the printer.

I've tried to insert a M118 gcode into every gcode file to send a "File opened" message manually. But while it does receive that message and change the state from "Operational" to something else, the print progress doesn't work properly (shows over 100% after a short time), and timelapses don't work at all.

Everything works properly when starting a print through Octoprint, but I prefer starting prints on the display of the printer.

Does anyone have a similar problem with Marlin and Octoprint? It still occurs with Marlin 2.0.4.4.

Re: RepRapdiscount smart controller shows odd characters after boot screen

$
0
0
Done, updated the main post as well.

Ender 5 slams into X and Y endstops! Firmware?

$
0
0
As per thread title. The first thing I printed on my Ender 5 was the cat from their SD card, and the way the carriage banged into the end stops was shockin' missus!
I've read that the firmware can be altered to reduce the homing speeds. So do I need an update? As I can't imagine there's any way to make changes through the basic control board.
Which firmware is currently recommended?
Thanx in advance to any assisting peeps.
Viewing all 12089 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>