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

Marlin 2.0.X : error sketch\src\module\temperature.cpp

$
0
0
Good morning all,

My compilation seems to finish correctly, but I have the following error in the traces :

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

what should I do?

In advance thank you for your response.

Tchicken From France.

Re: help configuration marlin 2 bed level lcd

$
0
0
if you still need info;

uncomment these in configuration.h

#define PROBE_MANUALLY
#define MANUAL_PROBE_START_Z 1.0
#define MESH_BED_LEVELING
#define RESTORE_LEVELING_AFTER_G28
#define LCD_BED_LEVELING

#if ENABLED(LCD_BED_LEVELING)
#define MESH_EDIT_Z_STEP 0.01 // (mm) Step size while manually probing Z axis.
#define LCD_PROBE_Z_RANGE 4 // (mm) Z Range centered on Z_MIN_POS for LCD Z adjustment
#define MESH_EDIT_MENU // Add a menu to edit mesh points
#endif

#define LEVEL_BED_CORNERS

#if ENABLED(LEVEL_BED_CORNERS)
#define LEVEL_CORNERS_INSET_LFRB { 30, 30, 30, 30 } // (mm) Left, Front, Right, Back insets
#define LEVEL_CORNERS_HEIGHT 0.0 // (mm) Z height of nozzle at leveling points
#define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Z height of nozzle between leveling points
#define LEVEL_CENTER_TOO // Move to the center after the last corner
#endif

that's all.

Upload problem

$
0
0
When I start uploading, after a while, I get the following error with arduino 1.8.12 :

"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-size" -A "C:\\Users\\Mario\\AppData\\Local\\Temp\\arduino_build_513148/Marlin.ino.elf"
Le croquis utilise 179618 octets (70%) de l'espace de stockage de programmes. Le maximum est de 253952 octets.
Les variables globales utilisent 5589 octets (68%) de mémoire dynamique, ce qui laisse 2603 octets pour les variables locales. Le maximum est de 8192 octets.
Une erreur est survenue lors du transfert du croquis
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer

Do you have an idea of ​​the problem ?

Thanks for your help, Tchicken.

Re: Upload problem

$
0
0
... have you checked correct port-number and baudrate?

Re: Upload problem

$
0
0
When I flashed it with repetier, the BAUDRATE was configured to 230400

#define BAUDRATE 230400

I've change, but have the same result with 250000

marlin2 with tmc2209 xy sensorless homing z endstop but start printing 2mm higher

$
0
0
HI Guys,

i am setting up a folger ft6 and i have it setup with tmc2209. i have configured the sensorless homing on x and y and Z has endstop.

the printer homes ok on xyz but when printing it lower the bed moves to the right place raises the bed 2mm from the nozzle and starts printing there.

on the machine i have not setup Z offset.

Please can anyone help.

regards,

Tim

Re: Upload problem

$
0
0
This is a bootloader communication issue.

The baud rate in Marlins Configuration.h has nothing to do with this.
The baud rate is part of the bootloader. details can be found in boards.txt (part of arduino ide eg the line mega.menu.cpu.atmega2560.upload.speed=115200 )


possible causes
1) selected incorrect com port in Arduino IDE (so your not talking to the controller but something else)
2) selected incorrect Board in Arduino IDE (this sets incorrect parameters, including baudrate and upload protocol)
3) selected incorrect processor in Arduino IDE (no all boards have processor options)
4) bootloader on your board is not working or not present. (this can be due to being a wrong baudrate in bootloader). Time to setup a avrisp and write a new standard bootloader.
5) some boards require external power. ie cannot be powered up with just a usb cable. Eg RAMBo mini. (without this you see the com ports as it is powered by usb, but the processor is still powered off)

Re: Upload problem


Re: Upload problem

$
0
0
Well your original post says "Le croquis utilise 179618 octets (70%) de l'espace de stockage de programmes. Le maximum est de 253952 octets"

This is about right for a mega2560 based board, but not for a ATSAM3X8E that is same processor as arduino DUE.

If I compile for a RADDS controller ( a popular DUE based controller) I get "from 524288 bytes" a much larger and expected number

Looking around no one has made marlin work on this board. All they have done is replace the controller with a RAMP's

So my guess is you setup Marlin for a RAMPS and the arduino IDE for a mega2560 and attempted to upload it to a DUE based board.

This will not work.

Re: Upload problem

$
0
0
thank you for your answers,

So for you, it is impossible to install Marlin on my motherboard? And if I change the capacity of the integrated SD card on the motherboard, will that change anything ?

Otherwise, I will order a new motherboard ...

Many thanks for your help, Tchicken.

Re: Upload problem

$
0
0
I would ask on the Marlin discord If anyone has marlin working on your controller. But I suspect the answer will be that no one has.

[discord.gg]

no changing the size wont matter...

You trying to upload a file that the board just will not understand. (ATMEGA2560 code on a ATSAM3X8E prcessor.) would be like trying to put a goldfish brain into a dog.

Re: Upload problem

$
0
0
I'm ready to try the transplant X(

Re: Mariln firmware issue

$
0
0
I, too, am having similar issues. However, depending upon yet-to-be-determined conditions, the problem has manifested itself in both X & Y directions, as well as in the Z axis. I have not tried to lower the belt tension, but it is probably a good idea. It goes along with my impression that the problem is that the motors cannot handle the sudden movement requested (I use slic3r), and that movement in one direction (for instance in the negative X, Y, or Z axes) is being hampered.

In my case, my carriage kept moving up away from the bed, until I realized that my double motors had become maligned, and the print carriage was no longer perpendicular to the two vertical screws. Realigning the horizontal carriage solved my Z problem, so it turned out to not be an issue with the firmware (I, too, had upgraded to 2.0.5.x).

However, I am still trying to determine the cause for the X and Y behavior. My prints keep moving across the bed because the motors are not moving the print head back towards the zero position.

Re: Upload problem

$
0
0
Transplant was 100% successful. Unfortunately goldfish brain panicked about being out of water jumped into a lake and drowned the dog body.


Still Incompatible...

Re: Upload problem

$
0
0
Thank you, I'm going to go back to Repetier for now :S

marlin delta printer acting like it had a stroke

$
0
0
fairly recently upgraded to marlin 2.0(bf) on my scratch built delta printer, had some problems with calibration but eventually got it running and was making some decent prints. I was looking forward to using some of the new features like linear advance, but then the printer started acting in a manor that I can only describe as "goofy". It started with skipping steps & jamming my extruder, something that had not happened since I addressed those problems in the early days (~3 years ago). I had been mulling over reworking some of the hotend, and that was the last straw.

So I built a new heater block, featuring 2 cartridge heaters (5ohm) in parallel for an effective 2.5ohm heater. I am sure some will say that's a bad idea, but the mosfet it well cooled and seems to handle it just fine. Expecting a powerful heater, I was surprised to still have the same weird extruder behavior and started to get thermal warnings. Honestly, they seem completely erroneous, but I am not 100% sure of the rules for triggering. The settings I know about define a watch period and temp rise (currently 40s, 2deg), that rule has not been broken, yet the halting alarm still goes off. This is especially prone to happening when setting my z height via a g33 p1 command. Probe is set to be done with the heater & fan off and I have 580mm of z travel, so by the time it turns back on, its down about 8-10 degrees at which point it usually screams at me. So what thermal protection rule might I be triggering? and where can I find that in the code?

Then in the 11th hour last night, the machine started acting like it had a stroke. Processing some commands perfectly fine, others a little off and some completely out of wack. Some examples: I have a tramming routine that does an m48 (x4) at each of my adjustment screws:

m48 p4 v2 x0 y0; ctr
m48 p4 v2 x-130 y-75; x
m48 p4 v2 x130 y-75; y
m48 p4 v2 x0 y150; z

this comes into the first point, does no probing, slides across to the next 3 points without probing or lifting & buries the nozzle in the table at several points.

when manually controlling the machines position, it allowed be to blast right by my end stops at the top.

Homing seems to work just fine every time, but if I go from home (0,0,580) to say (0,0,25), I end up around (+50, +25, 5). In other words, when viewed from the x tower it thinks the center is away from the x tower & to the left. The z height is also too low. All the motors seem to run fine during other operations. All the motors are running, all the drivers are working, belts are properly tensioned, no loose pulley set screws, ect....

I have tried recompiling, different compilers even nothing seems to change that

At this point, I was fed up with marlin2.0, and before I upgraded I set aside a pre-compiled version of 1.1.9 that I know worked. Yet I have the same sort of behavior. I should note that I have no troubled uploading new firmware. So the problem has got to be in whatever is left, that's possibly faulty hardware and EEPROM. Having spent days reworking some potentially sketchy connections and seeing no improvement, I am beginning to think the problem might be in the arduino / ramps board. So I enabled m100, not real sure how to use it, but here is what I got from m100 f:

21:02:02.854 : bss_end : 0x142A
21:02:02.854 : free_memory_start : 0x142A
21:02:02.854 : free_memory_end : 0x21D6
21:02:02.854 : Stack Pointer : 0x21D6
21:02:02.854 : Found 3224 bytes free at 0x1432
21:02:02.870 : M100 F
21:02:02.870 : fmc() n=3500
21:02:02.870 : free_memory_start=0x142A end_free_memory=0x21D6
21:02:02.870 : (1) found=3224
21:02:02.870 : block_found=1 return=0
21:02:02.870 : check_for_free_memory_corruption() = 0

from what I know, that seems fine.

As a last ditch effort, I am going to swap out the power supply tonight, I have some minor concerns about it. chiefly that without usb power, I cannot read the LCD screen. Its backlit, but no visible text. Perhaps this indicates a low 5v (vcc) line, which I could see causing some of this spooky behavior. Though spooky might be the wrong work, it is consistent, just consistently wrong. I kinda doubt this will fix anything as this behavior was happening while the printer was still working.
--> did this last night, made no difference at all.

Anyone who sees a problem, or needs me to run further diagnostics please speak up!

Lastly, before this I had been considering an upgrade to a 32bit system, that's probably in my very near future now. So I am looking for suggestions on a new brain & step drivers. I am wide open on boards, but I think I want to run TMC2209 drivers...but the right words could persuade me otherwise.

If you read all of this, or even most, thank you, sorry its so long, but I have been through an epic saga with thing.

Re: Mariln firmware issue

$
0
0
Quote
Dr. Dave
My prints keep moving across the bed because the motors are not moving the print head back towards the zero position.

Are you 100% certain you gear/teeth/belt ratio is right? That's my initial thinking (and I had that sort of issue) If it is it sounds more like the motors are missing steps for some reason (bad wiring, stepper driver etc), but the 2 could be intertwined. Might I ask what stepper motors you are using?

I've personally swapped from DRV8829s to A4988s with no effect, I switched to Repetier for a test, again no help. I can't replace/swap my stepper motors around unfortunately because, while I can likely remove the gear without damaging the motor, I don't believe I can push it back on a new motor without damage as I'm sure it takes some fancy contraption like it does to remove it.


I've added to the strangeness of my issue as well. The curve or dent starts after the slow layers and then curves back out about 5 layers later. After the 10 or 12 "curved" layers, it prints flawlessly and it's baffling as all crap. being micro-stepped 1/16th I would think the stepper would HAVE to be told to do it by the drivers/firmware.

Effector crashes into X tower after Delta Calibration

$
0
0
I recently rebuilt my printer with a new Board, new stepper drivers and new Firmware. Now, when I go to do Delta calibration to set up printer for first time, calibration fails by crashing into X tower.

Everything seems to go good to start off with. It does the center probe, then does probes around the edge of the bed and goes back to the middle for a probe. Its after this step where instead of homing all the axis, it homes only the X and crashes the carriage into the X tower. Homeing works well otherwise.

Here is a video of this behaviour. I did make a test print, and everything else worked except for the bed not being quite where it should be for first layer. Everything else is working.

Here is a Google Drive link to my Zipped configuration.

Re: Mariln firmware issue

$
0
0
Quote
kc8iqw

Quote

Are you 100% certain you gear/teeth/belt ratio is right?
Yes. This is a new problem which arose after I updated my Arduino build and the Marlin build. The output isn't slowly creeping across the plate, but it keeps moving right and backward. In fact, when I manually move the X or Y axis, the print head hangs in one direction, but moves OK in the other direction.

Quote

Might I ask what stepper motors you are using?
As best as I can determine, my motors are Kysan model 1024090. I've previously calibrated all the step values, and they should not have changed. I've also checked for loose wires and lowered the jerk, acceleration, and max velocity for the X & Y directions, too.

Re: Upload problem

$
0
0
Where are example with configs for Repetier, perhaps you board is just a weird looking clone of something else.
Viewing all 12089 articles
Browse latest View live


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