Re: RepRapFirmware 3.0 port for LPC1768/9 based boards April 21, 2020 10:51AM |
Registered: 4 years ago Posts: 213 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards April 21, 2020 11:03AM |
Registered: 12 years ago Posts: 224 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards April 21, 2020 11:28AM |
Registered: 4 years ago Posts: 213 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards April 21, 2020 11:34AM |
Registered: 12 years ago Posts: 224 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards April 21, 2020 01:14PM |
Registered: 12 years ago Posts: 224 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards April 21, 2020 03:16PM |
Registered: 4 years ago Posts: 213 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards April 21, 2020 05:31PM |
Registered: 12 years ago Posts: 224 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards April 22, 2020 05:38AM |
Registered: 11 years ago Posts: 19 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards April 22, 2020 06:02AM |
Registered: 12 years ago Posts: 224 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards April 22, 2020 06:26AM |
Registered: 4 years ago Posts: 213 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards April 22, 2020 06:34AM |
Registered: 11 years ago Posts: 19 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards April 25, 2020 07:20PM |
Registered: 4 years ago Posts: 3 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards April 25, 2020 10:40PM |
Registered: 6 years ago Posts: 6 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards April 26, 2020 01:41AM |
Registered: 12 years ago Posts: 224 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards April 26, 2020 01:42AM |
Registered: 12 years ago Posts: 224 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards April 26, 2020 07:15AM |
Registered: 4 years ago Posts: 213 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards April 26, 2020 08:02AM |
Registered: 4 years ago Posts: 3 |
Quote
jay_s
@darchap
The pin names got standardised a while back and can be found here. [github.com]
Rather than C"5", use C"Zstop" or C"Zmin"
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards April 26, 2020 08:24AM |
Registered: 11 years ago Posts: 341 |
Quote
darchap
; Z-Probe
M558 P4 C"Zmin" H5 F600 T6000 ; set Z probe type to switch and the dive height + speeds ALSO TRIED ZSTOP
G31 P500 X0 Y0 Z15.9 ; set Z probe trigger value, offset and trigger height
M557 R80 S20 ; define mesh grid
Note that my zprobe is not inverted. Ie if i config my x endstop as this M574 X2 S1 P"Zmin" and trigger my zprobe it works fine but this M558 P4 C"!Xmax" H5 F600 T6000 dont work.
I dont know what i missing. Thanks!
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards April 26, 2020 10:23AM |
Registered: 6 years ago Posts: 6 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards April 26, 2020 11:13AM |
Registered: 4 years ago Posts: 213 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards April 26, 2020 11:28AM |
Registered: 6 years ago Posts: 6 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards April 26, 2020 11:38AM |
Registered: 12 years ago Posts: 224 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards April 26, 2020 11:39AM |
Registered: 7 years ago Posts: 39 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards April 26, 2020 11:52AM |
Registered: 6 years ago Posts: 6 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards April 26, 2020 07:21PM |
Registered: 4 years ago Posts: 3 |
Quote
sdavi
Quote
darchap
; Z-Probe
M558 P4 C"Zmin" H5 F600 T6000 ; set Z probe type to switch and the dive height + speeds ALSO TRIED ZSTOP
G31 P500 X0 Y0 Z15.9 ; set Z probe trigger value, offset and trigger height
M557 R80 S20 ; define mesh grid
Note that my zprobe is not inverted. Ie if i config my x endstop as this M574 X2 S1 P"Zmin" and trigger my zprobe it works fine but this M558 P4 C"!Xmax" H5 F600 T6000 dont work.
I dont know what i missing. Thanks!
As per the documentation [duet3d.dozuki.com] probe type 4, 6 and 7 are no longer supported in RRF3. Use type 5 (digital filtered) or 8 (digital unfiltered) instead.
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards April 27, 2020 04:56AM |
Registered: 4 years ago Posts: 7 |
////////////////////// //config from the wiki //Config for BIQU SKR v1.4 lpc.board = biquskr_1.4 8266wifi.lpcTfrReadyPin = 1.30 8266wifi.espResetPin = 1.31 sbc.lpcTfrReadyPin = 0.28 adc.prefilter.enable =true ////////////////////////////////////////////////// //config [jaysuk.github.io] // Board Hardware configuration file for SKR v1.4 // generated by RepRapFirmware Configuration Tool (LPC Version) v2 // on Sun Apr 19 2020 10:39:32 GMT+0200 (Central European Summer Time) //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. //LED blinks to indicate Platform is spinning or other diagnostic //Comment out or set to NoPin if not wanted. leds.diagnostic = 1.18; //Internal SDCard SPI Frequency. //lpc.internalSDCard.spiFrequencyHz = 25000000; //heat.tempSensePins = {bedtemp, e0temp}; //Max of 3 entries /////////////??????????no entries?????///////////// heat.spiTempSensorCSPins = { }; //Max of 2 entries // /////////////////////////////////////////// // //Alternative, github recommended config/// // //SKR v1.4 // // // Drive 0 1 2 3 4 // // Typically X Y Z E0 E1 // stepper.enablePins = {2.1, 2.8, 0.21, 2.12, 0.10}; // stepper.stepPins = {2.2, 0.19, 0.22, 2.13, 0.1}; // stepper.directionPins = {2.6, 0.20, 2.11, 0.11, 0.0}; // stepper.hasDriverCurrentControl = false; // // // //RRF equiv X Y Z E0 E1 // //RRF C Index 0 1 2 3 4 // endstop.pins = {1.29, 1.28, 1.27, 1.26, 1.25}; //X, Y, Z, E0, E1 Endstops // // // Bed E0 E1 heat.tempSensePins = {0.25, 0.24, 0.23}; //tb, th0, th1 heat.heatOnPins = {2.5, 2.7, 2.4}; //hbed, he0, he1 // // // Z Probe pin // // Probe pin can be NoPin and select from an "EndStop Pin" (which are digital input) // // using the C parameter of M558. // // Note: Expected to be an ADC pin for certain modes, if needed then a spare A/D capable pin // // should be used and set zProbe.pin below. Beware that pins configured for ADC are **NOT** 5V tolerant // zProbe.pin = 0.10; // zProbe.modulationPin = NoPin // // // Fan PWM pins. If not assigned pin does not support HWPwm, or HWPWM not running at desired fan RPM, // // then also add to Timers array below // // Current maximum of 2 fans supported fan.pins = {2.3}; //cooling fan lpc.slowPWM.pins = {2.5}; lpc.slowPWM.frequencyHz = 10; //10Hz (for Bed PWM) lpc.fastPWM.pins = {2.7, 2.4}; lpc.fastPWM.frequencyHz = 250; //250Hz (for Hotend/Fan PWM) lpc.servoPins = {2.0}; specialPinMap = {2.0}; //Only supports 1 External SDCard externalSDCard.csPin = 0.16; externalSDCard.cardDetectPin = 1.31; lpc.externalSDCard.spiFrequencyHz = 4000000; lpc.externalSDCard.spiChannel = 0;
//Config for BIQU SKR v1.4 lpc.board = biquskr_1.4 8266wifi.lpcTfrReadyPin = 1.30 8266wifi.espResetPin = 1.31 sbc.lpcTfrReadyPin = 0.28 adc.prefilter.enable =true
// Board Hardware configuration file for SKR v1.4 // generated by RepRapFirmware Configuration Tool (LPC Version) v2 // on Thu Apr 23 2020 11:00:42 GMT+0200 (Central European Summer Time) //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_1.4; //LED blinks to indicate Platform is spinning or other diagnostic //Comment out or set to NoPin if not wanted. leds.diagnostic = 1.18; //Internal SDCard SPI Frequency. lpc.internalSDCard.spiFrequencyHz = 25000000; //Only supports 1 External SDCard //externalSDCard.csPin = 0.16; //externalSDCard.cardDetectPin = 1.31; //lpc.externalSDCard.spiFrequencyHz = 4000000; //lpc.externalSDCard.spiChannel = 0; //LCD Pins (only ST9720 SPI currently supported) //setup the Software SPI Pins for LCD lpc.softwareSPI.pins = {1.20, NoPin, 1.18}; //Set to GPIO pins to use as SCK, MISO, MOSI lcd.spiChannel = 2; lcd.lcdCSPin = 1.19; lcd.lcdBeepPin = 1.30; lcd.encoderPinA = 3.26; lcd.encoderPinB = 3.25; lcd.encoderPinSw = 0.28; //click lcd.lcdDCPin = NoPin; //DataControl Pin (A0) if none used set to NoPin lcd.panelButtonPin = NoPin; //Extra button on RRD Panel heat.tempSensePins = {bedtemp, e0temp}; //Max of 3 entries //heat.spiTempSensorCSPins = { }; //Max of 2 entries
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards April 27, 2020 05:31AM |
Registered: 12 years ago Posts: 224 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards April 27, 2020 05:35AM |
Registered: 4 years ago Posts: 7 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards April 27, 2020 05:37AM |
Registered: 12 years ago Posts: 224 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards April 27, 2020 05:43AM |
Registered: 4 years ago Posts: 7 |
=== Diagnostics === RepRapFirmware for LPC176x based Boards (biquskr_1.4) version 3.01-RC9+1 running on LPC176x at 120Mhz Used output buffers: 1 of 16 (10 max) === RTOS === Static ram: 3760 Dynamic Memory (RTOS Heap 5): 3520 free, 3496 never used Exception stack ram used: 200 Never used ram: 484 Tasks: HEAT(blocked,1484) MAIN(running,1768) IDLE(ready,84) Owned mutexes: === Platform === Last reset 00:00:13 ago, cause: [power up] LPC Flash Slot[126]: Last software reset at 2020-04-23 14:00, reason: User, spinning module LinuxInterface, available RAM 476 bytes (slot 0) Software reset code 0x0010 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0042a000 BFAR 0xe000ed38 SP 0x10000008 Task 0x4e49414d Stack: 40088000 40088000 0004357d 40088000 4002c000 50004120 00000000 88000004 0000d001 00000001 0003eaf1 Error status: 0 Driver 0: standstill, read errors 0, write errors 0, ifcount 6, reads 50, timeouts 0 Driver 1: standstill, read errors 0, write errors 0, ifcount 6, reads 50, timeouts 0 Driver 2: ok, read errors 0, write errors 0, ifcount 0, reads 0, timeouts 56 Driver 3: standstill, read errors 0, write errors 0, ifcount 6, reads 50, timeouts 0 Driver 4: ok, read errors 0, write errors 0, ifcount 0, reads 0, timeouts 55 Date/time: 2020-04-27 10:43:05 Slowest loop: 3.28ms; fastest: 0.26ms === Move === Hiccups: 0, FreeDm: 100, MinFreeDm: 100, MaxWait: 0ms Bed compensation in use: none, comp offset 0.000 === DDARing === Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1 === Heat === Bed heaters = -1, chamberHeaters = -1 === GCodes === Segments left: 0 Movement lock held by null HTTP* is ready with "M122" in state(s) 0 Telnet 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 SBC is idle in state(s) 0 Daemon* is idle in state(s) 0 Autopause is idle in state(s) 0 Code queue is empty. === Linux interface === State: 0, failed transfers: 0 Last transfer: 7ms ago RX/TX seq numbers: 299/300 SPI underruns 0, overruns 0 Number of disconnects: 0 Buffer RX/TX: 0/0-0 === Duet Control Server === Duet Control Server v2.1.1.0 Code buffer space: 2048 Configured SPI speed: 8000000 Hz Full transfers per second: 30.07