Skip to content

Instantly share code, notes, and snippets.

@arrowcircle
Last active August 19, 2020 09:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arrowcircle/8f5b879fa5169c1f8e0fceb51f4104bd to your computer and use it in GitHub Desktop.
Save arrowcircle/8f5b879fa5169c1f8e0fceb51f4104bd to your computer and use it in GitHub Desktop.
RRF
; Configuration file for SKR v1.4 (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.1.3-LPC on Sat Jul 18 2020 17:13:34 GMT+0300 (Москва, стандартное время)
; General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"zav3d" ; set printer name
M669 K1 ; select CoreXY mode
; Network
M552 S1 ; enable network and acquire dynamic address via DHCP
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet
; Drives
M569 P0 S0 D3 V30 ; physical drive 0 goes forwards using default driver timings
M569 P1 S0 D3 V30 ; physical drive 1 goes forwards using default driver timings
M569 P2 S1 D3 ; physical drive 2 goes forwards using default driver timings
M569 P3 S1 D3 ; physical drive 3 goes forwards using default driver timings
M584 X0 Y1 Z2 E3 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z1600.00 E426.79 ; set steps per mm
;M915 P0 T30 ; Set tcoolthrs for motor 1
;M915 P1 T30 ; Set tcoolthrs for motor 2
M566 X900.00 Y900.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
M203 X10000.00 Y10000.00 Z600.00 E1200.00 ; set maximum speeds (mm/min)
M201 X2000.00 Y2000.00 Z20.00 E250.00 ; set accelerations (mm/s^2)
M906 X1400 Y1400 Z1000 E1000 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout
; Axis Limits
M208 X0 Y0 Z0 S1 ; set axis minima
M208 X190 Y190 Z209 S0 ; set axis maxima
; Endstops
M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop
M574 Y1 S1 P"ystop" ; configure active-high endstop for low end on Y via pin ystop
M574 Z2 S1 P"zstop" ; configure active-high endstop for high end on Z via pin zstop
; Z-Probe
M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed
M557 X15:180 Y15:180 S20 ; define mesh grid
; Heaters
M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
M950 H0 C"bed" T0 ; create bed heater output on bed and map it to sensor 0
M307 H0 A113.7 C720.9 D0.7 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S120 ; set temperature limit for heater 0 to 120C
M308 S1 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp
M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
M307 H1 A802.4 C184.3 D9.9 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M307 H1 B0 S1.00
; Fans
M950 F0 C"fan0" ; create fan 0 on pin fan0 and set its frequency. We need he1. Old M950 F0 C"fan0" Q500
M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off. Maybe M106 P1 T40:85 H1. Old M106 P0 S0 H-1
M950 F1 C"he1" ; create fan 0 on pin fan0 and set its frequency. We need he1. Old M950 F0 C"fan0" Q500
M106 P1 T40:85 H1 ; set fan 0 value. Thermostatic control is turned off. Maybe M106 P1 T40:85 H1. Old M106 P0 S0 H-1
; Tools
M563 P0 D0 H1 F0 ; define tool 0
G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C
; Custom settings are not defined
; Miscellaneous
M575 P1 S3 B57600 ; enable support for MKS TFT
M555 P2 ; Marlin support for display
T0
M572 D0 S0.15 ; Pressure Advance
M122
=== Diagnostics ===
RepRapFirmware for LPC176x based Boards (biquskr_1.4) version 3.1.1-14 running on LPC176x at 120Mhz
Used output buffers: 3 of 16 (16 max)
=== RTOS ===
Static ram: 4516
Dynamic Memory (RTOS Heap 5): 1664 free, 1640 never used
Exception stack ram used: 480
Never used ram: 204
Tasks: NETWORK(ready,632) HEAT(blocked,1368) MAIN(running,1460) IDLE(ready,80)
Owned mutexes: WiFi(NETWORK)
=== Platform ===
Last reset 00:38:26 ago, cause: [power up][reset button]
LPC Flash Slot[27]:
Last software reset at 2020-08-19 11:35, reason: User, spinning module GCodes, available RAM 228 bytes (slot 0)
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0042a000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN
Stack: 10002fa8 2007c1dc 00010ddd 00000000 0002393f 000000fa 2007da2c 000003e7 00005a2d 20083568
Stack: 10002fa8 00000000 10002fa8 10003b60 00000050 00000001 10003b48 10002fa8 10002fa8 2007da2c
Stack: 000003e7 2007d7a4 00000000
Error status: 4
Driver 0: ok, SG min/max 0/406, error r/w 1/0, ifcnt 18, cnt r/w 62075/18, timeout 0, failedOp 0xff
Driver 1: ok, SG min/max 0/404, error r/w 1/0, ifcnt 18, cnt r/w 62075/18, timeout 0, failedOp 0xff
Driver 2: standstill, SG min/max 0/36, error r/w 1/0, ifcnt 17, cnt r/w 62075/17, timeout 0, failedOp 0xff
Driver 3: ok, SG min/max 0/26, error r/w 0/0, ifcnt 13, cnt r/w 62080/13, timeout 0, failedOp 0xff
Date/time: 2020-08-19 12:13:47
Slowest loop: 200.59ms; fastest: 0.33ms
Watchdog timer: 7492131/7500000
Step timer: target 2306673843 count 2306673510 delta 333 late 0
USBSerial connected 0
ADC not ready 0 ADC error threshold 10 ADC Init 1
Ints: 2197328; Calls 3929166; fast: 3uS; slow 26uS adj 19019 bad 0 big delta 5
PWM Channels
state 0 next 35389 on 60000(1) off 60000(0) pin 2.3
state 1 next 95389 on 120000(1) off 120000(1) pin 2.4
state 2 next 48619 on 46770(1) off 73230(0) pin 2.5
state 3 next 61879 on 33510(1) off 86490(0) pin 2.7
Delta 35389 Start 0 End 4
=== Storage ===
Free file entries: 3
SD card 0 detected
SD card longest read time 42.8ms, write time 18.4ms, max retries 0
=== Move ===
Hiccups: 0, FreeDm: 94, MinFreeDm: 73, MaxWait: 140148ms
Bed compensation in use: none, comp offset 0.000
=== DDARing ===
Scheduled moves: 8244, completed moves: 8227, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: 3
=== Heat ===
Bed heaters = 0, chamberHeaters = -1
Heater 0 is on, I-accum = 0.4
Heater 1 is on, I-accum = 0.3
=== GCodes ===
Segments left: 1
Movement lock held by null
HTTP is idle in state(s) 0
File is doing "G1 F4800 X81.3 Y86.905 E0.20276" in state(s) 0
USB is idle in state(s) 0
Aux is idle in state(s) 0
Trigger is idle in state(s) 0
Queue is idle in state(s) 0
Daemon is idle in state(s) 0
Autopause is idle in state(s) 0
Code queue is empty.
=== Network ===
Slowest loop: 218.76ms; fastest: 0.00ms
Responder states: HTTP(2) HTTP(0)
HTTP sessions: 1 of 2
- WiFi -
Network state is active
WiFi module is connected to access point
Failed messages: pending 0, notready 0, noresp 0
WiFi firmware version 1.23
WiFi MAC address 68:c6:3a:f8:13:0d
WiFi Vcc 2.92, reset reason Unknown
WiFi flash size 4194304, free heap 24632
WiFi IP address 192.168.2.110
WiFi signal strength -55dBm, reconnections 0, sleep mode modem
Socket states: 4 0
M569 P0
Drive 0 runs in reverse, active low enable, step timing fast, mode stealthChop, ccr 0x00053, toff 3, tblank 0, hstart/hend/hdec 5/0/0, pos 917, tpwmthrs 30 (312.5 mm/sec)
M569 P1
Drive 1 runs in reverse, active low enable, step timing fast, mode stealthChop, ccr 0x00053, toff 3, tblank 0, hstart/hend/hdec 5/0/0, pos 750, tpwmthrs 30 (312.5 mm/sec)
M915
Driver 0: stall threshold 1, steps/sec 200, coolstep 0, action: none
Driver 1: stall threshold 1, steps/sec 200, coolstep 0, action: none
Driver 2: stall threshold 1, steps/sec 200, coolstep 0, action: none
Driver 3: stall threshold 1, steps/sec 200, coolstep 0, action: none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment