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

Re: CR10-S5 , + Marlin - random stop during G28 home.

$
0
0
and yes, it proved to be induction from the long flat cables where stepper & endstop were in the same sleeves.
I tore off the endstop pair, twisted it many times, about 1 turn per 2cm , both in the 1m extension cables & the original , shorter cables. - still in the same sleeves, works perfectly low.

Re: Problems compiling Marlin for Anet A6

$
0
0
You really need to post the errors your getting

I presume your talking about this hardware definition? [github.com]

If your trying to remove the arduino ide completely you really need to remove the hidden arduino15 directory also. see [support.paradisearcadeshop.com]

Re: Problem enabling Z Home Safe

$
0
0
Upload your configuration.h and configuration_adv.h to a google drive, copy the shareable link'

Post shareable link and will take a look see what is going on for you.

Re: Problems compiling Marlin for Anet A6

$
0
0
Thanks for your reply.

I am using the GitHub definition you mention.

I did remove the arduino15 directory, and pretty well everything else that referred to the Arduino and Marlin, before starting again.

I didn't post my errors because I get different collections of errors depending on whether I compile on the old or new setup, on whether I compile with the Anet V1.0 or Anet V1.0 sanguine board (I get both when I add the GitHub board file) and on whether I compile the Marlin 1.1.9 or the bugfix 1.1,x package on the Marlin Github site.

The errors mainly relate to not finding included libraries in some files such as G26_Mesh_Validation_Tool.cpp. I assumed that an Arduino library consists of pairs of .h and .cpp files in a zip file. I checked that all the top level includes in G26_Mesh_Validation_Tool.cpp were present in the Marlin package, but gave up trying to check all the included in the top level includes themselves. (Is there any easy way to find the name of the missing .h or .cpp file(s)?

The other problem is warnings about redefinitions of symbols such as Timer2 to different values, which is clearly an error even though the compiler continues and, in some cases in the original setup, produced a likely looking code file despite the errors and warnings.

Any further advice would be very much appreciated.

I cannot include the error files from the original setup as they are refused as too large (~1.2MB) but here are the error files from the current setup using both the Anet V1.0 and Anet V1.0 (optiboot) board definitions.

Re: Error compiling for board

$
0
0
so,

I redownloaded Marlin and the Stepper motor library and copied in my configuration and configuration_adv files and I get a different error

Arduino: 1.8.8 (Windows Store 1.8.19.0) (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

Build options changed, rebuilding all
sketch\ultralcd.cpp: In function 'menu_action_setting_edit_callback_long5.constprop':

sketch\ultralcd.cpp:4860:3: internal compiler error: Segmentation fault

   DEFINE_MENU_EDIT_TYPE(uint32_t, long5, ftostr5rj, 0.01f);

   ^

Please submit a full bug report,

with preprocessed source if appropriate.

See [gcc.gnu.org] for instructions.

lto-wrapper.exe: fatal error: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.19.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-gcc returned 1 exit status

compilation terminated.

c:/program files/windowsapps/arduinollc.arduinoide_1.8.19.0_x86__mdqgnx93n4wtt/hardware/tools/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/bin/ld.exe: error: lto-wrapper failed

collect2.exe: error: ld returned 1 exit status

exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.

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

Re: Problems compiling Marlin for Anet A6

$
0
0
the error in both of them is

"SanityCheck.h:923:6: error: #error "AUTO_BED_LEVELING_UBL used to enable RESTORE_LEVELING_AFTER_G28. To keep this behavior enable RESTORE_LEVELING_AFTER_G28. Otherwise define it as 'false'."
#error "AUTO_BED_LEVELING_UBL used to enable RESTORE_LEVELING_AFTER_G28. To keep this behavior enable RESTORE_LEVELING_AFTER_G28. Otherwise define it as 'false'.""

But the A6 configuration.h provided with marlin does not have AUTO_BED_LEVELING_UBL enabled, did you change it? See github version, line 1087 [github.com]

The error is also clear what you should do if you have enabled AUTO_BED_LEVELING_UBL and that is also enable RESTORE_LEVELING_AFTER_G28 in configuration.h

X and Y Homing issues

$
0
0
I get a "error: printer halted. (kill() called!" Any time I home my machine with X or Y axis. I have just installed a 3D touch auto bed level sensor, ironically it works fine. I was using Sprinter firmware but it dosnt support auto bed level, so thus im stuck using marlin. I used the latest version of marlin and as it did years ago and it gave me nothing but issues, printer wouldnt move or home at all. I used the marlin 1.1x bug fix addition and now every thing is working correctly except X and Y homing cause the machine to throw out the "error: printer halted. (kill() called!" on Repetier Host

When I use the M119 command all Endstops show as open unless triggered, the endstops are working correctly. When I home the X and or Y it will do as it should and stop when it hits the endstop but thats when the errors pop up.

If I home my Z axis it will deploy the probe and come down and touch the bed 2x and no error code. I'm not sure what would cause this to happen only on X and Y but any help would be appreciated I am at my whits end.

Re: Error compiling for board


Re: Problem enabling Z Home Safe

$
0
0
Hey Clif, here is the link to the files you requested. Also, I found that the wiring was causing the driver error but now that is fixed the drive won't enable so they still don't move.
[drive.google.com]
[drive.google.com]

Re: X and Y Homing issues

$
0
0
I downloaded and tried using printerun to see if any thing different would happen and it does the exact same thing as repetier host, same error. It must be some sort of firmware setting that I'm missing.

Marlin 2.0 MKS SBase 1.3; set driver current

$
0
0
Hi,

I would like to know how and where the current settings for the DRV8825 drivers are defined. I cannot find a default setting anywhere, I can find this on the configuration_adv.h. page but I cannot figure it out (I just don't understand it):



I changed line 581, the number of channels, to 5.
I changed line 584 to have 5 variables, and set the first two (my guess is X and Y motors) to 1.5A
Should I enable line 565?
Or should I enable line 580?
Or both?
I tried to include the library mentioned at line 580 using PlatformIO in Atom, I don't know if I succeeded.
Any help is welcome.

Cheers,

Hugo

Can anyone add MMU 2.0 to his printer ? :S

$
0
0
Hi guys,

Am very interested in the MMU 2.0 and willing to buy the kit soon. Only that I heard Josef Prusa saying that the kit is only compatible with Einsy board and Prusa i3 MK versions.
Honestly I don't think that is impossible to connect the MMU board to another one like in my case a Makerbase board (MKS Gen 1.4) . Can you discuss the proper approach to connect any different board and printer to the MMU board and how to modify the firmware to do so? Thanks .

Re: Problem enabling Z Home Safe

$
0
0
Never done bed leveling the way you are doing it

Found a link for you to look at
[github.com]

I added the following boundaries and the code did compile

// Set the // Set the boundaries for probing (where the probe can reach).
#define LEFT_PROBE_BED_POSITION 10
#define RIGHT_PROBE_BED_POSITION 210
#define FRONT_PROBE_BED_POSITION 30
#define BACK_PROBE_BED_POSITION 190


// The Z probe minimum outer margin (to validate G29 parameters).
#define MIN_PROBE_EDGE 10

I believe the Boundaries are required to use Z Safe Homing

Re: Can anyone add MMU 2.0 to his printer ? :S

$
0
0
Its compatible with prusa mk2.5 and mk3

the mk2.5 uses Mini Rambo [reprap.org]

There are several issues
1) hotend, Prusa had to get the hot end redesigned to be nice and smooth inside, so that filament change didn't suffer from jams. A clone hotend most likely will jam
2) Filament sensor, you need a filament sensor on your extruder, its parts of the operation of the MMU (yes there is a second one on the MMU)
3) firmware, Prusa firmware has custom code to operate the MMU, at this time it is only in Prusa firmware

electrically it is connected to rx2/tx2 and reset , so you need to be able to access a unused serial port on your controller and the reset line.

Atmel 2560 chips have 4 serial ports 0-3, 0 is connected to a usb/serial converter (ie the usb cable) on reprap controlers
1,2 and 3 are generally taken up as normal IO pins used in some other function.

Re: Can anyone add MMU 2.0 to his printer ? :S

$
0
0
For the moment my primary concern is with firmware. Let's say that I have the necessary communication pins do you think that I can modify the Prusa Firmware in order to adapt it to my machine?

Re: Can anyone add MMU 2.0 to his printer ? :S

$
0
0
Anything is possible, given enough time.

Issue with prusa firmware is he has deliberately removed all code relating to different controllers.
The current firmware is very much hardcoded for the prusa hardware.
For eg, It is designed so that you must calibrate it with a heated bed that has special marks at well defined locations before it will let you do normal gcode.

Its is do able, but is going to take some work...

It would probably be easier to study the code and extract the MMU parts and implement them in marlin

Printer Response

$
0
0
Hi,
I have an ANET A8 3D Printer running Marlin 1.1.x. I'm using a Raspberry Pi to use serial communication for the 3D Printer for my school project. I was able to send GCodes properly to the 3D Printer but I couldn't interpret the printer response correctly. It always gives me a character within quotes preceded by b (E.g. b's'). If I decode the message using decode() I get a single digit response which is the same without the letter b and the quotes ( E.g. b's' is decoded to s). I have attached my output response. I read somewhere that the Printer gives 'ok' as response but all I get is 's' during idle statements and when I pass some GCode and get a response, it is some random letter. Also, I receive the same response when I pass in M114 to get the extruder position. Is there something I'm missing.

Re: Printer Response

$
0
0
This makes zero sense.

the printer does respond with 'ok'

so there is an issue

if you notice several lines down you get the k..


There is something wrong with your code...

How about sharing your code, instead of posting the same thing again?

Re: Problem enabling Z Home Safe

$
0
0
Got it, I will give it a try tomorrow when I have time to make the changes and test it. Thank you for the guidance and help.

Four Point Bed Level & Twist on 1.1.9?

$
0
0
Hi,

Can anyone point me toward a guide for setting up a four point bed level correction in the firmware?

Thanks.
Viewing all 12112 articles
Browse latest View live


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