Re: LPC port of RepRapFirmware July 26, 2019 06:51AM |
Registered: 4 years ago Posts: 27 |
Re: LPC port of RepRapFirmware July 26, 2019 12:29PM |
Registered: 4 years ago Posts: 27 |
Re: LPC port of RepRapFirmware July 26, 2019 04:19PM |
Registered: 9 years ago Posts: 14,664 |
Quote
PB
BTW it seems that nonlinear extrusion uses segment average speed, not current speed of effector for correction. Start and end of a long segment where acceleration is not zero and actual speed is therefore decreased by frimware seem overextruded. Is it right?
Re: LPC port of RepRapFirmware July 27, 2019 03:01PM |
Registered: 4 years ago Posts: 27 |
Good to know!Quote
dc42
Quote
PB
BTW it seems that nonlinear extrusion uses segment average speed, not current speed of effector for correction. Start and end of a long segment where acceleration is not zero and actual speed is therefore decreased by frimware seem overextruded. Is it right?
That's correct, nonlinear extrusion adjusts the extrusion rate of the move as a whole. But I would expect the effect on the start and end of a segment to be very small, unless you are using very low acceleration. OTOH, using insufficient pressure advance will result in under-extrusion at the start of the segment and over-extrusion at the end.
Re: LPC port of RepRapFirmware July 29, 2019 08:27AM |
Registered: 4 years ago Posts: 27 |
Re: LPC port of RepRapFirmware July 29, 2019 03:08PM |
Registered: 9 years ago Posts: 14,664 |
Quote
PB
Good to know!Quote
dc42
Quote
PB
BTW it seems that nonlinear extrusion uses segment average speed, not current speed of effector for correction. Start and end of a long segment where acceleration is not zero and actual speed is therefore decreased by frimware seem overextruded. Is it right?
That's correct, nonlinear extrusion adjusts the extrusion rate of the move as a whole. But I would expect the effect on the start and end of a segment to be very small, unless you are using very low acceleration. OTOH, using insufficient pressure advance will result in under-extrusion at the start of the segment and over-extrusion at the end.
Another thing, are M201, M203, M204 and M566 parameters (speeds, accelerations, jerks) on delta geometry apply to cartesian axes of effector or to tower motors? In other words, what are X Y and Z in this case?
Re: LPC port of RepRapFirmware July 29, 2019 08:46PM |
Registered: 10 years ago Posts: 341 |
Quote
PB
I have LPC1769 and M122 shows me it is still at 100MHz. Where in sources (or in config) I can specify frequency of 120MHz which is available for my chip?
Re: LPC port of RepRapFirmware July 30, 2019 01:09AM |
Registered: 6 years ago Posts: 39 |
Re: LPC port of RepRapFirmware July 30, 2019 06:31AM |
Registered: 4 years ago Posts: 27 |
Re: LPC port of RepRapFirmware July 30, 2019 08:04AM |
Registered: 10 years ago Posts: 341 |
Quote
Micktol
Would it be possible for somebody to compile this for me with paneldue enabled on the serial port. I would compile it myself but it is a bit beyond me.
Thank you in advance.
lpc.uartPanelDueMode = true; //Enable PanelDue Support
Re: LPC port of RepRapFirmware July 30, 2019 09:38AM |
Registered: 6 years ago Posts: 39 |
Re: LPC port of RepRapFirmware July 30, 2019 11:12AM |
Registered: 6 years ago Posts: 110 |
Re: LPC port of RepRapFirmware July 30, 2019 11:24AM |
Registered: 6 years ago Posts: 39 |
Re: LPC port of RepRapFirmware July 30, 2019 01:21PM |
Registered: 6 years ago Posts: 110 |
Re: LPC port of RepRapFirmware July 30, 2019 01:40PM |
Registered: 6 years ago Posts: 39 |
Re: LPC port of RepRapFirmware August 01, 2019 04:21PM |
Registered: 6 years ago Posts: 110 |
Re: LPC port of RepRapFirmware August 02, 2019 09:25AM |
Registered: 4 years ago Posts: 27 |
Me too. Sometimes. Got no system in this and prints finish sucessfully anyway.Quote
sinned
I get some random flakiness from DWC - the browser window will say "Lost Connection" but wont re-establish until I reset the board. The browser will not reconnect, but the webcam feed still
M122 === Diagnostics === RepRapFirmware for LPC176x based Boards version 2.03+2 running on LPC176x at 100Mhz Used output buffers: 3 of 16 (8 max) === RTOS === Static ram: 2884 Dynamic ram: 29248 of which 0 recycled Exception stack ram used: 344 Never used ram: 260 Main SRAM : 32476/32768 (292 free, 260 never used) RTOS Dynamic Heap : 39936/46792 (6856 free, 6312 never used) === LPC PWM === HWPWM:500Hz T1:10Hz T2:0Hz T3:250Hz Tasks: EMAC(blocked,56) NETWORK(ready,572) IP-task(blocked,68) HEAT(blocked,1356) MAIN(running,2012) IDLE(ready,160) Owned mutexes: RTOSPlusTCPEthernet(NETWORK) === Platform === Last reset 03:06:20 ago, cause: [power up] Flash Slot[55]: Last software reset at 2019-07-29 02:50, reason: User, spinning module GCodes, available RAM 260 bytes (slot 0) Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00400000 BFAR 0xe000ed38 SP 0x00000000 Task 0x2007cfc0 Stack: 00000000 00000002 000186cd 2009c000 2007c310 00000000 100033d8 10004220 10003418 00000001 00018867 00000000 100033d8 10003d60 00000050 00000007 10003d60 100033d8 2007eb8c 00000001 a5a5a5a5 000003e7 a5a5a5a5 Error status: 0 Free file entries: 3 SD card 0 detected SD card longest block write time: 10.8ms, max retries 0 Date/time: 2019-08-02 17:23:16 Slowest loop: 151.49ms; fastest: 0.05ms === Move === Hiccups: 2347, FreeDm: 76, MinFreeDm: 52, MaxWait: 3905442ms Bed compensation in use: mesh, comp offset 0.000 === DDARing === Scheduled moves: 62086, completed moves: 62066, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 === Heat === Bed heaters = 0, chamberHeaters = -1 -1 Heater 0 is on, I-accum = 0.2 Heater 1 is on, I-accum = 0.2 === GCodes === Segments left: 1 Stack records: 2 allocated, 0 in use Movement lock held by null http is idle in state(s) 0 file is doing "G1 X-51.45 Y33.75 E2623.64256" in state(s) 0 serial is idle in state(s) 0 aux is idle in state(s) 0 daemon is idle in state(s) 0 queue is idle in state(s) 0 lcd is idle in state(s) 0 autopause is idle in state(s) 0 Code queue is empty. === Network === Slowest loop: 154.80ms; fastest: 0.00ms Responder states: HTTP(1) HTTP(0) HTTP sessions: 1 of 2 Interface state: active NetBuffers: 3 lowest: 1 IP Event Queue lowest: 9 EthDrv: Rejected packets by IPStack (timeout or full): 0 EthDrv: RX IntOverrun Errors: 0 EthDrv: Dropped packets (no buffer): 2 EthDrv RX Errors: none M122 P200 == Configurable Board Settings == leds.diagnostic = 1.18 lpc.internalSDCard.spiFrequencyHz = 10000000 stepper.enablePins = [ 0.4 0.10 0.19 4.29 NoPin ] stepper.stepPins = [ 2.0 2.1 2.2 2.8 NoPin ] stepper.directionPins = [ 0.5 0.11 0.20 2.13 NoPin ] stepper.hasDriverCurrentControl = true stepper.digipotFactor = 113.33 endstop.pins = [ 1.25 1.27 1.29 NoPin NoPin NoPin ] zProbe.pin = 1.24 zProbe.modulationPin = NoPin heat.tempSensePins = [ 0.24 0.23 0.25 ] heat.heatOnPins = [ 2.5 2.6 NoPin ] heat.spiTempSensorCSPins = [ NoPin NoPin ] fan.pins = [ 2.4 2.7 ] fan.tachoPins = [ NoPin ] atxPowerPin = NoPin lpc.slowPWM.frequencyHz = 10 lpc.slowPWM.pins = [ 2.5 NoPin NoPin ] lpc.fastPWM.frequencyHz = 250 lpc.fastPWM.pins = [ 2.7 2.6 2.8 ] lpc.servoPins = [ NoPin NoPin NoPin ] specialPinMap = [ NoPin NoPin NoPin NoPin NoPin NoPin NoPin NoPin NoPin NoPin ] lpc.externalInterruptPins = [ NoPin NoPin NoPin ] externalSDCard.csPin = 0.28 externalSDCard.cardDetectPin = 0.27 lpc.externalSDCard.spiFrequencyHz = 4000000 lcd.lcdCSPin = 0.16 lcd.lcdBeepPin = 1.31 lcd.encoderPinA = 3.25 lcd.encoderPinB = 3.26 lcd.encoderPinSw = 1.30 lcd.lcdDCPin = NoPin lcd.panelButtonPin = 2.11
Re: LPC port of RepRapFirmware August 04, 2019 06:11PM |
Registered: 11 years ago Posts: 1,277 |
Re: LPC port of RepRapFirmware August 05, 2019 07:50AM |
Registered: 10 years ago Posts: 341 |
//setup the Software SPI Pins lpc.softwareSPI.pins = {NoPin, NoPin, NoPin}; //Set to GPIO pins to use as SCK, MISO, MOSI //SDCard and Display now support a spiChannel option // 0 = SSP0, 1 = SSP1, 2 = SoftwareSPI lpc.externalSDCard.spiChannel = 0; lcd.spiChannel = 0;
Re: LPC port of RepRapFirmware August 05, 2019 10:53AM |
Registered: 11 years ago Posts: 1,277 |
Re: LPC port of RepRapFirmware August 05, 2019 11:29PM |
Registered: 10 years ago Posts: 341 |
Quote
Dark Alchemist
Sigh.
Will this be made for Platform.io so we can use Atom to compile it?
Re: LPC port of RepRapFirmware August 06, 2019 12:35AM |
Registered: 11 years ago Posts: 1,277 |
I tried that with the Smoothieware (which is 100% compatible with SKR V1.3) and not a single hiccup until it came to the LCD because the Smoothieboard has 2 pins reversed (Exp 1 and Exp 2) and need to be swapped or you get nothing on the screen.Quote
sdavi
Quote
Dark Alchemist
Sigh.
Will this be made for Platform.io so we can use Atom to compile it?
Most people don't need to compile the firmware as the configuration is stored on the SDCard. Just copy the firmware.bin and config files to the SDCard, and reboot.
Re: LPC port of RepRapFirmware August 06, 2019 01:17AM |
Registered: 6 years ago Posts: 110 |
Re: LPC port of RepRapFirmware August 06, 2019 01:42AM |
Registered: 11 years ago Posts: 1,277 |
TMC2208 and we shouldn't need to be so barbaric with jumper wires if we have a pins definition file. Since Marlin 2.0 worked with the LCD then it should be as simple as swamping 3 pins over and the pins that need to be swapped are 0_18 with 1_18, 0_15 with 1_20 and 0_16 with 1_19.Quote
sinned
@Dark Alchemist
I do have an SKR 1.3 running RRF on it as well.
I have not tried the latest binary on it yet though. I am making some hardware mods to that printer right now.
LCD may work natively with latest binary. Else, you might have to make a few jumper wires.
What stepper drivers are you using?
If you scroll back a page or two you will see the discussion with 4lathe in getting his going. Last i heard from him, things were working well for him.
Post you questions and I am sure we can help you get out worked out.
What
Re: LPC port of RepRapFirmware August 06, 2019 02:47AM |
Registered: 10 years ago Posts: 341 |
Quote
Dark Alchemist
TMC2208 and we shouldn't need to be so barbaric with jumper wires if we have a pins definition file. Since Marlin 2.0 worked with the LCD then it should be as simple as swamping 3 pins over and the pins that need to be swapped are 0_18 with 1_18, 0_15 with 1_20 and 0_16 with 1_19.
Re: LPC port of RepRapFirmware August 06, 2019 02:47AM |
Registered: 6 years ago Posts: 39 |
Re: LPC port of RepRapFirmware August 06, 2019 03:45AM |
Registered: 10 years ago Posts: 341 |
Quote
Micktol
I have a SKR 1.3 with the latest firmware and the software spi, the screen and external sd card work without any extra wiring.
Quote
Micktol
@sdavi, is it possible and planned to support the control of the stepper drivers via spi or uart?
Re: LPC port of RepRapFirmware August 06, 2019 03:57AM |
Registered: 6 years ago Posts: 39 |
Quote
sdavi
Quote
Micktol
I have a SKR 1.3 with the latest firmware and the software spi, the screen and external sd card work without any extra wiring.
Thank you for testing this with the SKR1.3, good to hear this is now working.
Quote
Micktol
@sdavi, is it possible and planned to support the control of the stepper drivers via spi or uart?
The new softwareSPI code is a step towards this, as the stepper SPI pins are also not on H/W SPI pins. It looks as though the UART pins will also need a software version as well. However, I don't have a SKR board, or even any drivers that use SPI/UART, which as you can imagine makes testing/debugging rather difficult.
Re: LPC port of RepRapFirmware August 06, 2019 06:59AM |
Registered: 6 years ago Posts: 39 |
Re: LPC port of RepRapFirmware August 06, 2019 07:42AM |
Registered: 10 years ago Posts: 341 |
Quote
Micktol
Sdavi,
I have been looking on the duet3d site and it states "Additional Motor Support: Headers for two external stepper drivers with step/direction/enable interface and optional configuration via single wire UART (TMC2208 or TMC2224). "
Does this mean that the code is available?