Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 19, 2020 04:25PM |
Registered: 3 years ago Posts: 3 |
Quote
jay_s
Can you install the latest test version 3.1.1-8 from gloomyandys post a few posts back?
There's been a number of fixes since that release
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 19, 2020 04:36PM |
Registered: 3 years ago Posts: 213 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 19, 2020 04:37PM |
Registered: 12 years ago Posts: 224 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 19, 2020 05:16PM |
Registered: 6 years ago Posts: 10 |
I've already ordered 5 TMC5160 from China. I'll check the schematic, maybe I can make something work. Thanks for the update.Quote
gloomyandy
I doubt if that TMC51xx support will work without a reasonable amount of work. The Duet 51xx support expects to use hardware SPI and it is all for a different set of processors (various SAMExx versions) which have a different hardware SPI unit to the LPC17xx used by this port. It certainly won't be just a case of setting the compiler option. What aspects of the 5160 do you need? Have you considered using 2209s?
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 19, 2020 06:15PM |
Registered: 3 years ago Posts: 3 |
Quote
gloomyandy
There are two sets of test builds available at the moment:
3.1.1-7: [drive.google.com]
3.1.1-9: [drive.google.com]
You should probably try 3.1.1-9 but if you hit problems please report them (along with M122 output when the firmware reboots) and try the 3.1.1-7 version.
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 20, 2020 10:18AM |
Registered: 6 years ago Posts: 1,007 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 20, 2020 10:35AM |
Registered: 3 years ago Posts: 213 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 21, 2020 12:32AM |
Registered: 6 years ago Posts: 1,007 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 21, 2020 02:00AM |
Registered: 10 years ago Posts: 341 |
Quote
MKSA
@sdavi An other issue, still related to the TFT32 communication, strange but dangerous:
From DWC (works but takes about 15 minutes to load as already mentioned), system works. I can home, set T°, print ....
BUT from the TFT32 when I set the hotend to say 130° (in fact any temp) , the T° keeps rising, never stopping ! I had to cut the power in an emergency as it was going beyond 350° !!!
Somewhat this TFT32 com issue must screw up the system because my Heaters set up is OK as I have not this when I control via DWC.
@gloomyandy My concern is illustrated by the above. Firmware change that corrupt other, even unrelated modules !
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 21, 2020 03:24AM |
Registered: 3 years ago Posts: 213 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 21, 2020 05:36AM |
Registered: 6 years ago Posts: 1,007 |
Quote
sdavi
Quote
MKSA
@sdavi An other issue, still related to the TFT32 communication, strange but dangerous:
From DWC (works but takes about 15 minutes to load as already mentioned), system works. I can home, set T°, print ....
BUT from the TFT32 when I set the hotend to say 130° (in fact any temp) , the T° keeps rising, never stopping ! I had to cut the power in an emergency as it was going beyond 350° !!!
Somewhat this TFT32 com issue must screw up the system because my Heaters set up is OK as I have not this when I control via DWC.
@gloomyandy My concern is illustrated by the above. Firmware change that corrupt other, even unrelated modules !
That is strange. As I mentioned that was an early build that included a number of changes which needed extra caution - although I have been testing it a quite a lot but there must be a some odd issue going on (there may be issue with the dma rx which i'll look into such as an overrun or something). It's also strange that if something got "stuck" that it didn't reset. I'd suggest reverting back to a stable version. I debug over UART0 and haven't seen any issues like that with the new version so that is very odd. Are you using the original TFT firmware or the modified version to work in paneldue mode?
I think there is only about 2 reports of people with that slow networking issue and both are using sbase. I'm not sure if they all are affected or not, or if anyone else on another board has had it, I don't have that sort of info as you only usually hear about the things that don't work or sometimes people will try something doesn't work and just delete it and not say anything. I did add an extra variable in that test build to report if the driver was dropping Tx packets and will show in M122 if its non-zero, but I don't think that should happen as they should be reserved just for tx. I spent quite a while recently with the network code and i'm not sure what else it could be. Unfortunately, that's something I've never seen or able to replicate.
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 21, 2020 05:41AM |
Registered: 10 years ago Posts: 341 |
Quote
gloomyandy
@SDavi as an extra data point, I have an SBase (as I think does Jay_S) and have not been able to reproduce the slow download of DWC (and I've tried it on a couple of different routers and over powerline adaptors), in all of those cases DWC downloads in about a minute for me. I have however seen the problem (that I think you have a fix for) of the connection sometimes connecting at 10Mbit rather than 100Mbit. The only major problem I've seen was caused by the use of an invalid MAC address because a default was not being set on the LPC port.
@MKSA Unfortunately that is the nature of software development, especially with real time systems like these. Sometimes changes in one part of the system can have an impact on other parts that the developer did not anticipate. Before I make builds public I try to test things as much as I can. I have there test systems - SKR V1.4 with WiFi, SKR V1.3 with SBC and SBase with ethernet and I try to make sure that the builds work on all of them, I also check that running with USB terminal connections and a PanalDue work on those systems. But doing all of that is a lot of effort and will still not reproduce all of the variations that people using the firmware are likely to create. That's why we need the help of users to test things. In the case of my recent developments (which contain a lot of changes), I asked Jay_S to test things for me before making things more widely available to try and spot any major issues. When I did make the builds available I tried to make it clear that this is a test build. I'm really not sure what the alternative is, but I'd be happy to hear any suggestions.
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 21, 2020 05:57AM |
Registered: 3 years ago Posts: 213 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 23, 2020 03:21AM |
Registered: 6 years ago Posts: 1,007 |
Quote
sdavi
....
CoreLPC Updates
...
[*] DMA for UART0 (default AUX serial):
- Circular RX Ringbuffer implemented entirely with DMA (zero interrupts).
- TX data is sent out in a block via DMA rather than using the interrupt driven ringbuffer. Since the data comes from output buffers in RRF, and it attempts to write as much as possible each attempt this method seems to work well (and only 1 interrupt at the end of each block of data sent).
[/list]
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 28, 2020 06:10AM |
Registered: 3 years ago Posts: 12 |
Man,I stuck in trouble to modify the rrf to support 7 steppers because i dont know the exactly file to be modify.Is there some routine or docs?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 June 28, 2020 07:12AM |
Registered: 3 years ago Posts: 213 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 28, 2020 07:15AM |
Registered: 3 years ago Posts: 213 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 28, 2020 02:08PM |
Registered: 3 years ago Posts: 12 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 28, 2020 02:14PM |
Registered: 3 years ago Posts: 12 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards June 28, 2020 02:27PM |
Registered: 3 years ago Posts: 213 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards July 01, 2020 01:33AM |
Registered: 6 years ago Posts: 1,007 |
Quote
sdavi
....
CoreLPC Updates
...
[*] DMA for UART0 (default AUX serial):
- Circular RX Ringbuffer implemented entirely with DMA (zero interrupts).
- TX data is sent out in a block via DMA rather than using the interrupt driven ringbuffer. Since the data comes from output buffers in RRF, and it attempts to write as much as possible each attempt this method seems to work well (and only 1 interrupt at the end of each block of data sent).
[/list]
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards July 01, 2020 02:15AM |
Registered: 12 years ago Posts: 224 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards July 01, 2020 05:06AM |
Registered: 6 years ago Posts: 1,007 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards July 03, 2020 02:28AM |
Registered: 5 years ago Posts: 13 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards July 03, 2020 03:37AM |
Registered: 3 years ago Posts: 213 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards July 03, 2020 03:48AM |
Registered: 5 years ago Posts: 13 |
Quote
gloomyandy
Please post...
* A picture of your board and WiFi module so we can see how you have it set up.
* The contents of your board.txt file
* The output from M122 P200
Have you flashed the WiFi firmware to your WiFi module?
What stepper driver modules are you using, they are currently all reporting errors.
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards July 03, 2020 03:48AM |
Registered: 5 years ago Posts: 13 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards July 03, 2020 12:01PM |
Registered: 5 years ago Posts: 13 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards July 03, 2020 01:19PM |
Registered: 6 years ago Posts: 1,007 |
Re: RepRapFirmware 3.0 port for LPC1768/9 based boards July 04, 2020 05:20AM |
Registered: 5 years ago Posts: 13 |