Re: RepRapFirmware 3.0 port for LPC1768/9 based boards May 31, 2020 02:47AM |
Registered: 3 years ago Posts: 12 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards May 31, 2020 03:51AM |
Registered: 3 years ago Posts: 12 |
Quote
jay_s
Ok. I believe the firmware would also have to be modified as I think the arrays for the pins only accept 5 inputs. Gloomyandy would have to confirm this.
What drivers is this designed for?
It should also work ok the SKR 1.4 as the EXP 1 and 2 ponputs are the same.
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards May 31, 2020 04:00AM |
Registered: 12 years ago Posts: 224 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards May 31, 2020 04:14AM |
Registered: 3 years ago Posts: 12 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards May 31, 2020 05:59AM |
Registered: 3 years ago Posts: 213 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards May 31, 2020 06:20AM |
Registered: 3 years ago Posts: 12 |
WOW! I'm very excited for your reply! Is there a plan to support 7 drivers in the future?Quote
gloomyandy
I don't think there is any limitations on the pins the can be used for stepper drivers. However the current builds of RRF only support up 5 drivers, so if you want to use more you will need to modify the firmware and rebuild it
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards May 31, 2020 06:29AM |
Registered: 3 years ago Posts: 12 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards May 31, 2020 02:44PM |
Registered: 3 years ago Posts: 5 |
Quote
//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.
// board definition
lpc.board = biquskr_1.3; // SKR v1.3
// ADC settings
adc.prefilter.enable = true;
adc.preFilter.numberSamples = 8;
adc.preFilter.sampleRate = 10000; //Hz
// stepper pins
stepper.TmcUartPin = {1.17, 1.15, 1.10, 1.8, 1.1}; // XCS, YCS, ZCS, E0CS, E1CS
stepper.numSmartDrivers = 5; // 5x TMC2209
// SBC pins
sbc.lpcTfrReadyPin = 1.31;
// LED blinks to indicate Platform is spinning or other diagnostic
// Comment out or set to NoPin if not wanted.
leds.diagnostic = 1.18;
// Bed E0 E1
heat.tempSensePins = {0.23, 0.24, 0.25}; //tb, th0, th1
Quote
; Configuration file for SKR v1.3 (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v2.1.4 on Sun May 31 2020 09:53:42 GMT+0200 (Central European Summer Time)
; General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Kossel" ; set printer name
M665 R120 L264 B115 H250 ; Set delta radius, diagonal rod length, printable radius and homed height
M666 X0 Y0 Z0 ; put your endstop adjustments here, or let auto calibration find them
; Drives
M569 P0 S1 T0.1:0.1:0.02:0.02 ; physical drive 0 goes forwards using TMC220x driver timings
M569 P1 S1 T0.1:0.1:0.02:0.02 ; physical drive 1 goes forwards using TMC220x driver timings
M569 P2 S1 T0.1:0.1:0.02:0.02 ; physical drive 2 goes forwards using TMC220x driver timings
M569 P3 S1 T0.1:0.1:0.02:0.02 ; physical drive 3 goes forwards using TMC220x driver timings
M584 X0 Y1 Z2 E3 ; set drive mapping
M92 X80.00 Y80.00 Z80.00 E137.00 ; set steps per mm
M566 X1200.00 Y1200.00 Z1200.00 E1200.00 ; set maximum instantaneous speed changes (mm/min)
M203 X18000.00 Y18000.00 Z18000.00 E1200.00 ; set maximum speeds (mm/min)
M201 X1000.00 Y1000.00 Z1000.00 E1000.00 ; set accelerations (mm/s^2)
M906 X850 Y850 Z850 E900 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout
; Axis Limits
M208 Z0 S1 ; set minimum Z
; Endstops
M574 X2 S1 P"xstopmax" ; configure active-high endstop for high end on X via pin xstopmax
M574 Y2 S1 P"ystopmax" ; configure active-high endstop for high end on Y via pin ystopmax
M574 Z2 S1 P"zstopmax" ; configure active-high endstop for high end on Z via pin zstopmax
; Z-Probe
M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed
M557 R115 S20 ; define mesh grid
; Heaters
M308 S0 P"TB" Y"thermistor" R4700 T100000 B4725 C7.06e-8 ; configure sensor 0 as thermistor on pin TB
M950 H0 C"HBED" T0 ; create bed heater output on heatbed and map it to sensor 0
M143 H0 S100 ; set temperature limit for heater 0 to 100C
M307 H0 B0 S0.70 ; disable bang-bang mode for the nozzle heater and set PWM limit
M308 S1 P"TH0" Y"pt1000" R1000 ; configure sensor 1 as PT1000 on pin TH0
M950 H1 C"HE0" T1 ; create nozzle heater output on e0heat and map it to sensor 1
M143 H1 S260 ; set temperature limit for heater 1 to 260C
M307 H1 B0 S1.00 ; disable bang-bang mode for the nozzle heater and set PWM limit
M308 S1 P"TH1" Y"thermistor" R4700 T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin TH1
; Fans
M950 F0 C"FAN" Q500 ; create fan 0 on pin FAN and set its frequency
M950 F1 C"HE1" Q500 ; create fan 1 on pin HE1 and set its frequency
M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
M106 P1 T50 H1 ; set fan 1 value. Thermostatic control is turned on at 50°C
; Tools
M563 P0 H0 ; define tool 0 (heatbed)
M563 P1 D0 H1 F0 ; define tool 1 (extruder)
M563 P2 D1 H-1 ; define tool 2 (ambient temp)
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
;T1 ; select first tool
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards May 31, 2020 02:54PM |
Registered: 12 years ago Posts: 224 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 01, 2020 04:03AM |
Registered: 3 years ago Posts: 5 |
Quote
; Heaters
M308 S0 A"HeatBed" P"TB" Y"thermistor" R4700 T100000 B4725 C7.06e-8 ; configure sensor 0 as thermistor on pin TB
M950 H0 C"HBED" T0 ; create bed heater output on heatbed and map it to sensor 0
M307 H0 B0 S0.70 ; disable bang-bang mode for the nozzle heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S105 ; set temperature limit for heater 0 to 105C
M308 S1 A"Extruder" P"TH0" Y"pt1000" R1000 ; configure sensor 1 as PT1000 on pin TH0
M950 H1 C"HE0" T1 ; create nozzle heater output on e0heat and map it to sensor 1
M143 H1 S260 ; set temperature limit for heater 1 to 260C
M307 H1 B0 S1.00 ; disable bang-bang mode for the nozzle heater and set PWM limit
M308 S2 A"Ambient" P"TH1" Y"thermistor" R4700 T100000 B4725 C7.06e-8; configure sensor 2 as thermistor on pin TH1
; Tools
M563 P0 D0 H1 F0 ; define tool 1 (extruder)
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
T0 ; select first tool
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 01, 2020 04:06AM |
Registered: 12 years ago Posts: 224 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 01, 2020 08:45AM |
Registered: 12 years ago Posts: 224 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 01, 2020 07:24PM |
Registered: 3 years ago Posts: 5 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 02, 2020 12:54AM |
Registered: 12 years ago Posts: 224 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 02, 2020 04:07AM |
Registered: 7 years ago Posts: 14 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 02, 2020 04:21AM |
Registered: 3 years ago Posts: 213 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 02, 2020 04:40AM |
Registered: 7 years ago Posts: 14 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 02, 2020 04:43AM |
Registered: 12 years ago Posts: 224 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 02, 2020 05:06AM |
Registered: 7 years ago Posts: 14 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 02, 2020 05:12AM |
Registered: 12 years ago Posts: 224 |
heat.tempSensePins = {TH1, TH2}; //Max of 3 entriesare not valid.
//Config for MKS Sbase v1.3 lpc.board = mkssbase_v1.3 //wifi pins 8266wifi.espDataReadyPin = 2.11 8266wifi.lpcTfrReadyPin = 1.30 8266wifi.espResetPin = 1.31 adc.prefilter.enable = true SSP0.pins = {0.15, 0.17, 1.24, 0.16}
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 02, 2020 05:26AM |
Registered: 7 years ago Posts: 14 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 02, 2020 05:40AM |
Registered: 12 years ago Posts: 224 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 02, 2020 05:50AM |
Registered: 7 years ago Posts: 14 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 02, 2020 06:08AM |
Registered: 3 years ago Posts: 213 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 02, 2020 06:31AM |
Registered: 12 years ago Posts: 224 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 02, 2020 06:41AM |
Registered: 7 years ago Posts: 14 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 02, 2020 06:57AM |
Registered: 12 years ago Posts: 224 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 02, 2020 07:08AM |
Registered: 7 years ago Posts: 14 |
Quote
jay_s
Maybe you could try reflashing the ESP software based on PCR's instructions
[rosspeter.org]
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 02, 2020 08:15AM |
Registered: 3 years ago Posts: 213 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 02, 2020 09:17AM |
Registered: 7 years ago Posts: 14 |
Quote
gloomyandy
It looks to me like you are connecting to at least one of P0_15, P0_16, P0_17 via the pins in EXP1, don't do this, use the pins on J7 (you are already doing this for two of the pins, but I can't tell from the photos which ones), you basically want all three of those connections to go to J7.
If you are still having problems please take some more pictures that show the connections to J7 and EXP1 more clearly and do the same for the ESP board. At the moment I can't really check what you have connected.