Skip to content

Instantly share code, notes, and snippets.

@arrowcircle
Last active August 7, 2020 16:17
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/d032f2660ad3daf4d349fafc8b122cad to your computer and use it in GitHub Desktop.
Save arrowcircle/d032f2660ad3daf4d349fafc8b122cad to your computer and use it in GitHub Desktop.
; 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 V40 ; physical drive 0 goes forwards using default driver timings
M569 P1 S0 D3 V40 ; physical drive 1 goes forwards using default driver timings
M569 P2 S1 D2 ; physical drive 2 goes forwards using default driver timings
M569 P3 S1 D2 ; 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 E436.54 ; set steps per mm
M566 X900.00 Y900.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z20.00 E250.00 ; set accelerations (mm/s^2)
M906 X800 Y800 Z800 E800 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 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 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
; Fans
M950 F0 C"he1" Q500 ; create fan 0 on pin fan0 and set its frequency. We need he1
M106 P1 T40:85 H1 ; set fan 0 value. Thermostatic control is turned off. Maybe M106 P1 T40:85 H1
; 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 B115200 ; enable support for MKS TFT
SENDING:M122
=== Diagnostics ===
RepRapFirmware for LPC176x based Boards (biquskr_1.4) version 3.1.1-14 running on LPC176x at 120Mhz
Used output buffers: 1 of 16 (16 max)
=== RTOS ===
Static ram: 4516
Dynamic Memory (RTOS Heap 5): 2000 free, 1976 never used
Exception stack ram used: 432
Never used ram: 252
Tasks: NETWORK(blocked,964) HEAT(blocked,1368) MAIN(running,1452) IDLE(ready,80)
Owned mutexes: WiFi(NETWORK)
=== Platform ===
Last reset 00:06:57 ago, cause: [software]
LPC Flash Slot[119]:
Last software reset at 2020-08-07 19:04, reason: User, spinning module GCodes, available RAM 412 bytes (slot 0)
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0042a000 BFAR 0xe000ed38 SP 0x10000d68 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
[ERROR] Error status: 4
Driver 0: standstill, SG min/max 0/332, error r/w 0/1, ifcnt 30, cnt r/w 34581/18, timeout 0, failedOp 0xff
Driver 1: standstill, SG min/max 0/352, error r/w 0/1, ifcnt 30, cnt r/w 34581/18, timeout 0, failedOp 0xff
Driver 2: standstill, SG min/max 0/6, error r/w 1/1, ifcnt 30, cnt r/w 34579/18, timeout 0, failedOp 0xff
Driver 3: standstill, SG min/max 0/0, error r/w 0/1, ifcnt 22, cnt r/w 34588/10, timeout 0, failedOp 0xff
Date/time: 2020-08-07 19:11:51
Slowest loop: 46.25ms; fastest: 0.32ms
Watchdog timer: 7492258/7500000
Step timer: target 290820314 count 417763216 delta -126942902 late 0
USBSerial connected 1
ADC not ready 0 ADC error threshold 10 ADC Init 1
Ints: 208804; Calls 417437; fast: 2uS; slow 23uS adj 0 bad 0 big delta 0
PWM Channels
state 0 next 22432 on 60000(0) off 60000(0) pin 2.4
state 1 next 22432 on 120000(0) off 120000(0) pin 2.5
state 2 next 22432 on 120000(0) off 120000(0) pin 2.7
Delta 22432 Start 0 End 3
=== Storage ===
Free file entries: 4
SD card 0 detected
SD card longest read time 2.2ms, write time 0.0ms, max retries 0
=== Move ===
Hiccups: 0, FreeDm: 100, MinFreeDm: 98, MaxWait: 110048ms
Bed compensation in use: none, comp offset 0.000
=== DDARing ===
Scheduled moves: 24, completed moves: 24, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1
=== Heat ===
Bed heaters = 0, chamberHeaters = -1
=== GCodes ===
Segments left: 0
Movement lock held by null
HTTP is idle in state(s) 0
File is idle in state(s) 0
USB is ready with "M122" 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: 15.19ms; fastest: 0.00ms
Responder states: HTTP(0) 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 26288
WiFi IP address 192.168.2.110
WiFi signal strength -61dBm, reconnections 0, sleep mode modem
Socket states: 0 0
ok T0:27.0 /0.0 B:26.9 /0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment