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

Re: Marlin homing issue

$
0
0
I remember When I flashed a new version of Marlin on one of my controllers, it failed and went thru some strange process after double checking everything.
Nothing seemed to fix the problem.

Until I re-flashed the same Version a few times, each time restoring The Firmware's defaults, then it started working correctly.
Afterwords I upgraded to newer versions of marlin and have never had any similar occurrences during flashing my firmware to this controller...

Re: Marlin homing issue

$
0
0
Do you think that when I ran the M502, it actually cleared whatever 'scratch space' is used for non-volatile settings and did in fact reset it to defaults, even though I was unable to run a M500? So far I've had three prints, one before running the M502 and two after that didn't fail to home after the print; Of course now that I've said that, I'll probably start getting more failures lol.

Edit: Interesting... have another interesting finding... I just reverted back to 1.1.8 to test out another possible issue (I have a print that I need to make six of in total, and when printed on 1.1.8, after I sliced them to 100.5% size, the ones I printed on 1.1.8 were perfect, but on 2.0 at the same 100.5% slicing, it was a tad too tight). After I uploaded the 1.1.8 firmware and ran the M502, it didn't halt or reset... It did that after I ran the M500. So maybe running M502 on 2.0 is the same as running M502 and then M500 on 1.1.8?

Re: KR-PRO-V1.1 board not converting firmware.bin to FIRMWARE.cur

$
0
0
Sometimes it took my boards two or three times to take the bin and rename it to cur.

Combination of M997 and resets would have to do it. Also, sometimes when I transfer the bin file it is "empty" (0 bytes) after first read and then the board is "dead" until I retransfer the bin and do a reset via the board reset button and not the lcd controller reset.

On the note of usb connection issues, I found that for my mks sgen L boards (similar to the skr 32 bit) I had to define the first serial port as -1 and the second serial port as 0 and this allowed me to use the sdcard on board for firmwares via usb connection as well as usb control.

Re: Marlin homing issue

$
0
0
Have you activated the Marlins EEprom functions if not or if you are having problems. You can try this with a LCD Menu option.

Using marlin 2 menu Click encoder > change to Configuration
Click encoder change to "Restore Failsafe" to get Data back from firmware
Click encoder change to "Store Settings" to save the data

M500, M501 and M502 are Save Memory, Load Memory, and Restore Failsafe options on the LCD menu

Re: Marlin crashing every time print ends

$
0
0
Quote
Roberts_Clif
This line should have only 13 characters for the Machine Name when using a 20 X 4 Discount Smart Controller you have 15.

#define CUSTOM_MACHINE_NAME "ANYCUBIC Kossel"

Tested not to make difference in crashing, that spelling is also from the example config.

Further steps taken :
There was suspicion my end gcode might have caused this crashing. There was stupid mistake with retraction which stock firmware had ignored completely but Marlin didn't. I changed this to different one and it made no difference.

I'll be posting bug ticket on the Marlin issue tracker on this now as I was adviced to do so by the devs.

Mendel / i3 DIY sulking. - probing problem

$
0
0
Hi,
I'm not sure if this is the place for this problem as I'm not sure if it is a hardware or firmware one.
I must admit that my self build printer is sulking, it used to print very well but no longer. I am ashamed to say that I have ignored it for some years but have a few projects that I want to make plus I have some time now to carry on with it. But it's behaving like my first wife when I forgot her birthday!

I have treated it nicely and given it a cleaning and an upgrade to Marlin 2.0.x and then Bugfix 2.0.x and fitted an inductive probe for bed 'levelling' which works well and triggers when it should. However the printer is being really stubborn. Now I'm used to successfully dealing with lots of recalcitrent and obstreperous teenagers when I was a teacher but this thing has got me really foxed.

I set it up for bilateral probing on the normal 9 point mesh with interpolation and it worked at first well but suddenly, for no apparent reason (to me at least), it has refused to budge past the third probing point both when I send a g29 from Pronterface or a command from the full graphical controller it starts to probe correctly and completes 2 points but on the third it just stops and the only message I get from Pronterface is "probing failed2 - no reason given. I was hoping that someone on here has had the same or similar problem and managed to solve it. Please help if you can I would be very grateful and my printer would be pleased and forgive me - I hope!

I've attached My config.h just in case I missed something but I don't think so as it did initially work.

Best regards

TerryD

Error when compiling Marlin 2.0

$
0
0
Hi all!
I have an Creality CR-10 that is modified and now I want to get it running with a Bigtreetech V3 controller board.
I have followed the instructions on the Marlin site and gone with the zip-file option and use the latest one. The problem is as the attached screen capture shows an error about files missing. There are nothing in the instructions about moving some files to get it to compile. I can't find anything about that when searching either. Perhaps due to using the wrong search parameters perhaps, I don't know.
Why do I get this message?
I compile with Visual Studio btw.

Thank's in advance!
/JF

Marlin 2, i3 Pro B, Z clearance being ignored

$
0
0
So I have a Geeetech i3Pro B, currently running Marlin 2.0.4.4, and I bought a 3DTouch (BLTouch ripoff?) but I've been having nothing but trouble getting it working. I think I'm more or less there once I can fix this one final problem.

I have all of my z clearance variables set to move the nozzle up by 5 or 10 mm after homing or probing but it doesn't move up at all. When I home on Z it moves to the centre of the bed, deploys the probe, then lowers down. The probe hits the bed and is stowed. Then, without moving up at all, the probe is deployed again and the 3DTouch flashes like it's in an alarm state. The probe is stowed again and the nozzle moves down 1.7mm which is my offset. Despite it only homing once and not doing the second slow one, it seems to work okay. But then when I try to auto level it moves across the bed without raising, deploys the probe when it gets to its first spot, then alarms and crashes my board.

Here's my z clearance config:
#define Z_CLEARANCE_DEPLOY_PROBE 10 // Z Clearance for Deploy/Stow
#define Z_CLEARANCE_BETWEEN_PROBES 5 // Z Clearance between probe points
#define Z_CLEARANCE_MULTI_PROBE 5 // Z Clearance between multiple probes
#define Z_AFTER_PROBING 5 // Z position after probing is done

#define Z_PROBE_LOW_POINT -2 // Farthest distance below the trigger-point to go before stopping

What I'm asking is, is there any other config in Marlin that would cause it to ignore all this config?

The only other clue I have, which may be a totaly different problem, is that when it homes on Z I noticed that Z isn't being set to 0, it's actually being set to 10. After homing I manually set Z to 0 but when I did the auto level it did the exact same thing, and I even noticed that what should have been 0 was back to being 10 on the Z axis. I've crawled through my cofig trying to figure out what's doing that but I can't find anything that looks the part.

Here's my config if anyone fancies tatking a look:
[1drv.ms]

I'd really appreciate any help that you can give me.

Geeeteck I3 Pro C running Marlin 2.x ??

$
0
0
Does anyone have a better starting point than the example config for this printer ???

The config in "\config\examples\Geeetech\Prusa i3 Pro C" compiles OK but has several problems (On "auto home" it moves the wrong way and crashes into the end stop. but there are several other peculiarities).

I'm rather pressed for time and a better starting point example would be a great help.

Regards,
Dave

Marlin Homing problem.

$
0
0
Setting up my modified FolgerTec I3 with a SKR v1.3 and Marlin 2.0. Working through everything in steps and learning. Got homing and bed leveling working, but ran into a problem with the extruder fan not working. In the process of trying to reasign the pins for the fan. (also need help with that) Now when I home X the extruder stops at the endstop then when doing the slow touch will runs past the endstop without seeing it. I could start all over like I usually do but I would like to know what I did wrong. Could someone look at my files and correct me? I'm thinking it's an addressing conflict on the probe. Let me know if you need more info. Thx

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

$
0
0
So one question here: If I want to use the current 2.0.4.4 with my 8 bit board I can do this and also keep using the Arduino software to upload, right?

Is it worth a try when having an 8 year old Orcabot 0.43 with a gen 6 deluxe 8 bit board without bedleveling, fan support and all the fancy stuff or am I better off with the 1.1.9 version?

Thanks for some advice.

Re: FAN0 inverted PWM?

$
0
0
Hey guys,

I have a similar problem. The only difference is that my fan is not about 10% but around 60% when I turn in on completely (M106 S255).
Could you please tell me what exactly you changed in the marlin source software since I'm not sure what to change and I don't want to destroy anything.
Thank you for the help!

greetings

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

$
0
0
So you want to live in the future but keep your stone age tools.... ???


Well It mostly depends on what processor your controller has. (I've not heard of the "deluxe" gen 6)
If you have a 644p, forget 2.0 It will not fit
If you have a 1284p you can use arduino IDE but you should use vscode and platformio, it produces smaller code
If you have a mega 2560 you can use either, you have more resources so either is fine.

Re: FAN0 inverted PWM?

$
0
0
They had faulty MOSFETs, Ie hardware. Not marlin config.

Re: FAN0 inverted PWM?

$
0
0
Hello Dust,
Yes, I know. My mosfet is probably faulty as well but since I don't know how and which one to exchange l wanted to use the workaround stan78 described.

Re: FAN0 inverted PWM?

$
0
0
first you need to identify your controller.
From that you can work out what pins.h file it is using in marlin.
In the pins.h file you swap the pin numbers so that the fan0 pin is the desired port.
You recompile and upload.

Compiling Marlin 2.0.x horribly slow under Arduino IDE 1.8.12

$
0
0
It seems 5-10 times slower than compiling 1.1.8 !!!

I realize it's more complex but even so ...

Dave

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

$
0
0
Try compiling with vscode and platformio. When I compiled marlin2 for an mks base 1.4 board (atmega IIRC) using vscode and platformio it breezed through it. 2 minutes or so.

G34 Issues... Large format machine

$
0
0
I have been working on a large format printer with 3 Z steppers.

// The size of the print bed
#define X_BED_SIZE 610
#define Y_BED_SIZE 425

// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS -140
#define Y_MIN_POS -10
#define Z_MIN_POS 0
#define X_MAX_POS 600
#define Y_MAX_POS 525
#define Z_MAX_POS 1800

I often error on G34 command due to the front of the bed sagging on power down.

#if ENABLED(Z_STEPPER_AUTO_ALIGN)
// Define probe X and Y positions for Z1, Z2 [, Z3 [, Z4]]
// If not defined, probe limits will be used.
// Override with 'M422 S X Y'
#define Z_STEPPER_ALIGN_XY { { 10, 150 }, { 150, 10 }, { 250, 150 } }

/**
* Orientation for the automatically-calculated probe positions.
* Override Z stepper align points with 'M422 S X Y'
*
* 3 Steppers: (0) (1) (2) (3)
* | 3 | 1 | 2 1 | 2 |
* | | 3 | | 3 |
* | 1 2 | 2 | 3 | 1 |
*

#ifndef Z_STEPPER_ALIGN_XY
#define Z_STEPPERS_ORIENTATION 2
#endif

z2 or motor 3 is the front center motor I'd like to probe it 240,20, then z0 @ 500,400, and then Z2 20,400

When I try and Z stepper align Z_STEPPER_ALIGN_XY any bigger than 250 I get compile errors.

Any suggestions on best approach to solve this would be appreciated.

For now I G28, disable the steppers push the front up to top of frame and a G34 works 50% of the time...

[www.youtube.com]

Re: G34 Issues... Large format machine

$
0
0
M422 S0 X500 Y400
READ: ?(S) Z-ProbePosition index invalid.

M422 S2 X240 Y20
READ: ok

I'm stuck
Viewing all 12089 articles
Browse latest View live


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