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

Re: PlatformIO compile error

$
0
0
Using your config files I cannot replicate this issue on current bugfix.

compare the start of compile to this

PLATFORM: Atmel AVR (2.2.0) > Arduino Mega or Mega 2560 ATmega2560 (Mega 2560)
HARDWARE: ATMEGA2560 16MHz, 8KB RAM, 248KB Flash
DEBUG: Current (simavr) On-board (simavr)
PACKAGES: 
 - framework-arduino-avr 5.0.0 
 - toolchain-atmelavr 1.50400.190710 (5.4.0)
Converting Marlin.ino
LDF: Library Dependency Finder -> [bit.ly]
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 10 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <U8glib-HAL> 0.4.1
|   |-- <Wire> 1.0
|   |-- <SPI> 1.0
|-- <Wire> 1.0
|-- <SPI> 1.0
|-- <EEPROM> 2.0
|-- <SoftwareSerial> 1.0
Building in release mode

Re: driver DM542Y - Configurare Marlin

$
0
0
Thanks for the reply.
your procedure is certainly the most correct.
I solved with a little luck in the following way:

1) I set the TB6600 as stepper driver
#define E0_DRIVER_TYPE TB6600
2) I used the pins near the driver soket (EN DIR STP GND)
connecting them to the driver in the following way:
stp> PU +
gnd> PU-
Dir> DR +
gnd> DR-
en> MF +
gnd> MF-

for now it seems to work well, I don't have any problems with loss of step or other anomalies. When I have finished assembling the printer I will try to extrude the clay, and if I find anomalies I will try the settings you suggest.

thank you so much

Re: driver DM542Y - Configurare Marlin

$
0
0
Thanks for the reply.
your procedure is certainly the most correct.
I solved with a little luck in the following way:

1) I set the TB6600 as stepper driver
#define E0_DRIVER_TYPE TB6600
2) I used the pins near the driver soket (EN DIR STP GND)
connecting them to the driver in the following way:
stp> PU +
gnd> PU-
Dir> DR +
gnd> DR-
en> MF +
gnd> MF-

for now it seems to work well, I don't have any problems with loss of pace or other anomalies. When I have finished assembling the printer I will try to extrude the clay, and if I find anomalies I will try the settings you suggest.

thank you so much

cant verify marlin 2.0.x to arduino Due

$
0
0
as the title says i cant verify marlin 2.0.x to a arduino Due

[github.com] here it says it supports the due.


DUE version 1.6.12
on the Arduino IDE (1.8.13) i keep getting the error

Arduino:1.8.13 (Windows Store 1.8.42.0) (Windows 10), Board:"Arduino Due (Programming Port)"


In file included from sketch\src\inc/../pins/pins.h:71:0,

                 from sketch\src\inc/MarlinConfig.h:32,

                 from sketch\src\MarlinCore.h:24,

                 from sketch\src\MarlinCore.cpp:31:

sketch\src\inc/../pins/ramps/pins_RAMPS.h:56:6: error: #error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"

     #error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"

      ^

In file included from sketch\src\HAL\DUE\../../core/../inc/../pins/pins.h:71:0,

                 from sketch\src\HAL\DUE\../../core/../inc/MarlinConfig.h:32,

                 from sketch\src\HAL\DUE\../../core/serial.h:24,

                 from sketch\src\HAL\DUE\DebugMonitor.cpp:25:

sketch\src\HAL\DUE\../../core/../inc/../pins/ramps/pins_RAMPS.h:56:6: error: #error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"

     #error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"

      ^

In file included from sketch\src\HAL\DUE\../../inc/../pins/pins.h:71:0,

                 from sketch\src\HAL\DUE\../../inc/MarlinConfig.h:32,

                 from sketch\src\HAL\DUE\HAL.cpp:29:

sketch\src\HAL\DUE\../../inc/../pins/ramps/pins_RAMPS.h:56:6: error: #error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"

     #error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"

      ^

In file included from sketch\src\HAL\DUE\../../inc/../pins/pins.h:71:0,

                 from sketch\src\HAL\DUE\../../inc/MarlinConfig.h:32,

                 from sketch\src\HAL\DUE\HAL_SPI.cpp:40:

sketch\src\HAL\DUE\../../inc/../pins/ramps/pins_RAMPS.h:56:6: error: #error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"

     #error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"

      ^

In file included from sketch\src\HAL\DUE\../../inc/../pins/pins.h:71:0,

                 from sketch\src\HAL\DUE\../../inc/MarlinConfig.h:32,

                 from sketch\src\HAL\DUE\MarlinSerial.cpp:30:

sketch\src\HAL\DUE\../../inc/../pins/ramps/pins_RAMPS.h:56:6: error: #error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"

     #error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"

      ^

In file included from sketch\src\HAL\DUE\../../inc/../pins/pins.h:71:0,

                 from sketch\src\HAL\DUE\../../inc/MarlinConfig.h:32,

                 from sketch\src\HAL\DUE\InterruptVectors.cpp:35:

sketch\src\HAL\DUE\../../inc/../pins/ramps/pins_RAMPS.h:56:6: error: #error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"

     #error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"

      ^

In file included from sketch\src\HAL\DUE\../../inc/../pins/pins.h:71:0,

                 from sketch\src\HAL\DUE\../../inc/MarlinConfig.h:32,

                 from sketch\src\HAL\DUE\MarlinSerialUSB.cpp:30:

sketch\src\HAL\DUE\../../inc/../pins/ramps/pins_RAMPS.h:56:6: error: #error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"

     #error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"

      ^

In file included from sketch\src\HAL\DUE\../../inc/../pins/pins.h:71:0,

                 from sketch\src\HAL\DUE\../../inc/MarlinConfig.h:32,

                 from sketch\src\HAL\DUE\Servo.cpp:43:

sketch\src\HAL\DUE\../../inc/../pins/ramps/pins_RAMPS.h:56:6: error: #error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"

     #error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"

      ^

In file included from sketch\src\HAL\DUE\../../inc/../pins/pins.h:71:0,

                 from sketch\src\HAL\DUE\../../inc/MarlinConfig.h:32,

                 from sketch\src\HAL\DUE\Tone.cpp:32:

sketch\src\HAL\DUE\../../inc/../pins/ramps/pins_RAMPS.h:56:6: error: #error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"

     #error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"

      ^

exit status 1

Fout bij het compileren voor board Arduino Due (Programming Port)



Dit rapport zou meer informatie bevatten met
"Uitgebreide uitvoer weergeven tijden compilatie"
optie aan in Bestand -> Voorkeuren.

Re: cant verify marlin 2.0.x to arduino Due

$
0
0
First of all, the Arduino in the Windows Store is very buggy and is known to cause issues building Marlin. If you do want to continue using Arduino to compile Marlin (no longer recommended) you should download the standalone Arduino from arduino.cc.

A better option is to switch to using VSCode + PlatformIO as described in [marlinfw.org] - Arduino has severe limitations that the Marlin code base is running against.

However, it looks like your main issue is that you selected BOARD_RAMPS_14_* as your MOTHERBOARD, instead of the matching BOARD_RAMPS4DUE_*.

Re: cant verify marlin 2.0.x to arduino Due

$
0
0
sorry and nevermind after some searching i found it out, but its not realy clear if you ask me.

i used platformIO and pffff that also took me a while.
and i didnt know you need to select the correct MOTHERBOARD, wasnt clear at all!
i dont have a RAMPS board thats why i wasnt paying attention to the Motherboard and the stepper drivers i have run fine on 3.3v
i use arduino for many years now and i though that just selecting the DUE it would upload the code for the DUE.


oww thanks!!! about the fact you pointed about the Windows store IDE thats the reason why it runs so crappy.

Re: PlatformIO compile error

$
0
0
You can download the current version from the github and replace the 2 files attached.
[github.com]

Re: Experimental MAX31865 on Marlin

$
0
0
how would i install one with marlin 2.x.x on skr pro 1.4 turbo with tmc2209s ?

:(error: request for member 'print' in '3', which is of non-class type 'int':(

$
0
0
So as you can see VSCode says NO FIRMWARE FOR YOU ! And shoots me out some computer mumbojumbo I dont understand lol
I need serious help I've been at it for 4 months and everywhere I ask either goes unseen or nobody has a clue of how to remedy this.
I have a SKR Pro v1.1 with TMC2209's I planned on using in my Chiron with its stock LCD but yah I've yet to do so. It does have pretty lights on the board tho..lol
If someone can help me please that would be great !! I've attached my config files and a screenshot of the errors. And will post anything else you may need
Thank You !

Re: :(error: request for member 'print' in '3', which is of non-class type 'int':(

$
0
0
I'm not surprised...

No one has put this display on anything other than a AVR based controller.

There is simply no code in marlin for the ANYCUBIC_LCD_CHIRON on any other platforms, including the BTT_SKR_PRO_V1_1 (STM32F407ZGT6)

(its mostly missing serial port definitions)

Also a minor thing, you have "#define Z_DRIVER_TYPE ATMC2209" with a extra A

Re: :(error: request for member 'print' in '3', which is of non-class type 'int':(

$
0
0
Ok, I was bored, and I have it compiling on bugfix.

NB I have no way to test this at all! I make no promises it will or will not do anything.

grab a copy of my modified bugfix here [github.com]

you can see the changes I made at this URL [github.com]

Config files are the Config files you provided. (with the extra A removed)

you need to check/update the #define BEEPER_PIN PG4 I had to add to the pins_BTT_SKR_PRO_common.h file.

Re: :(error: request for member 'print' in '3', which is of non-class type 'int':(

$
0
0
WOW your awesome thank you !! I will give this a try right now & letcha know how I make out.

EDIT Your a freakin WIZARD !! It compiled 1st try how on earth !? Where did you find the problem ? I'm going to load this to the board right now before I jinx myself
Thank You !!!

Re: :(error: request for member 'print' in '3', which is of non-class type 'int':(

$
0
0
The Marlin/src/HAL/STM32/HAL.h (the hardware abstraction layer, this allows marlin to work on many different MPU's) didn't have the code required to setup the ANYCUBIC_LCD_SERIAL port needed by the rest of the code.

I just copied the basic setup from the AVR/HAL.h and modified it to work with the way stm32 sets ups serial ports.

Re: :(error: request for member 'print' in '3', which is of non-class type 'int':(

$
0
0
Well it compiled and I flashed it to the board but the lcd is blank tho the backlight is lit. So I'm guessing its because it needs to be flashed with different firmware as well ? Or maybe I dont have it connected properly which is what I'm guessing lol
Thanks again !

Re: :(error: request for member 'print' in '3', which is of non-class type 'int':(

$
0
0
From what I see its just serial so it needs to be connected to the serial pins

On your controller you have a TFT plug, I presume you have the tft plugged in there?
In which case you need to update the ANYCUBIC_LCD_SERIAL_PORT to 1

you currently have #define ANYCUBIC_LCD_SERIAL_PORT 3 you need #define ANYCUBIC_LCD_SERIAL_PORT 1

you also need to to change #define SERIAL_PORT 1 to #define SERIAL_PORT -1
and disable #define SERIAL_PORT_2 -1 by making it //#define SERIAL_PORT_2 -1

VSCode Setup & Installation for Ramps

$
0
0
I am ready to start the installation of VSCode / PlatformIO venture again!

The first time I installed VSCode / PlatformIO was having problems problems with installing Visual Studio 2017-2019 as the windows registry somehow got really corrupted.
After many windows backups restores determined the the registry had somehow been corrupted about 2 years ago I restored a older version of my Windows 7 Pro.
Have a program that the company has changed owners and therefore will not allow me to reload with all plugins without repurchasing a newer more expensive version.
The previously restored version of Windows 7 Pro has this program plus plugins enact or would re-installed the Windows 10 ver-2004 from scratch.
Have been working on my windows 7 and Windows 10 and all loaded programs for weeks now. Wanted to rebuild my broken registry Windows 7 for Backup.

Would like to install this correctly the first time, when it was installed first time only compile one time them had problems every time after that.
This could have been for many reasons, including the corrupted registry. Though after weeks of restoring would like a finish.

If could learn how to install VSCode / PlatformIO and setup to compile any Marlin 2 from this site should be able to learn from there!!!!!!
Not sure why I am having such big problems with VSCode / PlatformIO for compiling Marlin 2 using Arduino Mega 2560 and Ramps 1.6
Have written programs for many platforms, Operation systems using many computer languages BORLAND, COBOL, FORTRAN ... OMNIS, Visual Studio, to name a few.

Re: VSCode Setup & Installation for Ramps

Re: VSCode Setup & Installation for Ramps

Re: VSCode Setup & Installation for Ramps

$
0
0
Still do not Under Stand


[attachment 116817 VsCode.jpg]

Re: :(error: request for member 'print' in '3', which is of non-class type 'int':(

$
0
0
Yes thats exactly how I have it set up.. So serial port -1 is the TFT connection on the board ? Or do I need to plug the screen into one of the LCD connections beside the TFT connection ?
Thank You !

P.S You wouldnt happen to know how to set up a ESP-01S on these do yah ? I enabled the Marlin built in WiFi and enabled #include & created the Configuration_Secure.h file but PIO cant locate it.
I appreciate your time helping me I Thank You Immensely ! (tu)
Viewing all 12090 articles
Browse latest View live


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