Show all posts by user
For testing and basic control use pronterface/printrun
once you can send gcode commands to your printer
send M115 to get some basic information
then M503 to get a lot of the machines settings
by
Dust
-
Reprappers
The bed thermistor wires are probably shorted together (very easy to do at the thermistor end)
The temperature sensor is a thermistor, which is just a resistor that changes resistance with temperature
It has a negative temperature coefficient, which means that the higher the temperature, the lower resistance it has.
A short would read maximum temperature
unplugging the bed thermistor should ma
by
Dust
-
Reprappers
Every time someone adds new code to marlin a large number of test build are done automatically.
This includes two different builds for the mks tinybee see for details.
Issue is on your computer
delete your C:\Users\ASUS-PLUS\.platformio directory and restart vscode to reinstall platformio from scratch (give it time to download everything it needs from the internet, do not reboot or restart ti
by
Dust
-
Firmware - Marlin
Additional driver are used sequentially
I then H then K then U then V then W
These are the internal names used by marlin
So you setup I axis, then you name it U (with AXIS4_NAME) for your gcode if that is what you want
These are all the changes from your provided config files
diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h
index 20802a2839..2004334dab 100644
--- a/Marlin/Confi
by
Dust
-
Developers
you have already fixed it, not sure what your asking...
pin32 is PC5 on the chip, the mks gen l does not break this pin out. so you should not disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN on this controller
by
Dust
-
Developers
Platformio does not like something in your path to the Marlin source
often non English characters or spaces or ' charater in the path will confuse platformio.
by
Dust
-
Firmware - Marlin
Marlin already has a cooler function, but it does not use pid, it uses a simple hysteresis loop.
Marlin is community driven, there a very few actual plans, someone wants something and has the skills to add it simply adds it
by
Dust
-
Developers
It was renamed.
#elif defined(X_PROBE_OFFSET_FROM_EXTRUDER) || defined(Y_PROBE_OFFSET_FROM_EXTRUDER) || defined(Z_PROBE_OFFSET_FROM_EXTRUDER)
#error "_PROBE_OFFSET_FROM_EXTRUDER is now NOZZLE_TO_PROBE_OFFSET."
Z Not moving at all is generally your config has told marlin to look in at the wrong port.
If probe is plugged into the 5 pin probe port you need this in your configuration.h
//#defi
by
Dust
-
Firmware - Marlin
covert voltages 0-5v to adc values 0-1023 ie voltage * (1023/5) and round the results to nearest Integer
eg
constexpr temp_entry_t temptable_1[] PROGMEM = {
{ OV( 130 ), 70 },
{ OV( 161 ), 65 },
{ OV( 192 ), 60 },
{ OV( 223 ), 50 },
{ OV( 285 ), 45 },
{ OV( 318 ), 40 },
{ OV( 356 ), 35 },
{ OV( 393 ), 30 },
{ OV( 435 ), 25 },
{ OV( 495 ), 20 },
{ OV( 589 ), 15 },
{ OV( 633 )
by
Dust
-
Developers
You need to research your board...
Note: Controllable fan: 1, Uncontrollable fans: 3
There is no software control over fan 3
There are very few free pin on this board that are broken out
So what things are you not using?
for eg if your not using Extruder 2, there are 3 IO lines you can get access to there...
by
Dust
-
General
You need to generate your own thermistor table
Use the script buildroot/share/scripts/createTemperatureLookupMarlin.py
by
Dust
-
Developers
a) pio check "Perform static analysis check on PlatformIO based project. By default Cppcheck analysis tool is used."
this has nothing to do with building the firmware normally.
Most of these static analysis tools are not up to the task of doing anything useful in marlin
use pio run, or even better use vscode as a gui.
b) no one uses Arduino IDE any more, its slow and painful and you have
by
Dust
-
Firmware - Marlin
You don't choose RSENSE
RSENSE is a physical resistor on your stepper drivers
For example, if you have BIGTREETECH-TMC2208-V3.0 you look at the circuit diagram
This shows the rsense resistors are 0.11
The SL42STH40-1684A are listed as 1.8A stepper motors.
This is probably a PEAK value and we need RMS so we multiply it by 0.707
1800 x 0.707 = 1272.6 is your absolute max
I prefer not to e
by
Dust
-
Firmware - Marlin
your using tmc2208, but all the tmc setting are the defaults
eg for X you have
#define X_CURRENT 800 // (mA) RMS current. Multiply by 1.414 for peak current.
#define X_RSENSE 0.11 // Multiplied x1000 for TMC26X
are these actually correct for your machine?
The rsense value is dependent on your stepper drivers
the current is dependent on your stepper motors
by
Dust
-
Firmware - Marlin
the bottom characters are the websire URL
Its hidden away to discourage you changing it to a 3rd party website
You simply edit #define MARLIN_WEBSITE_URL "marlinfw.org" in Marlin/src/core/language.h
eg
by
Dust
-
Firmware - Marlin
3) Its a serial port, -1
In Configuration.h you have to have
one of these SERIAL_PORT , SERIAL_PORT_2 or SERIAL_PORT_3 set to -1
by
Dust
-
Firmware - Marlin
You look in Boards.h
You fine the line
#define BOARD_MKS_ROBIN_NANO_V3_1 5228 // MKS Robin Nano V3.1 (STM32F407VE)
by
Dust
-
Firmware - Marlin
Marlin does as it is told via gcodes
You would need to write a program to generate the required sequence of gcodes
by
Dust
-
Firmware - Marlin
Is one of those scatter gun users
Has posted to this github, and marlin discord, and probably other places too
Is being answered on discord.
by
Dust
-
Firmware - Marlin
was renamed in newer code
#error "Z_HOMING_HEIGHT is now Z_CLEARANCE_FOR_HOMING."
by
Dust
-
Firmware - Marlin
from current pins_ANET_10.h (you might have older code, I only added this graphic to bugfix 2 weeks ago)
/**
* Connector pinouts
*
* ------ ------ ----
* (SDA) D17 | 1 2 | (A1) D30 3V3 | 1 2 | D4 (SS) J3_RX |1 2| J3_TX
* (SCL) D16 | 3 4 | (A2) D29 GND | 3 4 | RESET (TXO
by
Dust
-
Prusa i3 and variants
Use a serial program such as vscode serial monitor
Make sure to send M503 in uppercase without making typos (pronterface automatically turns the input into uppercase for you)
Also how old is your pronterface? Perhaps it needs updating
by
Dust
-
Firmware - Marlin
No such thing as marlin 2.17
List of all marlin versions so far
1.0.0-beta
1.0.1
1.0.2
1.0.2-1
1.0.2-2
1.0.2-3
1.1.0
1.1.0-RC1
1.1.0-RC2
1.1.0-RC3
1.1.0-RC4
1.1.0-RC5
1.1.0-RC6
1.1.0-RC7
1.1.0-RC8
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.1.8
1.1.9
1.1.9.1
1.1.9.2
2.0.0
2.0.0.1
2.0.1
2.0.1.1
2.0.2
2.0.2.1
2.0.3
2.0.3.1
2.0.4
2.0.4.1
2.0.4.2
2.0.4.3
2.0.4.4
2.0.4.5
2.0.5
2.0.5.1
2.0.5.2
2.0.5
by
Dust
-
Firmware - Marlin
Your all over the place.
1) vscode does not look at or use the makefile, that is for make via command line. (which is not well maintained, as very very few use it)
2) this board is using -Os
you can override it by editing ini/stm32f1.ini
In section
eg
extends = common_stm32
board = malyanm200_f103cb
build_flags = ${common_stm32.build_flags} -O0
by
Dust
-
Firmware - Marlin
Provided configs work as expected, so issue is with your machine
delete directory "C:\Users\venca\.platformio" and restart vscode, this will reinstall platformio from scratch, give it time to download all it needs, dont reboot before it is done.
by
Dust
-
Firmware - Marlin
Himm, seem that line has not been updated in 2.1.2.1
In Marlin/src/lcd/language/language_en.h
2.1.2.1 has
LSTR MSG_LCD_SOFT_ENDSTOPS = _UxGT("Soft Endstops");
LSTR MSG_MAIN = _UxGT("Main");
change it to
LSTR MSG_LCD_SOFT_ENDSTOPS = _UxGT("Soft Endstops");
LSTR MSG_MAIN_MENU = _UxGT("Main Menu");
by
Dust
-
Firmware - Marlin
I then verified that vscode/platformio can upload, I used environemnt melzi_optiboot_optimized
It uploaded code fine.
Executing task: platformio run --target upload
Processing melzi_optiboot_optimized (board: sanguino_atmega1284p; platform: atmelavr@~4.0.1; framework: arduino)
--------------------------------------------------------------------------------------------------------------------
by
Dust
-
Firmware - Marlin
As I asked before what programmer are you using?
My programmer does not provide 5v power to the board. So I also have to have the USB plugged into power (to save serial port confusion I use a usb power bank, not the computer)
Are you getting a the blue power LED on the control board while your trying to flash?
by
Dust
-
Firmware - Marlin