This repository proposes an example firmware for the ST Microelectronics 3D printer board STEVAL-3DP001V1.
The Marlin4ST firmware relies on STM32Cube and integers the 3D printer algorithms from the Marlin firmware.
It can be used unchanged on the 3D Printer "Prusa I3 rework 5".
For other mechanics, you will need to update the file:
stm32_cube\Middlewares\Third_Party\Marlin\configuration.h
according to your configuration.
This example requires :
- a 3D printer board STEVAL-3DP001V1
- a 3D printer mechanic (for example a Prusa I3 rework 5)
A binary of the FW can be found under folder: \stm32_cube\Binary. To load it or to load your own binary into the 3D printer board, the easiest way is to use the mass storage interface provided by the embedded ST-LINK (simply drag and drop to disk). To use it, follow the procedure below:
- Power on the 3D Printer board by connecting its connectors Vin (12V-24V) and Gnd to a DC power supply
- Connect the ST 3D Printer reference board to a PC with the USB cable through the ST Link USB port. Jumper J22 (boot mode selection) must be set.
- In your files explorer, a new drive should appear in the list of removable storages. If this is not the case, this is probably because you haven't the ST-Link USB driver. You can find it here.
- Just copy, the binary file to the root of this new drive. Then refresh your file explorer: if the binary file has disappeared and no error log file has been generated, it means the binary file has been successfully loaded.
- Reset the board to start the loaded binary file. To correctly start the default firmware requires a SD card with a configuration file.
In order to recompile the program , you must do the following :
- Open your preferred toolchain (IAR or SW4STM32 are natively supported)
- For IAR, open the project: stm32_cube\Projects\STM32F4xx-3dPrinter\Marlin\EWARM\Project.eww
- For SW4STM32 :
- the workspace location must be: _stm32_cube_
- then open the project from: ST_Marlin\stm32_cube\Projects\STM32F4xx-3dPrinter\Marlin\SW4STM32\Marlin
- Rebuild all files and load your image into target memory
- Run the example