Skip to content
This repository has been archived by the owner on Jul 9, 2020. It is now read-only.

sdavi/RepRapFirmware

 
 

Repository files navigation

⚠️ This repository is no longer maintained. ⚠️

LPC Port of RepRapFirmware V3.x

This is an experimental port of Duet3D's RepRapFirmware for LPC1768/LPC1769 based boards.

Note: This firmware does not show up as a mass storage device when connected to a computer. Physical access to the internal sdcard may be required in order to revert back or update.

Main Differences to Duet3D's RepRapFirmware

The CPUs targeted in this port only have 64K RAM which is less than those that run dc42s RepRapFirmware. Further, there is also some differences between the CPUs, and the following outlines the main differences in this port:

  • A maximum of 4 files can be open at a time.
  • Reduced write buffers for SDCard to save memory.
  • External interrupts (i.e., fan rpm etc) are limited to 3.
  • Software PWM is used to generate up to 7 PWM signals.
  • Hardware timer is used to generate up to 3 Servo PWM signals.
  • Support for up to 5 stepper drivers
  • Networking
    • Only 2 HTTP Sockets and Responders. Only 1 HTTP session at a time.
    • Disabled Ftp and Telnet interfaces
    • Ethernet:
      • Ethernet support uses FreeRTOS +TCP
      • Reduced number of networking buffers and reduced MTU to save memory.
    • Wifi (requires addon ESP8266):
      • Reduced transfer buffers
  • Configuration:
    • GCode M350 - Microstepping for boards included in this port is done via hardware and thus M350 is not required. You may include it in your config.g if you like, but the command has no effect on the operation of the firmware.
    • Some drivers (such as the DRV8825) require specifying the timing information as they require longer pulse timings than the configured default that can result in missed steps.
      • Timing information for stepper drivers can be added using M569 in the config.g. Timing information can usually be found in the stepper driver data sheets.
    • Auto-calibration restrictions to save memory:
      • Maximum number of probe points of 121; and

      • Delta maximum calibration points of 16

      • Rather than producing a binary for each board, this port uses an additional config file located on the internal SDCard (/sys/board.txt) to configure what board pin definitions are loaded as well as any other specific LPC configuration options.

        • Some example board config files [can be found here](LPC/ExampleBoardConfig
        • M122 P200 command is used to print the mappings have been loaded by board.txt and displays all options supported in board.txt
        • Where possible, the labels as written on the board silk screen have been used, and where there are none on the board, the labels from the schematics are used.
          • For boards, such as ReArm etc, that use the i.e x-/x+ labelling for endstops will need to use xmin/xmax due to the way RRF handles the labels. If no labels exist on the board/schematics then the standard port.pin format is used, ie. 2.0.
          • Pin definitions can be found here

The LPC port is experimental and is likely to contain bugs - Use at your own risk

Licence

The source files in this project are licensed under GPLv3, see http://www.gnu.org/licenses/gpl-3.0.en.html.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 71.0%
  • C++ 28.8%
  • CMake 0.1%
  • Makefile 0.1%
  • Perl 0.0%
  • HTML 0.0%