Welcome! Log In Create A New Profile

Advanced

RepRapFirmware 3.0 port for LPC1768/9 based boards

Posted by sdavi 
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards
May 12, 2020 11:59AM
and are you sure the 12864 display you are using has a ST7920 display driver chip?


Based in Darlington, North East
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards
May 12, 2020 12:27PM
Yes I am sure
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards
May 12, 2020 01:31PM
@DrDitto M122 output and board.txt file would help.
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards
May 12, 2020 03:01PM
This is my M122 output
>>> M122
SENDING:M122
=== Diagnostics ===
RepRapFirmware for LPC176x based Boards (biquskr_1.3) version 3.01-RC12+ running on LPC176x at 100Mhz
Used output buffers: 1 of 16 (8 max)
=== RTOS ===
Static ram: 3496
Dynamic Memory (RTOS Heap 5): 12960 free, 12936 never used
Exception stack ram used: 264
Never used ram: 420
Tasks: HEAT(blocked,1372) MAIN(running,1448) IDLE(ready,84)
Owned mutexes:
=== Platform ===
Last reset 00:05:56 ago, cause: [power up][reset button]
LPC Flash Slot[19]:
Last software reset time unknown, reason: Hard fault, spinning module GCodes, available RAM 444 bytes (slot 0)
Software reset code 0x0863 HFSR 0x40000000 CFSR 0x00008200 ICSR 0x04428803 BFAR 0xa5a5a5a5 SP 0x2007d794 Task MAIN
Stack: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
Error status: 0
[ERROR] Error status: 0

Driver 0: ok, read errors 0, write errors 0, ifcount 0, reads 0, timeouts 97
Driver 1: ok, read errors 0, write errors 0, ifcount 0, reads 0, timeouts 97
Driver 2: ok, read errors 0, write errors 0, ifcount 0, reads 0, timeouts 96
Driver 3: ok, read errors 0, write errors 0, ifcount 0, reads 0, timeouts 97
Driver 4: ok, read errors 0, write errors 0, ifcount 0, reads 0, timeouts 97
Date/time: 1970-01-01 00:00:00
Slowest loop: 5.93ms; fastest: 0.32ms
=== Storage ===
Free file entries: 4
SD card 0 detected
SD card longest read time 1.5ms, write time 0.0ms, max retries 0
=== 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
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
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.
ok T0:28.3 /0.0 T1:-273.1 /0.0
ok T0:28.1 /0.0 T1:-273.1 /0.0
ok T0:28.0 /0.0 T1:-273.1 /0.0
ok T0:27.9 /0.0 T1:-273.1 /0.0
ok T0:27.9 /0.0 T1:-273.1 /0.0

And this the board.txt

// Board Hardware configuration file for SKR v1.3
// generated by RepRapFirmware Configuration Tool (LPC Version) v2
// on Mon May 11 2020 04:54:50 GMT-0600 (hora estándar central)

//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.3;

//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 = 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, e1temp}; //Max of 3 entries
//heat.spiTempSensorCSPins = { }; //Max of 2 entries
PCR
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards
May 12, 2020 03:28PM
Have to rotatet the connectors 180° ? I have to do it in my skr Board with full Rep Display. You have to Cut away the notch on the cables.
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards
May 12, 2020 04:53PM
I have 2 lcds
I rotate the 1rst one bur with ratated it dows not work
the other with stcok connectors al least the shows the backligth on
---Have to rotatet the connectors 180° ? I have to do it in my skr Board with full Rep Display. You have to Cut away the notch on the cables.
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards
May 12, 2020 04:58PM
@DrDitton, I think that looks OK. A couple of things to try...
1. Post a link to the actual display you are using (or a picture), someone may know if there is a problem with it.
2. Try a slower SPI speed in the M918 command (F parameter) to see if that makes any difference.
3. Try M117 "Hello World" from the USB connection to see if that gets displayed on the screen.
4. Might be worth checking the screen in a darkened room just in case the display uses a backlight that has not been turned on by RRF.
5. Has the display worked with some other firmware (which one) on the same hardware?


Oh and do you have any TMC 22XX drivers plugged into the board? Because at the moment the firmware is not able to talk to any of them.
Other than that sorry, I can't help any further. I don't normally use that type of display with RRF and I don't have access to much equipment due to our current lock down situation. Perhaps someone else is using that type of display on RRF and can help?
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards
May 13, 2020 12:19AM
Quote
DrDitto
Thanks for the support
I Use no WIFI just LCD
I am using this menu repo
and actually is at sd
UltimateDuetMenuSystem-master
But I see just a bllank screen

I just tested the UltimateDuetMenuSystem on my setup with RRD Full Graphic LCD and is working correctly for me.

Also make sure to check the menu files are located at sdcard:/menu/ as the firmware expects to find the file /menu/main.
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards
May 13, 2020 02:15AM
oK
I Recompile all with no network
This is the new M122
and all data but LCD Shows nothing
--
LCD works in marlin as a RRD Full Graphic LCD
but not in my setup


----
SENDING:M122
=== Diagnostics ===
RepRapFirmware for LPC176x based Boards (biquskr_1.3) version 3.01-RC12+ running on LPC176x at 100Mhz
Used output buffers: 1 of 16 (1 max)
=== RTOS ===
Static ram: 3496
Dynamic Memory (RTOS Heap 5): 15192 free, 15168 never used
Exception stack ram used: 264
Never used ram: 420
Tasks: HEAT(blocked,1396) MAIN(running,1456) IDLE(ready,84)
Owned mutexes:
=== Platform ===
Last reset 00:00:51 ago, cause: [power up][reset button]
LPC Flash Slot[115]:
Last software reset details not available
Error status: 0
[ERROR] Error status: 0

Driver 0: ok, read errors 0, write errors 0, ifcount 0, reads 0, timeouts 101
Driver 1: ok, read errors 0, write errors 0, ifcount 0, reads 0, timeouts 101
Driver 2: ok, read errors 0, write errors 0, ifcount 0, reads 0, timeouts 100
Driver 3: ok, read errors 0, write errors 0, ifcount 0, reads 0, timeouts 100
Driver 4: ok, read errors 0, write errors 0, ifcount 0, reads 0, timeouts 100
Date/time: 1970-01-01 00:00:00
Slowest loop: 7.11ms; fastest: 0.31ms
=== Storage ===
Free file entries: 4
SD card 0 detected
SD card longest read time 1.5ms, write time 0.0ms, max retries 0
=== 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
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
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.
ok T0:-273.1 /0.0 T1:-273.1 /0.0
ok T0:-273.1 /0.0 T1:-273.1 /0.0
ok T0:-273.1 /0.0 T1:-273.1 /0.0
ok T0:-273.1 /0.0 T1:-273.1 /0.0
ok T0:-273.1 /0.0 T1:-273.1 /0.0
ok T0:-273.1 /0.0 T1:-273.1 /0.0
ok T0:-273.1 /0.0 T1:-273.1 /0.0
ok T0:-273.1 /0.0 T1:-273.1 /0.0
ok T0:-273.1 /0.0 T1:-273.1 /0.0

Directorio: G:\


Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 14/8/17 11:02a. m. gcodes
d----- 12/3/19 05:12a. m. macros
d----- 11/5/20 10:54a. m. menu
d----- 11/5/20 10:54a. m. sys
d----- 11/3/19 03:25a. m. www
-a---- 8/8/18 06:05a. m. 5734 DuetDriverFiles.zip
-a---- 12/5/20 11:37p. m. 416156 FIRMWARE.CUR

Directorio: G:\menu


Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 13/3/20 12:15p. m. imgs
d----- 13/3/20 12:15p. m. scripts
-a---- 13/3/20 12:15p. m. 813 selectSD
-a---- 13/3/20 12:15p. m. 66 .gitattributes
-a---- 13/3/20 12:15p. m. 735 about
-a---- 13/3/20 12:15p. m. 2022 altMain
-a---- 13/3/20 12:15p. m. 1731 bedLevel
-a---- 13/3/20 12:15p. m. 1298 changeFilament
-a---- 13/3/20 12:15p. m. 590 confirmAbort
-a---- 13/3/20 12:15p. m. 1210 LICENSE
-a---- 13/3/20 12:15p. m. 698 listFilesSD0
-a---- 13/3/20 12:15p. m. 693 listFilesSD1
-a---- 13/3/20 12:15p. m. 579 macros
-a---- 13/3/20 12:15p. m. 2208 main
-a---- 13/3/20 12:15p. m. 1540 mainMenu
-a---- 13/3/20 12:15p. m. 1968 moveAxis
-a---- 13/3/20 12:15p. m. 1243 moveExtruder
-a---- 13/3/20 12:15p. m. 827 powerMenu
-a---- 13/3/20 12:15p. m. 2154 preheat
-a---- 13/3/20 12:15p. m. 954 printInfo
-a---- 13/3/20 12:15p. m. 603 probeMenu
-a---- 13/3/20 12:15p. m. 6608 README.md

----
New config.g
----
; 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 Mon May 11 2020 04:54:50 GMT-0600 (hora estándar central)

; General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"TevoFlash+" ; set printer name
M918 P1 E4 F2000000 ; configure direct-connect display

; Network
M552 S0 ; disable network

; 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
M569 P4 S1 T0.1:0.1:0.02:0.02 ; physical drive 4 goes forwards using TMC220x driver timings
M584 X0 Y1 Z2 E3:4 ; set drive mapping
M92 X80.00 Y80.00 Z4000.00 E418.00:418.00 ; set steps per mm
M566 X900.00 Y900.00 Z12.00 E120.00:120.00 ; set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z180.00 E1200.00:1200.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z20.00 E250.00:250.00 ; set accelerations (mm/s^2)
M906 X800 Y800 Z800 E800:800 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 X235 Y235 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

; Z-Probe
M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed
M557 X15:215 Y15:195 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
M143 H0 S120 ; set temperature limit for heater 0 to 120C
M307 H0 B0 S1.00 ; disable bang-bang mode for the nozzle heater and set PWM limit
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
M143 H1 S320 ; set temperature limit for heater 1 to 320C
M307 H1 B0 S1.00 ; disable bang-bang mode for the nozzle heater and set PWM limit
M308 S2 P"e1temp" Y"thermistor" T100000 B4138 ; configure sensor 2 as thermistor on pin e1temp
M950 H2 C"e1heat" T2 ; create nozzle heater output on e1heat and map it to sensor 2
M143 H2 S320 ; set temperature limit for heater 2 to 320C
M307 H2 B0 S1.00 ; disable bang-bang mode for the nozzle heater and set PWM limit

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

; Tools
M563 P0 S"E0" 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
M563 P1 S"E1" D1 H2 F0 ; define tool 1
G10 P1 X0 Y0 Z0 ; set tool 1 axis offsets
G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C

; Custom settings are not defined

---New boards.txt
// Board Hardware configuration file for SKR v1.3
// generated by RepRapFirmware Configuration Tool (LPC Version) v2
// on Mon May 11 2020 04:54:50 GMT-0600 (hora estándar central)

//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.3;

//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 = 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, e1temp}; //Max of 3 entries
//heat.spiTempSensorCSPins = { }; //Max of 2 entries
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards
May 13, 2020 02:19AM
@DrDitto

What screen is it?


Based in Darlington, North East
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards
May 13, 2020 02:57AM
Quote
DrDitto
oK
I Recompile all with no network
This is the new M122
and all data but LCD Shows nothing
--
LCD works in marlin as a RRD Full Graphic LCD
but not in my setup

Your board.txt contains errors (it is using the "old" settings), so some of the configuration such as the software SPI pins etc etc are not read by the firmware. Always check with M122 P200 to ensure that the board.txt settings have been loaded correctly.
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards
May 13, 2020 03:05AM
Just to add that I am aware that the LPC configurator needs looking at, I just haven't got round to it yet.


Based in Darlington, North East
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards
May 13, 2020 04:37AM
As a follow on to the this it looks to me as if the sample board.txt files are out of date and need to be updated to match the new settings. I will get around to that when I can. Also at the moment we do not have a good way of detecting errors in the board.txt file. I'm not really sure what the best way to handle that is, this file gets read very early and so we have limited options in terms of how to report errors. For now as @sdavi mentioned above the best way to check that the settings have been made is to issue an M122 P200 and check that the pins are as you would expect. For a definitive set of settings please see the following link: [github.com]
PCR
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards
May 13, 2020 11:26AM
2 Things.

* My adapter boards works winking smiley connecting is now easy!
*Paneldue works on the SKR too! Already made a Splashscreen with the LPC Logospinning smiley sticking its tongue out
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards
May 13, 2020 11:59AM
Quote
PCR
2 Things.

* My adapter boards works winking smiley connecting is now easy!
*Paneldue works on the SKR too! Already made a Splashscreen with the LPC Logospinning smiley sticking its tongue out

Would be good to see some photos of the board and the paneldue splash screen.
Don't forget to mail me some details so I can get it added to the wiki


Based in Darlington, North East
PCR
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards
May 13, 2020 01:11PM
Youtube Video:

[www.youtube.com]

Photo

Re: RepRapFirmware 3.0 port for LPC1768/9 based boards
May 13, 2020 03:51PM
i am using rerpapdiscount full graphic smart controller
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards
May 13, 2020 05:31PM
This is my M122 P200
SENDING:M122 P200
== Configurable Board.txt Settings ==
lpc.board = biquskr_1.3
leds.diagnostic = NoPin
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.digipotFactor = 0.00
stepper.TmcUartPins = { 1.17 1.15 1.10 1.8 1.1 }
stepper.numSmartDrivers = 5
heat.tempSensePins = { 0.23 0.24 0.25 NoPin }
heat.spiTempSensorCSPins = { NoPin NoPin }
heat.spiTempSensorChannel = 0
atx.powerPin = NoPin
atx.powerPinInverted = false
sdCard.internal.spiFrequencyHz = 25000000
sdCard.external.csPin = NoPin
sdCard.external.cardDetectPin = NoPin
sdCard.external.spiFrequencyHz = 4000000
sdCard.external.spiChannel = 0
lcd.lcdCSPin = 1.19
lcd.lcdBeepPin = 1.30
lcd.encoderPinA = 3.26
lcd.encoderPinB = 3.25
lcd.encoderPinSw = 0.28
lcd.lcdDCPin = NoPin
lcd.panelButtonPin = NoPin
lcd.spiChannel = 2
softwareSPI.pins = { NoPin NoPin NoPin }
SSP0.pins = { 0.15 0.17 0.18 0.16 }
serial.aux.rxTxPins = { 0.3 0.2 }
adc.prefilter.enable = false
adc.preFilter.numberSamples = 8
adc.preFilter.sampleRate = 10000
== Hardware Serial ==
AUX Serial: UART 0
== Software PWM ==
Pin 1.30 @ 1Hz (Disabled)
Pin 2.5 @ 1Hz (Disabled)
Pin 2.7 @ 250Hz (Enabled)
Pin 2.4 @ 1Hz (Disabled)
Pin 2.3 @ 500Hz (Enabled)
== Servo PWM ==
Hardware PWM = 50Hz [ NoPin NoPin NoPin NoPin NoPin NoPin ]
Timer2 PWM = 50Hz [ NoPin NoPin NoPin ]
ok T0:27.1 /0.0 T1:-273.1 /0.0
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards
May 13, 2020 05:38PM
@sdavi

Are you using ske v1.3? and RRFD?
Could you helpme wirh the boards.txt and your config
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards
May 13, 2020 05:53PM
can you change lpc.softwareSPI.pins in your board.txt to softwareSPI.pins
There are no pins getting loaded due to the name getting changed at some point


Based in Darlington, North East
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards
May 13, 2020 06:07PM
@DrDitto try the following as board.txt file, delete the existing content and copy and paste the following, reboot the firmware...


lpc.board = biquskr_1.3;

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

//Only supports 1 External SDCard
sdCard.external.csPin = 0.16;
sdCard.external.cardDetectPin = 1.31;
sdCard.external.spiFrequencyHz = 4000000;
sdCard.external.spiChannel = 0;

//LCD Pins (only ST9720 SPI currently supported)
//setup the Software SPI Pins for LCD
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, e1temp}; //Max of 3 entries
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards
May 13, 2020 06:08PM
If you are still having problems after making the above changes, post the new version of board.txt and the new m122 p200 output.
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards
May 13, 2020 10:24PM
Wow.
It works
Thanks a lot
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards
May 14, 2020 02:42AM
HAs anybody use the ESP12S modue via UART?

MKS MODULE ESP12S
PCR
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards
May 14, 2020 03:59AM
Look some pages back. It is not possible!


Best
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards
May 14, 2020 04:05AM
Hence why its wifi or graphical LCD.

The alternatives are either buy a paneldue or buy a TFT-35 (or similar size) and run this firmware [github.com]
They can both be used with an ESP8266 connected via SPI

Edited 1 time(s). Last edit at 05/14/2020 04:05AM by jay_s.


Based in Darlington, North East
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards
May 14, 2020 05:44AM
Using and ESP12S as a serial device connected to RRF is probably possible (it just looks like another terminal/UART session to RRF), but I'm not aware of anyone doing it. The downsides are that you don't get any of the RRF DWC interface and any sort of file upload will be limited by the speed of the UART connection (so will be slowish). You can probably use it at the same time as a ST9720 display though (as there will not be the memory issues that you get with using the menu system and the various other network connections). Basically you will be using RRF in the same sort of way you would use Marlin.

@PCR The previous question about using an ESP12S was a little more specific as that had the device built into the actual control board and used a MUX to divert the SD card SPI interface between the ESP12S and the control board. It was that setup that made it difficult/impossible to make it work. Here we are just talking about simply hooking the ESP12S into the RRF RX/TX lines so it would be just like using an external controller like the TFT-35 (or the PanelDue though without the special I/O modes).
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards
May 14, 2020 05:47AM
@PCR

The ESP issue gloomyandy wax referring to was on the duet forums and not in this thread.
See here [forum.duet3d.com]


Based in Darlington, North East
PCR
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards
May 14, 2020 05:59AM
ah sorry winking smiley i just thought it was the same question which i had!
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards
May 14, 2020 06:32AM
There has been a few users that have reported ESP3D working over UART with the LPC port some time ago.
Sorry, only registered users may post in this forum.

Click here to login