Re: RepRapFirmware 3.0 port for LPC1768/9 based boards March 02, 2020 06:20PM |
Registered: 11 years ago Posts: 341 |
Quote
gloomyandy
@sdavi That sounds pretty good! I'm looking forward to giving it a go with the Pi I have already got attached to my printer. How easy was it to create a cable to hook the two boards together? Is the connection similar to the WiFi board (SPI plus some handshake lines)? I've not really looked at how things get split between the two boards, so I'm not 100% sure what the advantages are of that system (obviously you get a better web server), are things like macros executed on the SBC or on the control board, or is there only a subset of the gcode sent to the control board?
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards March 03, 2020 03:07AM |
Registered: 4 years ago Posts: 213 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards March 03, 2020 04:39AM |
Registered: 13 years ago Posts: 224 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards March 03, 2020 05:22AM |
Registered: 11 years ago Posts: 341 |
Quote
gloomyandy
That sounds pretty simple. I was a bit concerned because the Duet 3 seems to use a fairly substantial ribbon cable, so wasn't sure if it needed extra signals etc. What speed are you running the SPI connection at? I assume it is slower than the Dueat 3 uses? Are you seeing and SPI errors?
If you can make your changes available at some point, I'll merge them into my build and give them a try when I get home.
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards March 03, 2020 07:12AM |
Registered: 4 years ago Posts: 213 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards March 03, 2020 08:10AM |
Registered: 13 years ago Posts: 224 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards March 06, 2020 04:23PM |
Registered: 4 years ago Posts: 213 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards March 06, 2020 04:59PM |
Registered: 13 years ago Posts: 224 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards March 06, 2020 05:19PM |
Registered: 4 years ago Posts: 213 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards March 06, 2020 06:11PM |
Registered: 11 years ago Posts: 341 |
Quote
gloomyandy
Hi @sdavi, thanks for uploading the files. I'm hoping to make a start on trying this tomorrow at some point. But I'll need to get my pi running the Duet software and hook things up. Did you have to make any changes to the pi software side of things (for clock speed or buffer size etc?). Did you include any resistors in the connections between the pi and the LPC (like the ones that are present between the WifI module and the LPC)? I had a quick look around but couldn't find the schematics for the duet 3 boards to see if they have anything built in on those I/O lines.
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards March 07, 2020 02:28AM |
Registered: 4 years ago Posts: 213 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards March 07, 2020 12:01PM |
Registered: 4 years ago Posts: 213 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards March 08, 2020 06:23PM |
Registered: 4 years ago Posts: 213 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards March 08, 2020 08:07PM |
Registered: 11 years ago Posts: 341 |
Quote
gloomyandy
Hi @sdavi I now have my rPi and SKR V1.4 board talking to each other (at the default 2MHz SPI speed). Which is pretty cool. Great work (again!). Hopefully tomorrow I can try a few more things out and perhaps even hook it up to my printer control board and test things there. I'm not sure that I have a very consistent rPi setup at the moment as I'm using the released rPi duet3 boot disk but DCS built from source, I probably need to sort that out before I go any further!
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards March 09, 2020 05:00AM |
Registered: 13 years ago Posts: 224 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards March 09, 2020 08:08PM |
Registered: 4 years ago Posts: 213 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards March 10, 2020 05:38AM |
Registered: 7 years ago Posts: 1,007 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards March 10, 2020 05:47AM |
Registered: 13 years ago Posts: 224 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards March 10, 2020 06:39AM |
Registered: 13 years ago Posts: 224 |
Middleware/CustomEndpointMiddleware.cs(255,40): error CS0012: The type 'PipeWriter' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.IO.Pipelines, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. [/home/pi/DSF/DuetSoftwareFramework/src/DuetWebServer/DuetWebServer.csproj]
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards March 10, 2020 08:23AM |
Registered: 4 years ago Posts: 213 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards March 10, 2020 10:20AM |
Registered: 13 years ago Posts: 224 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards March 10, 2020 10:39AM |
Registered: 4 years ago Posts: 213 |
dotnet publish -r linux-arm -c Debug -o /opt/dsf/bin DuetControlServer.csprojOh and I did this on the rPi not using any sort of remote build setup. I haven't tried building the web server side of things.
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards March 10, 2020 11:13AM |
Registered: 13 years ago Posts: 224 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards March 10, 2020 12:42PM |
Registered: 4 years ago Posts: 213 |
/Config file to define Hardware Pins LPC Boards. //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 8266wifi.EspDataReadyPin = 0.28 8266wifi.LpcTfrReadyPin = 1.30 8266wifi.EspResetPin = 1.31 linux.TfrReadyPin = 0.28 lpc.adcEnablePreFilter =true
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards March 11, 2020 07:12AM |
Registered: 7 years ago Posts: 1,007 |
Quote
jay_s
@MKSA
The ethernet build has just been updated.
If possible, I would suggest using a static IP with M552 rather than setting it to DHCP
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards March 11, 2020 07:20AM |
Registered: 13 years ago Posts: 224 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards March 11, 2020 08:37AM |
Registered: 4 years ago Posts: 213 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards March 11, 2020 08:57AM |
Registered: 7 years ago Posts: 1,007 |
Quote
jay_s
@MKSA
I get a connection easily less than 1 minute if not closer to 30 seconds.
I have another MKS board that has a borked network connection. It would probably be possible to connect a wifi module to the board and use that instead.
I wouldn't be sure on which pins to use on EXP1 and EXP2 though. Might be worth looking at if you have a spare wemos D1 or nodeMCU board kicking about.
If you do go that route, if you could let me know pins used etc, I'll add it to the wiki
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards March 11, 2020 09:02AM |
Registered: 13 years ago Posts: 224 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards March 11, 2020 12:07PM |
Registered: 7 years ago Posts: 1,007 |
Quote
jay_s
@MKSA
Any thoughts on what board you are going to go for?