Willkommen! Anmelden Ein neues Profil erzeugen

Erweiterte Suche

Bigtreetech SKR V2 mit RRF und TMC5160

geschrieben von Kleinz1971 
Bigtreetech SKR V2 mit RRF und TMC5160
08. July 2021 15:00
Hi an alle
Ich habe auf meinem SKRV2 REV B (Vorherwar MArlin 2.0.8.1 drauf ging alles bis auf WIFI on board.) die REPRAP Firmware installiert.
Touchdisplay geht
Endstops gehen
BLToiuch kann ich über M Code M401 und M402 steuern.
Aber meine SPI TMC5160 geben keinen mux von sich
Ich poste hier mal die Board.txt und die config.g
Vieleicht kennt sich ja jemand aus .Ich weiss nicht weiter.
Ich habe die Positionen gesetzt G90 E10 X100 Y100 Z100 (Homing geht ja nicht da keine Achse sich bewegt)
Dann habe ich G1 X10 angegeben und es passiert nix.
Ich kann mit M569 Px auslesen und die Drehrichtung ändern
Ein M122 friert das system ein.
Es kommt die Kopf Meldung

=== Diagnostics ===
RepRapFirmware for STM32F4 based Boards version 3.2.2_2 running on STM32F4
Used output buffers: 2 of 40 (20 max)
=== RTOS ===

dann passiert nix mehr ich muss resetten


Board.txt

// Board Hardware configuration file for BTT SKR-2
// generated by RepRapFirmware Configuration Tool (LPC Version) v3.1.10+4-LPC
// on Tue Jan 19 2021 17:25:01 GMT+0800 (中国标准时间)

//Note: Each line should be less than 120 characters.
// : Unwanted options can be commented out or set to NoPin. Lines commented out will get default values
// : for pins the default is NoPin.
// : Values for Arrays need to be contained within { and }
// : Comments can be defined with // or # (comments are not supported inside arrays)
// : Each config entry must be all on a single line.

lpc.board = biquskr_2;

//LED blinks to indicate Platform is spinning or other diagnostic
//Comment out or set to NoPin if not wanted.
leds.diagnostic = NoPin;

//Internal SDCard SPI Frequency.
lpc.internalSDCard.spiFrequencyHz = 25000000;

//Only supports 1 External SDCard
//externalSDCard.csPin = NoPin;
//externalSDCard.cardDetectPin = NoPin;
//lpc.externalSDCard.spiFrequencyHz = 4000000;
//lpc.externalSDCard.spiChannel = 0;


heat.tempSensePins = {bedtemp, e0temp}; //Max of 3 entries
//heat.spiTempSensorCSPins = { }; //Max of 2 entries

//Analogue to Digital prefilter
adc.prefilter.enable = true

//ESP Settings
8266wifi.espDataReadyPin = B.10;
8266wifi.lpcTfrReadyPin = B.11;
8266wifi.espResetPin = C.14;
//ESP RX/TX Settings
8266wifi.serialRxTxPins = { PD_9, PD_8 } ;
//TMC Smart Drivers
//stepper.numSmartDrivers = 5;
stepper.numSmartDrivers = 4
stepper.num5160Drivers = 4
stepper.spiChannel = 2
// External Display settings
serial.aux.rxTxPins = {PA_10, PA_9};

atx.powerPin = E.8;
atx.powerPinInverted = false
led.neopixelPin = E.6;
leds.diagnostic = A.13;



config.g


; Configuration file for SKR-E3-RRF (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.1.10+4-LPC on Tue Jan 19 2021 17:25:01 GMT+0800 (中国标准时间)

; General preferences
M950 P1 C"SP"
M42 P1 S1

G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"BTT-SKR-2" ; set printer name

; Network
M552 S0
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet

; Drives
M569 P0 S0 ; physical drive 0 goes forwards using default driver timings
M569 P1 S0 ; physical drive 1 goes forwards using default driver timings
M569 P2 S1 ; physical drive 2 goes forwards using default driver timings
M569 P3 S0 ; 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 Z400.00 E93.00 ; set steps per mm
M566 X900.00 Y900.00 Z60.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
M203 X12000.00 Y12000.00 Z600.00 E1200.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z20.00 E250.00 ; set accelerations (mm/s^2)
M906 X580 Y580 Z580 E650 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 X230 Y230 Z250 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 Z1 S1 P"zstop" ; configure active-high endstop for low end on Z via pin zstop
;M591 D0 P7 C"e0stop" S1 R50:130 L7.0 E10

; Z-Probe
M950 S0 C"servo0" ; create servo pin 0 for BLTouch
M558 P9 C"!^probe" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
G31 P500 X-40 Y-10 Z2.95 ; set Z probe trigger value, offset and trigger height
M557 X10:180 Y10:210 S40 ; define mesh grid

; Heaters
M308 S0 P"bedtemp" Y"thermistor" T100000 B3950 ; 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
M301 P21.73 I1.54 D76.55 ; disable bang-bang mode for the bed heater and set PWM limit
M307 H0 R2 D65 B1 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S150 ; set temperature limit for heater 0 to 150C
M143 H0 S150 ; set temperature limit for heater 0 to 150C
M308 S1 P"e0temp" Y"thermistor" T100000 B3950 ; 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
M143 H1 S300 ; set temperature limit for heater 1 to 300C

; Fans
M950 F0 C"fan0" Q1000 ; create fan 0 on pin fan0 and set its frequency
M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"fan1" Q1000 ; create fan 1 on pin fan1 and set its frequency
M106 P1 S0 H1 T60 ; set fan 1 value. Thermostatic control is turned on

; 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


M552 S1 ; enable network
M150 X2
T0 P0

;TouchDisplay
M575 P1 S3 B57600 ;enable support for touchscreen


Ich freue mich auf eure Hilfe oder Brainstorming
Danke im voraus
Re: Bigtreetech SKR V2 mit RRF und TMC5160
09. July 2021 02:37
Was mir auffällt, sind teilweise von dieser Beschreibung
[teamgloomy.github.io]
abweichende Pin-Bezeichnungen.

Herzl. Grüße
Re: Bigtreetech SKR V2 mit RRF und TMC5160
09. July 2021 11:10
So ich habe jetzt die Endstops X Y am laufen .
; Endstops
M574 X1 S1 P"!^xstop" ; configure active-high endstop for low end on X via pin xstop S0 Deaktiviert
M574 Y1 S1 P"!ystop"

so sieht meine Config dazu aus. Der BLTouch gibt ein Dauersignal raus Sonde =1000 ziehe ich den Stecker geht Sonde auf 0 .
Aber mit Diagnose im Webbrowser (Hab die Wifi karte am laufen) wird mir folgendes angezeigt

M122
=== Diagnostics ===
RepRapFirmware for STM32F4 based Boards version 3.2.2_2 running on STM32F4
Used output buffers: 3 of 40 (19 max)
=== RTOS ===
Static ram: 32328
Dynamic ram: 62376 of which 40 recycled
Never used RAM 17120, free system stack 189 words
Tasks: NETWORK(ready,215) HEAT(blocked,322) MAIN(running,470) IDLE(ready,20)
Owned mutexes: WiFi(NETWORK)
=== Platform ===
Last reset 00:16:36 ago, cause: [power on/off]
Last software reset at 2021-07-09 16:30, reason: User, GCodes spinning, available RAM 17120, slot 2
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00400000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
Error status: 0x00
Aux0 errors 0,0,0
MCU temperature: min 37.4, current 40.9, max 41.1
Driver 0: position 0, no-driver-detected
Driver 1: position 0, no-driver-detected
Driver 2: position 0, no-driver-detected
Driver 3: position 0, no-driver-detected
Driver 4: position 0, no-driver-detected
Driver 5: position 0
Driver 6: position 0
Driver 7: position 0
Driver 8: position 0
Driver 9: position 0
Driver 10: position 0
Date/time: 2021-07-09 17:10:35
Slowest loop: 5.42ms; fastest: 0.08ms
=== Storage ===
Free file entries: 10
SD card 0 detected
SD card longest read time 1.2ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 83, maxWait 0ms, bed compensation in use: none, comp offset 0.000
=== DDARing ===
Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== Heat ===
Bed heaters = 0, chamberHeaters = -1
Heater 1 is on, I-accum = 0.0
=== 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 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
LCD 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: 102.26ms; fastest: 0.00ms
Responder states: HTTP(2) HTTP(0) HTTP(0) HTTP(0)
HTTP sessions: 1 of 8
- WiFi -
Network state is active
WiFi module is connected to access point
Failed messages: pending 0, notready 0, noresp 0
WiFi firmware version 1.25B0-01S-D
WiFi MAC address dc:39:6f:58:bd:91
WiFi Vcc 3.39, reset reason Turned on by main processor
WiFi flash size 4194304, free heap 35896
WiFi IP address 192.168.0.169
WiFi signal strength -55dBm, mode 802.11n, reconnections 0, sleep mode modem
Clock register 00004002
Socket states: 4 0 0 0 0 0 0 0
In diesem Forum dürfen leider nur registrierte Teilnehmer schreiben.

Klicke hier, um Dich einzuloggen