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

Marlin on MKS SBase not working (no replies)

$
0
0
Hi,

i'm having some issues running Marlin on a MKS Sbase Board.
I'm using Marlin V2.0.x (and tried Marlin 2.0.5.3) and the related example configuration file for MKS SBase. The firmware can be compiled (VSCode and PlatformIO, environment is set to LPC1768) and is beeing imported (is renamed to firmware.cur). But after a few flashes, the board LEDs stop flashing and the board does not respond to any command.
I think the board is fine, because an older, allready compiled firmware works fine. Unfortunatelly, i don't have the source for this formware to check for differences.

Does anybody have any idea whats wrong? Or maybe someone could check for similar issues with this configuration? As allready said, i tried the example configuration, without any modification.

Thanks in advance.

Best Regards
Matthias

Ender 3 Pro will not bump Z-endstop when homing (no replies)

$
0
0
Hello,

Best health wishes to all!!!

I've been reading this forum and there are some REALLY good posts out there. I cannot seem to find the right one to help me solve my problem. Tubaman has some great questions and answers out there and I've tried a lot of things there.

I cannot get the Z axis to home correctly. When I auto home, it goes to the corner, bumps the x and y endstops ever so gently, then raises the z axis about a millimeter. So I use the knob interface, offset the z axis by -1mm, (just above the bed so a post-it note gets caught) and save the new auto home, save settings. Then autohome again and it bumps the x and y endstops, and the z axis moves up 1 mm. Even if I just auto home over and over again, it will continue to raise up 1 mm in perpetuity. How can I talk Marlin into tapping that z end stop and stop being so afraid of the bed?
Installed the Bigtreetech SKR v1.4 Turbo motherboard in an Ender 3 Pro. I have TMC2208 stepper drivers installed. I level by hand, no auto leveling items right now.
I am using Marlin-bugfix-2.0.x and I use VS Code to modify Marlin. (By the way, should I use the Marlin software to modify instead?)
Attached is the code I'm using.

Thanks in advance for your help with this. I'm on day 43 of trying to get this to work and I really miss printing stuff! I'll try another 47 days, then I'm going back to factory motherboard and factory marlin settings.

CR10S problems (no replies)

$
0
0
I recently reflashed my cr10s with marlin 2.0 . I noticed some red lines when it was compiling but is still finished like there was nothing wrong. but when i tried to use g28 the bltouch starts blinking red and doesnt probe. does anybody know what could be wrong

These are the red lines i mentioned

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\sd\SdVolume.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\sd\SdBaseFile.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\sd\Sd2Card.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\module\tool_change.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\module\temperature.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\module\stepper.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\module\probe.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\module\planner.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\module\motion.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\module\endstops.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\module\configuration_store.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\libs\nozzle.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\lcd\ultralcd.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\lcd\menu\menu_tune.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\lcd\menu\menu_temperature.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\lcd\menu\menu_motion.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\lcd\menu\menu_media.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\lcd\menu\menu_main.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\lcd\menu\menu_info.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\lcd\menu\menu_filament.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\lcd\menu\menu_configuration.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\lcd\menu\menu_bed_leveling.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\lcd\menu\menu_bed_corners.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\lcd\menu\menu_advanced.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\lcd\menu\menu.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\lcd\fontutils.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\lcd\extui\lib\ftdi_eve_touch_ui\language\language.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\lcd\dogm\ultralcd_DOGM.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\lcd\dogm\status_screen_DOGM.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\lcd\dogm\lcdprint_u8g.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\temp\M140_M190.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\temp\M104_M109.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\stats\M75-M78.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\stats\M31.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\sd\M32.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\sd\M24_M25.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\sd\M23.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\sd\M1001.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\queue.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\parser.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\motion\M290.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\motion\G4.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\motion\G2_G3.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\motion\G0_G1.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\lcd\M300.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\lcd\M145.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\lcd\M117.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\lcd\M0_M1.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\host\M115.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\host\M114.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\geometry\M206_M428.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\geometry\G92.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\gcode.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\feature\runout\M412.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\feature\pause\M600.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\feature\pause\M125.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\control\M999.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\control\M85.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\control\M80_M81.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\control\M42.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\control\M400.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\control\M226.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\control\M17_M18_M84.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\config\M92.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\config\M221.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\config\M200-M205.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\calibrate\G425.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\calibrate\G28.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\bedlevel\abl\G29.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\bedlevel\M420.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\bedlevel\G42.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\gcode\bedlevel\G26.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\feature\runout.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\feature\pause.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\feature\bedlevel\bedlevel.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\feature\babystep.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\core\utility.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\MarlinCore.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\HAL\AVR\watchdog.cpp

Error while detecting libraries included by C:\Users\keesi\AppData\Local\Temp\arduino_build_727338\sketch\src\HAL\AVR\MarlinSerial.cpp

Marlin Code - Limit Switch Activation? (no replies)

$
0
0
Hello,

Where in Marlin can I find a way to activate the axis limit switches. When homing, I want to tell the printer to bump the endstops. I do not use any probes and level the bed manually. When homing, the z axis will not bump the limit switch.
Any ideas on where to find this? Is it in configuration.h?
Thanks

Marlin 2.0.x bugfix
SKR 1.4 Turbo
TMC2208 stepper drivers
Ender 3 Pro

MKS Gen L, nozzle not cooling (no replies)

$
0
0
Ok, so I'm finally making progress with my MKS Gen L! Marlin flashed, display working, steppers all moving in right direction and homing correctly. In order to test the extruder I had to heat the hotend to over 170 degrees. I did this by setting preheat PLA, nozzle. I did not heat the bed. The hotend quickly heated to 200 degrees, and held. I performed my extruder test and selected cool down. Nozzle temperature fell to around 150 degrees, but then did not drop any further. The cooling fan was running, and blowing in the correct direction. I had to turn the printer off to get it to cool down. When heating 2 red led were lit, after I selected cool down 1 led remained lit. Any ideas what is wrong?

TMC2208 where are full parameters? (no replies)

$
0
0
Hello there!
I change my board,from a gt2560 to skr 1.4 turbo.
All work right,but why i can only set the current,hybrid trsh,ihold?
I wanna set all parameters and customize it into marlin. (iholddelay,tpowerdown,toff,tbl,hstrt,hend)

Is this possible,or marlin's firm,have this limitation?

Dual X Carriage and TMC2208 (3 replies)

$
0
0
SKR PRO V1.1
TMC2208 on x, y, z, and x2
A4988 on E0, E1

I built a dual x carriage printer and it was running great until recently when i upgraded to TMC2208's on x y z and x2.
Configuration_adv has this section greyed out in visual basic as if x2 isn't set to tmc2208.
#if AXIS_IS_TMC(X2)
#define X2_CURRENT 800
#define X2_CURRENT_HOME X2_CURRENT
#define X2_MICROSTEPS 32
#define X2_RSENSE 0.11
#define X2_CHAIN_POS -1
#endif

Using m569 it returns only x y and z as stealthchop, doesn't include x2 at all. Is there something simple i'm missing?
I can temporarily set x2 to separate steps/mm until i figure this out. But i would love to have both at 32 microsteps.
If i change the line "#if AXIS_IS_TMC(x2)" to "#if AXIS_IS_TMC(x)" to force it to read the section, it still acts as if its set to 1/16
Any help is appreciated

Filament motion sensor always triggers runout condition (no replies)

$
0
0
I'm trying to get a BTT Smart Filament Sensor working off the E0DET connector (pin 1.26) on an SKR 1.4 Turbo. I'm running TMC2209s and have removed the DIAG pins so they don't interfere with the switch inputs.

Here is the response to M412:

Send: M412
Recv: echo:Filament runout ON
Recv: Filament runout distance (mm): 8.00

and when I issue M119 I get:

Send: M119
Recv: Reporting endstop status
Recv: x_min: open
Recv: y_min: open
Recv: z_min: open
Recv: z_probe: TRIGGERED
Recv: filament: TRIGGERED

As expected, if I advance the filament a bit and issue M119, "filament" changes to "open"; this indicates to me that the sensor is connected properly and Marlin is able to read the sensor properly.

I have enabled "FILAMENT_MOTION_SENSOR".

The problem is that the filament runout condition keeps triggering - it doesn't even get past the purge line that Cura puts in the G-code. Even when I "resolve" the condition (i.e. I go through the motions of changing the filament), it triggers again (presumably after FILAMENT_RUNOUT_DISTANCE_MM).

I enabled FILAMENT_RUNOUT_SENSOR_DEBUG and this is the output:

Recv: Motion detected: 0
Recv: Remaining mm: 8.00
Recv: Motion detected: 0
Recv: Remaining mm: 6.33

Any suggestions on how to get this working?

Delta calibration Issue Marlin 2.0 / Geeetech G2S (no replies)

$
0
0
I am trying to configure Marlin 2.0.5.3 (sunday's bugfix build) for my Geeetech G2S. I used the default configuration from the Marlin configs folder [github.com] and added #define DEBUG_LEVELING_FEATURE.

Now after booting up I run M501 to check EEPROM consistency with the defaults. This confirms

echo:; Delta settings: L R H S XYZ
echo: M665 L196.00 R90.00 H200.00 S160.00 X0.70 Y0.05 Z-0.74
[...]
echo:; Z-Probe Offset (mm):
echo: M851 X19.00 Y-11.00 Z-2.00

Next step enabling debugging: M111 S247 and then running G28 correctly tests all three towers then moves down to Z 146mm:

[...]
<<< do_homing_move(Z)
<<< homeaxis(Z)
>>> set_axis_is_at_home(X)
current_position= X0.00 Y0.00 Z212.00 :
<<< set_axis_is_at_home(X)
>>> set_axis_is_at_home(Y)
current_position= X0.00 Y0.00 Z212.00 :
<<< set_axis_is_at_home(Y)
>>> set_axis_is_at_home(Z)
current_position= X0.00 Y0.00 Z202.00 :
<<< set_axis_is_at_home(Z)
current_position= X0.00 Y0.00 Z202.00 : sync_plan_position
current_position= X0.00 Y0.00 Z202.00 : <<< home_delta
>>> do_blocking_move_to X0.00 Y0.00 Z145.97
destination= X0.00 Y0.00 Z202.00 : destination = current_position
destination= X0.00 Y0.00 Z145.97 : prepare_fast_move_to_destination
current_position= X0.00 Y0.00 Z145.97 : zone border move
current_position= X0.00 Y0.00 Z145.97 : xy move
<<< do_blocking_move_to
echo:Active Extruder: 0
X:0.00 Y:0.00 Z:145.97 E:0.00 Count A:25607 B:25607 C:25607
<<< G28
ok P15 B3

Then I turn UBL on: M420 S1 and G29 AON (guess this is redundant) and run G29 P1. Why does this operate on Z100? Shouldn't it move down to the bed to invoke the probe? The exact output:


Probing mesh point 25/25.

>>> Probe::probe_at_point(44.50, 0.00, raise, 0, probe_relative)
current_position= X0.00 Y67.50 Z100.00 :
>>> do_blocking_move_to X25.50 Y11.00 Z100.00
destination= X0.00 Y67.50 Z100.00 : destination = current_position
current_position= X25.50 Y11.00 Z100.00 : xy move
<<< do_blocking_move_to
echo:busy: processing
current_position= X25.50 Y11.00 Z100.00 : Probe::set_deployed
deploy: 1
Probe::move_z(10.00)
>>> do_blocking_move_to X30.00 Y90.00 Z100.00
>>> do_blocking_move_to X0.00 Y90.00 Z100.00
destination= X25.50 Y11.00 Z100.00 : destination = current_position
current_position= X0.00 Y90.00 Z100.00 : xy move
<<< do_blocking_move_to
>>> do_blocking_move_to X0.00 Y67.50 Z100.00
destination= X0.00 Y90.00 Z100.00 : destination = current_position
current_position= X0.00 Y67.50 Z100.00 : xy move
<<< do_blocking_move_to
echo:busy: processing
current_position= X0.00 Y67.50 Z100.00 : Probe::set_deployed
deploy: 0
//action:notification Probing Failed
Error:Probing Failed
<<< Probe::probe_at_point
current_position= X0.00 Y67.50 Z100.00 : Probe::set_deployed
deploy: 0
>>> do_blocking_move_to X0.00 Y0.00 Z100.00
destination= X0.00 Y67.50 Z100.00 : destination = current_position
current_position= X0.00 Y0.00 Z100.00 : xy move
<<< do_blocking_move_to
X:0.00 Y:0.00 Z:100.00 E:0.00 Count A:21929 B:21929 C:21929
//action:notification 3D Printer Ready.
echo:Active Extruder: 0
ok P15 B3

What am I missing here? Did I omit a step? How can I test probe activation/recognition? The microswitch and the cable are OK, I tested those.

In case you want to the my priter levelling 100mm above the bed:

[youtu.be]

Thank you four your help!

unable to upload firmware to sd card from windows (1 reply)

$
0
0
I was able to reliably upload a freshly compiled firmware.bin file to the SD card inserted into the onboard card reader on both my MKS SGEN_L LPC1768 and MKS SGEN LPC1769 until I recently downloaded new release source code. When running newly compiled firmware I can no longer see the onboard SD card, and cannot upload firmware as before. The only way I can deploy new firmware is to take my box that contains all the electronics apart to get access to the SD card to remove it and insert it into my notebook to copy the firmware to it, then put it all back together. I have tried using a remote SD card device that mounts into the onboard reader and I can then insert the SD card into that remote reader, but, it uses a flat ribbon cable and it appears it is sensitive to "noise" because Marlin does not see the card as being there, so it will not flash the firmware on startup.

I went back to source code from first week in April (both Release and BugFix) and it works again. Both release and bugfix from June 2 do not work. I am using a smaller than 32gb primary partition, formatted as FAT32, with volume label REARM. Is there some change in configuration that needs to be made in order to access the SD card in recent builds?

BTT SKR_1.3 build ompaining about no stdarg.h file (no replies)

$
0
0
Hello all,
I am trying to build Marlin 2.0 for a BigTreeTech SKR v. 1.3.I am just trying to do a basic build without any added features.This is for my Ender 3 with 1 extruder and no bltouch. I have downloaded both the latest 2.0 stable and the latest nightly build and they both complain about not finding any stdarg.h file and I have the lepton-rtos library installed which has the stdarg.h file in it, so I am not sure whether this is a Marlin issue, VSCode issue or PlatformIO issue any help would be greatly appreciated. I have tried to post this as a bug in Marlin but for some reason they have the bug report system locked and only available to someone that has posted there before.

XYZ Moves Only One Direction After FW/HW Upgrade (no replies)

$
0
0
I am attempting to complete upgrades on Creality 3D printers at the University where my wife works. They just got them last year, and with COVID19 the student that was setting them up never finished before graduating. I know very little about 3D printers, other than what I have learned over the last 10 days trying to upgrade this Ender 3. I have a good electronics background, design my own circuit boards for my electronics projects, and have done some Arduino programming.

No idea what version of Marlin it originally ran, it may have already been re-flashed before I got it. I downloaded Marlin 1.1.9.1, and utilizing the vanilla Ender 3 .h files, successfully compiled the hex using Arduino IDE on my Linux laptop. I then added the modifications for the BLTouch sensor and E3D V6 hotend to the .h files. I did not want to loose the beeper, so I removed the cap at EXT-A2 (board version 1.1.3) and installed a header to use A2 (pin 35 according to a reverse engineered schematic from Mr. Riedel, and ATMEGA1284P pinout) for SERVO0. I set SERVO0 pin to 35, then successfully compiled the hex for this, and installed it via ISP.

The system boots, displays the proper version, displays the proper custom machine name, and has all the proper settings and menus. The BLTouch self tests, but does not extend or retract from the menu. The axes also all move in only one direction, towards maximum, whether I turn the encoder knob left or right. When trying to home the system the same thing happens, X and Y move towards maximum. They do stop when I depress the endstops, however.

I have attached the .h files I edited, and the resulting hex if anyone is brave enough to load it. If there are any other files you wish to see, please let us know.

Not ArgoEC3D

How to remove the function: "Click to resume" (no replies)

$
0
0
Hello, I'm using Marlin on my Ender3 (mks robin 3ed) and I set up a system for automatic shutdown (Z axis on until the end and activates a microswitch, turning everything off) through the custom GCODE, but every end of printing I have to click on button for the printer to continue, that is, if I don’t click, there’s no use using GCODE pause and then move up the Z axis, because it won’t accept the GCODE, just the physical contact on the button. How to remove this option? !!? Thank you.

Common build issues in platformio at present. (no replies)

$
0
0
There are a number of common build issues at the moment that you may encounter when you attempt to build marlin in vscode / platformio.

These are all related to Marlin dependencies that have been updated since release, breaking Marlin building.

These issues have been addressed in bugfix, but older marlin will continue to break as they are not updated.
A new release is coming that will resolve these issue.

This is accurate as of 27 Jun 2020

Issue 1: You get this error.
Marlin\src\HAL\STM32F1\dogm\../../../inc/../HAL/./STM32F1/fastio.h:30:10: fatal error: libmaple/gpio.h: No such file or directory:
The cause is ST STM32 framework was updated to version 7. Marlin was built on version 6.
The fix is up update your platformio.ini file
Find and replace the line "platform = ststm32" with "platform = ststm32@<6.2.0"

Issue 2: You get this error.
Adafruit BusIO_ID6214\Adafruit_I2CDevice.cpp:160:79: error: no matching function for call to 'TwoWire::requestFrom(uint8_t, uint8_t, uint8_t)'
Any errors that mention Adafruit BusIO
The fix is up update your platformio.ini file
Find the line "Adafruit_MAX31865=https://github.com/adafruit/Adafruit_MAX31865/archive/master.zip" and replace it with
"Adafruit MAX31865 library@~1.1.0"


Issue 3: You get these errors
error: 'X_HOME_BUMP_MM' was not declared in this scope
error: 'Y_HOME_BUMP_MM' was not declared in this scope
error: 'Z_HOME_BUMP_MM' was not declared in this scope
your Configuration_adv.h has the following (this is newer than the code expects)
#define HOMING_BUMP_MM { 5, 5, 2 }
when this version of code needs
#define X_HOME_BUMP_MM 5
#define Y_HOME_BUMP_MM 5
#define Z_HOME_BUMP_MM 2
Simply replace the first line with these 3 lines.

Issue 4: You get these warnings.
c_cpp_properties.json",
	Cannot find "Marlin-2.0.x/include"
	Cannot find "Marlin-2.0.x/include"
These are just warning an should be ignored.
The cause is that platformio expects all projects to have a include directory in the project. Marlin doesn't do this.

Issue 5: You get this error
Marlin\src\feature/leds/neopixel.h:34:10: fatal error: Adafruit_NeoPixel.h: No such file or directory
In platformio.ini, some platforms have Adafruit NeoPixel disabled with the line
lib_ignore = Adafruit NeoPixel, SPI
remove the Adafruit NeoPixel part to make it "lib_ignore = SPI"
But this is often disabled for a good reasion.

Issue 6: You get this error
"NeoPixel_ID28/Adafruit_NeoPixel.h:361:3: error: 'GPIO_TypeDef' does not name a type"
In platformio.ini normally found in [common] section you need to change
Adafruit NeoPixel to Adafruit NeoPixel@<=1.2.4

CopyMaster 300 - Printing above bed, Marlin V2. (no replies)

$
0
0
Hello all.

Wonder if anyone could offer advice on config files please?

I've been working/struggling on updating the Marlin firmware to Bugfix-2.0.x for a while now on my (relatively unknown) CopyMaster 300 with an original BLTouch V3.1 probe, (I believe its a CR10 type clone)

I've got the probe working now, compiled & flashed the firmware fine (using VS Code, PlatformIO & the Auto build add in process) machine homes & moves fine though there is a delay in processing the next movement it feels like it pauses after homing each axis.

Everything goes fine levelling the bed & setting the Z Probe Offset, sending G1 F60 Z0 the machine places the nozzle where it should be, all is well in Simplify3D's Bed Levelling wizard too.

Hit print on a freshly sliced xyz calibration cube & it attempts to print a few mm above the bed like its ignoring the Offset (via both SD card & direct USB print).

I have the current config files (looks like Marlin 1 RC7) and matched up everything & if i flash back to the original firmware the same cube prints fine.

I'm definitely missing something however it all looks ok to me.If anyone could offer suggestions on what I've missed i would be grateful.

Attaching both New & Original files.

Edit to add start Gcode

G28 ; home all axes
G29 ;ABL SEQUENCE
G1 Z5 F3000 ; lift
G1 X20 Y28 F1500 ; avoid binder clips
G1 Z0.2 F3000 ; get ready to prime
G92 E0 ; reset extrusion distance
G1 X120 E10 F600 ; prime nozzle
G1 X150 F5000 ; quick wipe


Thanks in advance
James

Mainboard pin assignments limitations / rules (1 reply)

$
0
0
Hi all,
at first, im not sure if i've choose the correct board and this is my very best englisch (i'm from germany)

but lets have a try :-)

i try to create my own mainboard, so i started to check couple well known and tested boards (Rumba,Ramps,MKS Robin..)
but now im totally confused... a lot of fast Pins like step, fan or Heater PWM are not linked with hardware PWM pins.
Since the boards are working it seems that it doesn't matter which pin is assigned to any task(except communications and analogs).

i've selected an STM32F7, basically 14 timers with a bunch of PWM (32 Pins). is there any advantage to use them for heaters / fan?
really looking forward to your answers!!

Thanks in advance and have a nice Weekend!!

BLtouch not deploying (no replies)

$
0
0
Hey all, I just installed a BLtouch with Marlin 2.0 and a ramps 1.4(Outdated board, I know). When powered, The pin stows and deploys a few times, but I can't control it with M401. or when I try to home(The Z axis won't home since the pin stays in the triggered position). The only way I can deploy the probe is with M280 P0 S10.The servo is plugged into the first servo port(Servo0). I have checked the wiring dozens of times. Attached is the configuration files. Any help would be appreciated.

Z_MIN_POS, MANUAL_Z_HOME_POS (no replies)

$
0
0
Could someone clarify the difference between Z_MIN_POS and MANUAL_Z_HOME_POS?

I am currently modding a Lulzbot mini to have a prusa mini bed. As such i need to write custom marlin firmware for the new bed height not to crash. I am confused at how to use each setting properly.

Index motors as ABCDE instead of XYZIJ (no replies)

$
0
0
I'm working on creating a pump system based on Marlin, using the Pipetbot fork by DerAndere. One thing I want to do is edit the parser to receive commands that are along the lines of "G00 A15 B25 C20 D15 E60 F200" instead of "G00 X15 Y25 Z20 I15 J60 F200". Essentially I want to re-index the motors as ABCDE instead of XYZIJ. I've attempted to edit the parser and gcode.cpp files but the small changes I've made haven't seemed to make a difference. Any ideas?

Another strange problem (no replies)

$
0
0
I have a late 2.0 buxfix and a CoreXY printer. Specifically bugfix-2.0.x.a173f33 downloaded on 6/18/20
I just noticed something very strange and wondered if someone could see if it is happening on their printer.
.
While I am printing a large disk on the first layer with the head moving Xmin to Xmax and the Y motor only stepping when it reverses direction, I am getting a loud click sound about 1/4 of the way back to Xmin. There is the same click but less loud going the other way again about 1/4 way back.

I tracked it down to the Z stepper. When I put my fingers on the stepper pulley it feels like it is getting a short step pulse, not enough to execute a step.
It is now filling in the other direction on layer 2 and the stepper is clicking about 2x/sec. It is not stepping, it just feels like it is getting weak step pulses.

I cannot hear it now as I could on layer 1, but I can feel it pulsing.
It is on layer 3 now travelling in the same direction as layer 1 and it is loud again, but not getting the 2x/sec as it did on layer 2.

I do not know when this started and I will probably have to regress my build to find out.
But if anyone with a late build of 2.0 bugfix could observe this and let me know if it is happening elsewhere I would appreciate it.

Thanks.
Viewing all 2832 articles
Browse latest View live


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