Welcome! Log In Create A New Profile

Advanced

STM32F4 port of RepRap Firmware 3.1.x+

Posted by gloomyandy 
STM32F4 port of RepRap Firmware 3.1.x+
August 20, 2020 04:36PM
I have just uploaded beta test versions of an experimental STM32F4 port of RepRap Firmware V3.1.x+. The firmware files can be found here:
[drive.google.com]

This port is an enhanced version of the RepRap Firmware LPC176x port and much of the documentation/features etc. applies to both.
Currently the following boards are supported:
  • BTT SKR Pro V1.1
  • BTT SKR Pro V1.2
  • BTT GTR V1.0 (The expansion board is not currently supported)

Two versions of the firmware are provided:
  • firmware-wifi.bin supports access by an ESP8266 WiFi module.
  • firmware-sbc.bin supports connection to a Raspberry Pi SBC.
Both versions have USB and serial ports enabled.

For more information on installing and configuring the firmware please see the STM32F4 sections of the Wiki:
[github.com]

For help with generating RRF configuration files please see the online configuration tool (which has been updated for this release):
[jaysuk.github.io]

For help and general discussion please use the discord server:
[discord.gg]

I'd like to thank jay_s and PCR for their work in supporting the LPC version (WiKi, Hardware, Config tool, Discord and lots more) and all of their support and testing of
early versions of this software. I'd also like to thank SDavi and DC42 for all of their contributions to RRF.

Please note the following:
  • The WiFi version of this firmware requires updated firmware on the ESP8266 (it removes the small number of active socket limitation
    used with the LPC version). The updated ESP8266 firmware is provided in the link above (see the WiKi for programming details).
  • The SBC version of this firmware removes many of the limitations present in the LPC port (which are due to memory constraints), because of
    this the STM32F4 version now uses the standard Duet3D SBC RPi software not the version modified for the LPC.
  • As with the LPC version of RRF the WiFi module and SBC is connected via the EXP1 and EXP2 headers. However it should be noted that the orientation of
    these headers is different on the STM32F4 boards which may make using existing adaptors difficult. Watch this space for news of
    STM32F4 specific boards.
  • PLEASE DO NOT LEAVE ANY HARDWARE RUNNING THIS FIRMWARE UNATTENDED. This version is very new and has only received
    a small amount of testing. It may be used to control heaters and other hardware that in some situations could be dangerous. Please
    monitor operation carefully and use this firmware at your own risk.
Re: STM32F4 port of RepRap Firmware 3.1.x+
August 21, 2020 01:50PM
Hello,
I have an issue withe your nodemcu preflashed. I have set the SSID and the password. The nodemcu reports "Recv: WiFi reported error: no known networks found"
I found, i have to write the ' before the letters. So it works now, but, when i power the printer, the nodemcu dont connect to the wifi.
Is the nodemcu has the old config that not worked in his memory ?
How can i save the good config ?
Can you help me ?
Thanks.

Edited 1 time(s). Last edit at 08/21/2020 02:29PM by Serge_P.
Re: STM32F4 port of RepRap Firmware 3.1.x+
August 21, 2020 02:17PM
You probably used pronterface or octoprint to send the M587 command in which case, the password will have been converted to uppercase.
From the wiki...
If you are using pronteface, it will convert all text to upper case, in which case, if you wanted to use “PassWord”, you would write P”P’a’s’sW’o’r’d” with the ‘ indicating the following letter should be lower case


Based in Darlington, North East
Re: STM32F4 port of RepRap Firmware 3.1.x+
August 21, 2020 06:07PM
Many thanks. In fact, i have send a M552 Snnn Pnnn when i have to send M587 Snnn Pnnn.
Sorry.
Re: STM32F4 port of RepRap Firmware 3.1.x+
August 22, 2020 05:38PM
gloomyandy this is great news I want to thank you
Re: STM32F4 port of RepRap Firmware 3.1.x+
September 07, 2020 07:30PM
How can I build this firmware from the source code?
Re: STM32F4 port of RepRap Firmware 3.1.x+
September 08, 2020 12:56AM
You can't yet as it hasn't been released.
It will be, it just needs further work first


Based in Darlington, North East
Re: STM32F4 port of RepRap Firmware 3.1.x+
September 08, 2020 08:35AM
@ghent360, can I ask why do you need to build from source? What is it you are trying to do?
Re: STM32F4 port of RepRap Firmware 3.1.x+
September 10, 2020 11:08PM
Gloomyandy,
Can the Raspberry pi interface plug / ribbon cable on the BTT GTR V1.0 be used for the SBC Duetpi connection?
Is the +M5 expansion module functionality part of the project?

Thanq for the great work
Re: STM32F4 port of RepRap Firmware 3.1.x+
September 10, 2020 11:24PM
@Crunch69. No the GTR ribbon cable interface is pretty useless all it has connected is power and one UART connection, we need more than that for the SBC. The M5 is not currently supported (because among other reasons I don't have one!). We are trying to get hold of an M5 for testing/development and if/when we do I'll take a look at it. But I'm pretty busy at the moment merging the LPC and STM code together and tracking DC42's latest changes ready for RRF 3.2, so the M5 will be a while.
Re: STM32F4 port of RepRap Firmware 3.1.x+
September 18, 2020 06:37PM
@gloomyandy I want to port it my STM32 board.
Re: STM32F4 port of RepRap Firmware 3.1.x+
September 19, 2020 01:06AM
@ghent360
The source has been released at [github.com]

RRF 3.2 beta 1 has also been released at [github.com]


Based in Darlington, North East
Re: STM32F4 port of RepRap Firmware 3.1.x+
September 19, 2020 07:22PM
@jay_s Thank you this is excellent work. Much obliged for using regular makefiles.
Re: STM32F4 port of RepRap Firmware 3.1.x+
September 20, 2020 01:28PM
@ghent360 What board/mcu are you trying to port this to?
Re: STM32F4 port of RepRap Firmware 3.1.x+
September 20, 2020 08:20PM
@gloomyandy It's my design (STM32F407VE):
[github.com]

Edited 1 time(s). Last edit at 09/20/2020 08:21PM by ghent360.
Sorry, only registered users may post in this forum.

Click here to login