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

Machine Homing Problem

$
0
0
Hi!

I'm working in a Clay 3D printer, and for it I'm using Marlin Firmware.

I'm having a problem in the homing routine, the Y axis is the only one that is homing. Have anybody have this problem?

Thx!

Re: Machine Homing Problem

$
0
0
only about 100,000 people have had this issue....

send the printer the gcode M119 and examine the status of the end stops as seen by the controller.

The end stops should only be triggered if the end stop switch is in the closed position.

out of bounds when G29

$
0
0
As soon as i set MIN_PROBE_EDGE i get ? (L,R,F,B ) out of bounds. when issuing G29. When i ommit MIN_PROBE_EDGE my probe wants to probe outside of the bed.

Im using a Hypercube (CoreXY) with an inductive sensor. This has worked in the past quite good. The machine homes correctly and the origin is where would expect it: in the front left corner.

I also noticed that it doesnt matter whether i set the X-Offset of my probe to 32.5 or -32.5, it homes Z at the same position and when bed leveling it try to probe outside the bed.

Isnt MIN_PROBE_EDGE the correct way to adress this issue?

Attached is my configuration.h and configuration_adv.h, but here is also a paste of configuration.h [pastebin.com]
I pulled the newest commits today from github, but i had this issue for over a week now so either theres a bug in marlin ooor i was stupid :D

Best practice for debugging Marlin

$
0
0
Hi,

I couldn't find a good summary of the best practices for debugging Marlin.
IDE
- platformio
- Atmel Studio
- Atom
- Eclipse
- ...

Debugging adapters (and wiring diagrams)
- Atmel: Dragon, JTAGICE..
- Other JTAG / SWD (like Jlink)
- ...

An important question would be:
Which exact IDE+Adapter+PCB combinations were tested and are known to work?

I am referring mainly to
- Marlin 1
- RAMPS 1.4 + Arduino MEGA 2560
- Even more specifically: MKS Gen V1.4

Many thanks for any references and info!

Marlin 2.0.X Bugfix Platformio:Build Error?

$
0
0
Hi, i recently received SKR 1.3 board. I tried upload latest marlin version. When i try upload arduino always times out. Here it is error code:
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

avrdude done. Thank you.

An error occurred while uploading the sketch
Why is this happening?

So i decided to try Atom software. I add latest version marlin and i only changed “default_envs = LPC1768” in platformio.ini. After then i press the Platformio:Build button and it gives this errors: [yadi.sk]

What can i do?

Re: Marlin 2.0.X Bugfix Platformio:Build Error?

$
0
0
1) you cannot use arduino IDE on a lpc1768 based controller. You need platformio.
2) #error "Oops! Set MOTHERBOARD to an LPC1768-based board when building for LPC1768."

you need to set "#define MOTHERBOARD BOARD_BIGTREE_SKR_V1_3" in the Configuration.h file. Do not leave it set to a RAMPS

3) (This is your next issue) Unable to find destination disk (Autodetect Error)
The SKR1.3 SDCARD should have a label REARM or have a file FIRMWARE.CUR (contents does not matter) so the script can find the correct place to put the new firmware.bin file.

Also be aware that the supplied 256meg sdcard that comes with the SKR1.3 is rubbish and unreliable.

Marlin 2.0.X Bugfix Platformio error compilation

$
0
0
Hello all,

I tried to compile a marlin 2.0.x for an SKR 1.3 +TMC5160 V1.1 for a delta printer type kossel K800XL ...
I use visual studio code + pio platform

I suppose there is missing something somewhere... But I don't know what is missing and in wich file.
Could someone help me ?
I can provide You other files / informations if needed

Here is what I received as message :


CIompiling .pio\build\LPC1768\src\src\lcd\menu\menu_ubl.cpp.o
n file included from Marlin\src\lcd\menu\menu_sdcard.cpp:31:
Marlin\src\lcd\menu\menu_sdcard.cpp: In function 'void menu_sdcard()':
Marlin\src\lcd\menu\menu_sdcard.cpp:128:29: error: 'MSG_CARD_MENU' was not declared in this scope
C ompiling .pio\build\LPC1768\src\src\lcd\ultralcd.cpp.o
MENU_ITEM(sdfolder, MSG_CARD_MENU, card);
Compiling .pio\build\LPC1768\src\src\libs\L6470\L6470_Marlin.cpp.o
^~~~~~~~~~~~~
Marlin\src\lcd\menu\menu.h:316:88: note: in definition of macro '_MENU_ITEM_VARIANT_P'
draw_menu_item ## VARIANT ## _ ## TYPE(encoderLine == _thisItemNr, _lcdLineNr, PLABEL, ## __VA_ARGS__); \
^~~~~~
Marlin\src\lcd\menu\menu.h:346:103: note: in expansion of macro 'PSTR'
#define MENU_ITEM(TYPE, LABEL, ...) _MENU_ITEM_VARIANT_P(TYPE, , false, PSTR(LABEL), ## __VA_ARGS__)
^~~~
Marlin\src\lcd\menu\menu_sdcard.cpp:128:9: note: in expansion of macro 'MENU_ITEM'
MENU_ITEM(sdfolder, MSG_CARD_MENU, card);
^~~~~~~~~
Marlin\src\lcd\menu\menu_sdcard.cpp:128:29: note: suggested alternative: 'MSG_INFO_MENU'
MENU_ITEM(sdfolder, MSG_CARD_MENU, card);
^~~~~~~~~~~~~
Marlin\src\lcd\menu\menu.h:316:88: note: in definition of macro '_MENU_ITEM_VARIANT_P'
draw_menu_item ## VARIANT ## _ ## TYPE(encoderLine == _thisItemNr, _lcdLineNr, PLABEL, ## __VA_ARGS__); \
^~~~~~
Marlin\src\lcd\menu\menu.h:346:103: note: in expansion of macro 'PSTR'
#define MENU_ITEM(TYPE, LABEL, ...) _MENU_ITEM_VARIANT_P(TYPE, , false, PSTR(LABEL), ## __VA_ARGS__)
^~~~
Marlin\src\lcd\menu\menu_sdcard.cpp:128:9: note: in expansion of macro 'MENU_ITEM'
MENU_ITEM(sdfolder, MSG_CARD_MENU, card);
^~~~~~~~~
Marlin\src\lcd\menu\menu_sdcard.cpp:130:27: error: 'MSG_CARD_MENU' was not declared in this scope
MENU_ITEM(sdfile, MSG_CARD_MENU, card);
^~~~~~~~~~~~~
Marlin\src\lcd\menu\menu.h:316:88: note: in definition of macro '_MENU_ITEM_VARIANT_P'
draw_menu_item ## VARIANT ## _ ## TYPE(encoderLine == _thisItemNr, _lcdLineNr, PLABEL, ## __VA_ARGS__); \
^~~~~~
Marlin\src\lcd\menu\menu.h:346:103: note: in expansion of macro 'PSTR'
#define MENU_ITEM(TYPE, LABEL, ...) _MENU_ITEM_VARIANT_P(TYPE, , false, PSTR(LABEL), ## __VA_ARGS__)
^~~~
Marlin\src\lcd\menu\menu_sdcard.cpp:130:9: note: in expansion of macro 'MENU_ITEM'
MENU_ITEM(sdfile, MSG_CARD_MENU, card);
^~~~~~~~~
Marlin\src\lcd\menu\menu_sdcard.cpp:130:27: note: suggested alternative: 'MSG_INFO_MENU'
MENU_ITEM(sdfile, MSG_CARD_MENU, card);
^~~~~~~~~~~~~
Marlin\src\lcd\menu\menu.h:316:88: note: in definition of macro '_MENU_ITEM_VARIANT_P'
draw_menu_item ## VARIANT ## _ ## TYPE(encoderLine == _thisItemNr, _lcdLineNr, PLABEL, ## __VA_ARGS__); \
^~~~~~
Marlin\src\lcd\menu\menu.h:346:103: note: in expansion of macro 'PSTR'
#define MENU_ITEM(TYPE, LABEL, ...) _MENU_ITEM_VARIANT_P(TYPE, , false, PSTR(LABEL), ## __VA_ARGS__)
^~~~
Marlin\src\lcd\menu\menu_sdcard.cpp:130:9: note: in expansion of macro 'MENU_ITEM'
MENU_ITEM(sdfile, MSG_CARD_MENU, card);
^~~~~~~~~
*** [.pio\build\LPC1768\src\src\lcd\menu\menu_sdcard.cpp.o] Error 1











-----------------------------------------------------------------------------------------------------
PROBLEMS 4
{
"resource": "/c:/3dprinter/BIGTREETECH-SKR-V1.3-master/firmware/Marlin-bugfix-2.0.x/Marlin/src/lcd/menu/menu_sdcard.cpp",
"owner": "cpp",
"severity": 8,
"message": "'MSG_CARD_MENU' was not declared in this scope",
"startLineNumber": 130,
"startColumn": 27,
"endLineNumber": 130,
"endColumn": 27
}


----------------------------------------------------------------------------------------------------------
Here is part of the file menu_sdcard.ccp


if (ui.should_draw()) for (uint16_t i = 0; i < fileCnt; i++) {
if (_menuLineNr == _thisItemNr) {
const uint16_t nr =
#if ENABLED(SDCARD_RATHERRECENTFIRST) && DISABLED(SDCARD_SORT_ALPHA)
fileCnt - 1 -
#endif
i;

card.getfilename_sorted(nr);

if (card.flag.filenameIsDir)
MENU_ITEM(sdfolder, MSG_CARD_MENU, card);
else
MENU_ITEM(sdfile, MSG_CARD_MENU, card);
}
else {
MENU_ITEM_DUMMY();
}
}

Re: Marlin 2.0.X Bugfix Platformio error compilation

$
0
0
That is a language string...

Seem like that name changed from MSG_CARD_MENU to MSG_MEDIA_MENU

So update the code with the new name.

NB current marlin bugfix 2.0 does not reference MSG_CARD_MENU anywhere....
The change from card to media happened on Aug 14 2019, how old is your code?
[github.com]

Re: Marlin 2.0.X Bugfix Platformio error compilation

$
0
0
Seem to be worst, here is result:



Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: [docs.platformio.org]
PLATFORM: NXP Arduino LPC176x 0.0.2 > NXP LPC1768
HARDWARE: LPC1768 100MHz, 31.80KB RAM, 464KB Flash
DEBUG: Current (cmsis-dap) On-board (cmsis-dap) External (blackmagic, jlink)
PACKAGES: framework-arduino-lpc176x 0.1.3, toolchain-gccarmnoneeabi 1.80201.190214 (8.2.1)
Converting Marlin.ino
LDF: Library Dependency Finder -> [bit.ly]
LDF Modes: Finder ~ off, Compatibility ~ strict
Found 6 compatible libraries
Scanning dependencies...
Dependency Graph
|-- 1.0.0
|-- 1.0.0
|-- 0.4
|-- 0.5.2
|-- 1.2.4
|--

Unable to find destination disk (Autodetect Error)
Please select it in platformio.ini using the upload_port keyword (https://docs.platformio.org/en/latest/projectconf/section_env_upload.html) or copy the firmware (.pio/build/LPC1768/firmware.bin) manually to the appropriate disk

Linking .pio\build\LPC1768\firmware.elf
c:/users/systadmin/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/LPC1768/src/src/gcode/sdcard/M20.cpp.o: in function `GcodeSuite::M20()':
c:\3dprinter\BIGTREETECH-SKR-V1.3-master\firmware\Marlin-bugfix-2.0.x/Marlin\src\gcode\sdcard/M20.cpp:33: multiple definition of `GcodeSuite::M20()'; .pio/build/LPC1768/src/src/gcode/sdcard/M20-M30_M32-M34_M524_M928.cpp.o:c:\3dprinter\BIGTREETECH-SKR-V1.3-master\firmware\Marlin-bugfix-2.0.x/Marlin\src\gcode\sdcard\../parser.h:133: first defined here
c:/users/systadmin/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/LPC1768/src/src/gcode/sdcard/M21_M22.cpp.o: in function `GcodeSuite::M21()':
c:\3dprinter\BIGTREETECH-SKR-V1.3-master\firmware\Marlin-bugfix-2.0.x/Marlin\src\gcode\sdcard/M21_M22.cpp:33: multiple definition of `GcodeSuite::M21()'; .pio/build/LPC1768/src/src/gcode/sdcard/M20-M30_M32-M34_M524_M928.cpp.o:c:\3dprinter\BIGTREETECH-SKR-V1.3-master\firmware\Marlin-bugfix-2.0.x/Marlin\src\gcode\sdcard\../parser.h:102: first defined here
c:/users/systadmin/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/LPC1768/src/src/gcode/sdcard/M21_M22.cpp.o: in function `GcodeSuite::M22()':
c:\3dprinter\BIGTREETECH-SKR-V1.3-master\firmware\Marlin-bugfix-2.0.x/Marlin\src\gcode\sdcard/M21_M22.cpp:38: multiple definition of `GcodeSuite::M22()'; .pio/build/LPC1768/src/src/gcode/sdcard/M20-M30_M32-M34_M524_M928.cpp.o:c:\3dprinter\BIGTREETECH-SKR-V1.3-master\firmware\Marlin-bugfix-2.0.x/Marlin\src\gcode\sdcard\../parser.h:102: first defined here
c:/users/systadmin/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/LPC1768/src/src/gcode/sdcard/M23.cpp.o: in function `GcodeSuite::M23()':
c:\3dprinter\BIGTREETECH-SKR-V1.3-master\firmware\Marlin-bugfix-2.0.x/Marlin\src\gcode\sdcard/M23.cpp:38: multiple definition of `GcodeSuite::M23()'; .pio/build/LPC1768/src/src/gcode/sdcard/M20-M30_M32-M34_M524_M928.cpp.o:c:\3dprinter\BIGTREETECH-SKR-V1.3-master\firmware\Marlin-bugfix-2.0.x/Marlin\src\gcode\sdcard\../parser.h:102: first defined here
c:/users/systadmin/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/LPC1768/src/src/gcode/sdcard/M24_M25.cpp.o: in function `GcodeSuite::M24()':
c:\3dprinter\BIGTREETECH-SKR-V1.3-master\firmware\Marlin-bugfix-2.0.x/Marlin\src\gcode\sdcard/M24_M25.cpp:44: multiple definition of `GcodeSuite::M24()'; .pio/build/LPC1768/src/src/gcode/sdcard/M20-M30_M32-M34_M524_M928.cpp.o:c:\3dprinter\BIGTREETECH-SKR-V1.3-master\firmware\Marlin-bugfix-2.0.x/Marlin\src\gcode\sdcard\../parser.h:102: first defined here
c:/users/systadmin/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/LPC1768/src/src/gcode/sdcard/M24_M25.cpp.o: in function `GcodeSuite::M25()':
c:\3dprinter\BIGTREETECH-SKR-V1.3-master\firmware\Marlin-bugfix-2.0.x/Marlin\src\gcode\sdcard/M24_M25.cpp:82: multiple definition of `GcodeSuite::M25()'; .pio/build/LPC1768/src/src/gcode/sdcard/M20-M30_M32-M34_M524_M928.cpp.o:c:\3dprinter\BIGTREETECH-SKR-V1.3-master\firmware\Marlin-bugfix-2.0.x/Marlin\src\gcode\sdcard/M20-M30_M32-M34_M524_M928.cpp:121: first defined here
c:/users/systadmin/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/LPC1768/src/src/gcode/sdcard/M26.cpp.o: in function `GcodeSuite::M26()':
c:\3dprinter\BIGTREETECH-SKR-V1.3-master\firmware\Marlin-bugfix-2.0.x/Marlin\src\gcode\sdcard/M26.cpp:33: multiple definition of `GcodeSuite::M26()'; .pio/build/LPC1768/src/src/gcode/sdcard/M20-M30_M32-M34_M524_M928.cpp.o:c:\3dprinter\BIGTREETECH-SKR-V1.3-master\firmware\Marlin-bugfix-2.0.x/Marlin\src\gcode\sdcard/M20-M30_M32-M34_M524_M928.cpp:148: first defined here
c:/users/systadmin/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/LPC1768/src/src/gcode/sdcard/M27.cpp.o: in function `GcodeSuite::M27()':
c:\3dprinter\BIGTREETECH-SKR-V1.3-master\firmware\Marlin-bugfix-2.0.x/Marlin\src\gcode\sdcard/M27.cpp:35: multiple definition of `GcodeSuite::M27()'; .pio/build/LPC1768/src/src/gcode/sdcard/M20-M30_M32-M34_M524_M928.cpp.o:c:\3dprinter\BIGTREETECH-SKR-V1.3-master\firmware\Marlin-bugfix-2.0.x/Marlin\src\gcode\sdcard/M20-M30_M32-M34_M524_M928.cpp:158: first defined here
c:/users/systadmin/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/LPC1768/src/src/gcode/sdcard/M28_M29.cpp.o: in function `GcodeSuite::M28()':
c:\3dprinter\BIGTREETECH-SKR-V1.3-master\firmware\Marlin-bugfix-2.0.x/Marlin\src\gcode\sdcard/M28_M29.cpp:61: multiple definition of `GcodeSuite::M28()'; .pio/build/LPC1768/src/src/gcode/sdcard/M20-M30_M32-M34_M524_M928.cpp.o:c:\3dprinter\BIGTREETECH-SKR-V1.3-master\firmware\Marlin-bugfix-2.0.x/Marlin\src\gcode\sdcard/M20-M30_M32-M34_M524_M928.cpp:203: first defined here
c:/users/systadmin/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/LPC1768/src/src/gcode/sdcard/M28_M29.cpp.o: in function `GcodeSuite::M29()':
c:\3dprinter\BIGTREETECH-SKR-V1.3-master\firmware\Marlin-bugfix-2.0.x/Marlin\src\gcode\sdcard/M28_M29.cpp:71: multiple definition of `GcodeSuite::M29()'; .pio/build/LPC1768/src/src/gcode/sdcard/M20-M30_M32-M34_M524_M928.cpp.o:c:\3dprinter\BIGTREETECH-SKR-V1.3-master\firmware\Marlin-bugfix-2.0.x/Marlin\src\gcode\sdcard/M20-M30_M32-M34_M524_M928.cpp:213: first defined here
c:/users/systadmin/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/LPC1768/src/src/gcode/sdcard/M30.cpp.o: in function `GcodeSuite::M30()':
c:\3dprinter\BIGTREETECH-SKR-V1.3-master\firmware\Marlin-bugfix-2.0.x/Marlin\src\gcode\sdcard/M30.cpp:33: multiple definition of `GcodeSuite::M30()'; .pio/build/LPC1768/src/src/gcode/sdcard/M20-M30_M32-M34_M524_M928.cpp.o:c:\3dprinter\BIGTREETECH-SKR-V1.3-master\firmware\Marlin-bugfix-2.0.x/Marlin\src\gcode\sdcard/M20-M30_M32-M34_M524_M928.cpp:219: first defined here
c:/users/systadmin/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/LPC1768/src/src/gcode/sdcard/M32.cpp.o: in function `GCodeParser::has_value()':
c:\3dprinter\BIGTREETECH-SKR-V1.3-master\firmware\Marlin-bugfix-2.0.x/Marlin\src\gcode\sdcard/M32.cpp:42: multiple definition of `GcodeSuite::M32()'; .pio/build/LPC1768/src/src/gcode/sdcard/M20-M30_M32-M34_M524_M928.cpp.o:c:\3dprinter\BIGTREETECH-SKR-V1.3-master\firmware\Marlin-bugfix-2.0.x/Marlin\src\gcode\sdcard/M20-M30_M32-M34_M524_M928.cpp:236: first defined here
c:/users/systadmin/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/LPC1768/src/src/gcode/sdcard/M524.cpp.o: in function `GcodeSuite::M524()':
c:\3dprinter\BIGTREETECH-SKR-V1.3-master\firmware\Marlin-bugfix-2.0.x/Marlin\src\gcode\sdcard/M524.cpp:35: multiple definition of `GcodeSuite::M524()'; .pio/build/LPC1768/src/src/gcode/sdcard/M20-M30_M32-M34_M524_M928.cpp.o:c:\3dprinter\BIGTREETECH-SKR-V1.3-master\firmware\Marlin-bugfix-2.0.x/Marlin\src\gcode\sdcard/M20-M30_M32-M34_M524_M928.cpp:293: first defined here
c:/users/systadmin/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/LPC1768/src/src/gcode/sdcard/M928.cpp.o: in function `GcodeSuite::M928()':
c:\3dprinter\BIGTREETECH-SKR-V1.3-master\firmware\Marlin-bugfix-2.0.x/Marlin\src\gcode\sdcard/M928.cpp:35: multiple definition of `GcodeSuite::M928()'; .pio/build/LPC1768/src/src/gcode/sdcard/M20-M30_M32-M34_M524_M928.cpp.o:c:\3dprinter\BIGTREETECH-SKR-V1.3-master\firmware\Marlin-bugfix-2.0.x/Marlin\src\gcode\sdcard/M20-M30_M32-M34_M524_M928.cpp:300: first defined here
c:/users/systadmin/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/LPC1768/src/src/lcd/menu/menu_sdcard.cpp.o: in function `lcd_sd_updir()':
c:\3dprinter\BIGTREETECH-SKR-V1.3-master\firmware\Marlin-bugfix-2.0.x/Marlin\src\lcd\menu/menu_sdcard.cpp:41: multiple definition of `lcd_sd_updir()'; .pio/build/LPC1768/src/src/lcd/menu/menu_media.cpp.o:c:\3dprinter\BIGTREETECH-SKR-V1.3-master\firmware\Marlin-bugfix-2.0.x/Marlin\src\lcd\menu/menu_media.cpp:41: first defined here
collect2.exe: error: ld returned 1 exit status
*** [.pio\build\LPC1768\firmware.elf] Error 1
============================================================================ [ERROR] Took 10.04 seconds ============================================================================

==================================================================================== [SUMMARY] ====================================================================================
Environment megaatmega2560 [IGNORED]
Environment megaatmega1280 [IGNORED]
Environment at90usb1286_cdc [IGNORED]
Environment at90usb1286_dfu [IGNORED]
Environment DUE [IGNORED]
Environment DUE_USB [IGNORED]
Environment DUE_debug [IGNORED]
Environment LPC1768 [FAILED]
Environment LPC1769 [IGNORED]
Environment melzi [IGNORED]
Environment melzi_optiboot [IGNORED]
Environment rambo [IGNORED]
Environment sanguino_atmega644p [IGNORED]
Environment sanguino_atmega1284p [IGNORED]
Environment STM32F1 [IGNORED]
Environment fysetc_STM32F1 [IGNORED]
Environment BIGTREE_SKR_MINI [IGNORED]
Environment STM32F4 [IGNORED]
Environment STM32F7 [IGNORED]
Environment ARMED [IGNORED]
Environment alfawise_U20 [IGNORED]
Environment mks_robin [IGNORED]
Environment mks_robin_lite [IGNORED]
Environment mks_robin_mini [IGNORED]
Environment mks_robin_nano [IGNORED]
Environment jgaurora_a5s_a1 [IGNORED]
Environment black_stm32f407ve [IGNORED]
Environment BIGTREE_SKR_PRO [IGNORED]
Environment BIGTREE_BTT002 [IGNORED]
Environment teensy31 [IGNORED]
Environment teensy35 [IGNORED]
Environment malyanm200 [IGNORED]
Environment esp32 [IGNORED]
Environment fysetc_f6_13 [IGNORED]
Environment linux_native [IGNORED]
Environment adafruit_grandcentral_m4 [IGNORED]
====================================================================== 1 failed, 0 succeeded in 10.15 seconds ======================================================================
The terminal process terminated with exit code: 1

Second serial port

$
0
0
Hello all
Just on a bit of a steep learning curve here, but getting there.

Have a Rambo 1.4 with Marling loaded.
Board is plugged into a laptop for the software, and has an LCD plugged into the board as well.

I want to add a remote, but all the ones I have found utilise the USB to the laptop.
I see a second serial port is commented out in the Marlin software. How do you configure this?

If I enable that serial port (although efforts so far have not worked), would I be able to have a second serial comm link to the Rambo? Or is that not how it works?

Ideally, I need to be able to retrieve X,Y and Z data, and also send G code.

Any other suggestions on how I could achieve a second serial communications avenue?

Thanks

Re: Second serial port

$
0
0
I have a AT Mega 2560 Arduino, though this information should be valid for all 3D Printers.

When our 3D Printer was moved away from my computers.
I found that a Raspberry Pi running OctoPrint was all I needed to be able to control all my devices two 3D Printers and a CNC from any distance.
With a web cam connected you can view the current status of any machine, and could preform an emergency shutdown if needed.
The Raspberry Pi is connect to my local gigabit network for ultimate performance.

I would suggest looking into OctoPrint.

BTT SKR1.3+BTT TMC2209 sound and vibration issue:S

$
0
0
I have very strange issue with my new SKR 1.3 board and TMC2209 from BBT. Please see attached video with sound ON.

Video: [youtu.be]

StealthChop working in veeery strange way. Terrible vibrations and noise. If I change TMC mode to SpreadCycle, everything became almost normal, but there is still some minor vibrations and flow instability, as result outer walls are not smooth.

Only if I change speed to very low - less then 5 mm\s sound is disappearing.
2209 in UART mode. M122 output below. Latest Marlin 2.0 from git.

Really need some help here. I'm out of ideas T_T Something is really wrong here.

Already tried to change:
MINIMUM_STEPPER_PULSE - no effect
MINIMUM_STEPPER_POST/PRE_DIR_DELAY - no effect
ADAPTIVE_STEP_SMOOTHING - no effect
SQUARE_WAVE_STEPPING - no effect
Latest BTT TMC libraries - no effect
Steps per mm - no effect
Current - 600, 900, 1200 - no effect
LA - no effect

Conf: [pastebin.com]
Conf_adv: [pastebin.com]
M122 output: [pastebin.com]

Re: Marlin 2.0.X Bugfix Platformio error compilation

$
0
0
delete the directory you put marlin in and start again...

It looks like you have extracted multiple version into one directory duplicating lots of code.

Re: Second serial port

$
0
0
On the mega2560 based controller the serial ports are hardware ports on the chip.
These are all 5v logic serial ports. Serial 0 is connected to a serial to usb chip so you can plug it into usb.

You would need to identify the serial port pins on your board,
trace where they go to currently (as most are likely used as i/o lines for something else)
move any critical pins to other pins to free up the 2 serial pins.
Attach a usb/serial convert to the new serial port.

Then enable the second serial port in marlin

Re: BTT SKR1.3+BTT TMC2209 sound and vibration issue:S


Re: Marlin 2.0.X Bugfix Platformio error compilation

$
0
0
ALso it looks like your trying to use the bigtree version of marlin

that is 4 months out of date. use the official marlin from [github.com]

There have been lots of bugs fixed since the bigtree version

Re: out of bounds when G29

$
0
0
After having a very nice talk on the marlin discord, this is what happened [github.com]

Just in case anyone is searching for this in the future :)

Re: Second serial port

$
0
0
I think all the serial ports are broken-out already on the Rambo board (by the looks of the circuit diagram anyway). Although one must be used for the LCD screen.
My question I suppose is, if you enabled a second serial port in Marlin, will it actually be pre-programmed to do anything?
Enabling it is one thing, but it being coded to achieve anything is another. I almost need it to be a carbon copy of the standard USB serial (which I doubt it is, as that would introduce conflicts).

I was trying to make a remote that didn't need the laptop fired up to operate. I hate the LCD screen.

I have dumped my Marlin code onto a spare 2560p, and will play around with that. Rather than slip and kill my CNC Rambo board.

Re: out of bounds when G29

$
0
0
I was having the same issues with a Delta. But in the Delta config they clearly state that some values have to be floating point values and not integers. So, if I correctly understand your issue, and the fix, is that the min probe edge has to be a floating point value as well?

Re: Marlin 2.0 wont start with warm headbed

$
0
0
I fixed it like Dust wrote it. It was easy to fix.

-CLOSED-
Viewing all 12089 articles
Browse latest View live


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