Coder Social home page Coder Social logo

tckb / flashforge_marlin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from moonglow/flashforge_marlin

1.0 1.0 0.0 4.81 MB

:shark: Marlin firmware for some FlashForge 3D printers

Python 0.81% Shell 0.69% C 27.05% Makefile 0.28% C++ 70.95% Objective-C 0.07% NASL 0.01% GDB 0.01% OpenSCAD 0.05% JavaScript 0.04% G-code 0.02% HTML 0.01% CSS 0.02%

flashforge_marlin's Introduction

Marlin 2.x Firmware for Flashforge 3D Printers

GitHub Workflow Status

Current firmware is based on 2.0.7.2

What works?

  • TFT display ( ILI9488 and OTM4802 )
  • Touch screen controller ( XPT2046 )
  • Chamber and bed temperature sensors ( internal ADC )
  • Extruder K-type thermocouple with external ADC ( ADS1118 )
  • Chamber RGB light ( PCA9632 PWM controller )
  • Stepper motor current setup ( MCP4018 digital potentiometer )
  • Print cooling fan, chamber fan, endstops, stepper motor signals control
  • External SD card
  • USB ( virtual serial port )
  • Internal storage ( read discussion)
  • Power-loss recovery (read discussion)

Unsupported

Head on to the wiki page to find more details on flashing the firmware, building from source etc.

Supported platforms:

The scripts are written to work well with the following platforms -

  • macOS
  • GNU/Linux

Supported printers:

  • DreamerNX
  • Dreamer (Untested)
  • Inventor (Untested)

Want to support me ?

Credits

  • This repo is a fork of the excellent effort made by @moonglow, consider supporting his work.

Disclaimer

All though the firmware might work on the supported printer just fine, I still require testers to confirm. Please exercise your own judgement on using it. I am not liable, nor I bare responsibility in the event of a failure but, I will support you in fixing should there be any problems.

flashforge_marlin's People

Contributors

moonglow avatar tckb avatar

Stargazers

 avatar

Watchers

 avatar

flashforge_marlin's Issues

Stock firmware flashing timesout, requires two tries to flash

[INFO]: Flashing FlashForge_Marlin/BUILD/marlin_dreamer_nx_v0.8.bin
Flashing firmware:  FlashForge_Marlin/BUILD/marlin_dreamer_nx_v0.8.bin
***********"
Ready to Flash Stock?:  False
***********"
Switch off your printer and connect to this computer via USB. When your are ready, press enter and switch on printer..
Searching for Flashforge printers ...
Found printer:

 DEVICE ID 0315:000a on Bus 020 Address 054 =================
(...)
 iManufacturer          :    0x1 Flashforge
 iProduct               :    0x2 FlashForge Dreamer NX 3D Printer
(...)
  CONFIGURATION 1: 100 mA ==================================
(...)
    INTERFACE 0: Vendor Specific ===========================
(...)      ENDPOINT 0x1: Bulk OUT ===============================
(...)      ENDPOINT 0x81: Bulk IN ===============================
(...)      ENDPOINT 0x83: Bulk IN ===============================
(...)
      ENDPOINT 0x3: Bulk OUT ===============================
(...)
Initiating control loop...
Starting control loop...
Traceback (most recent call last):
  File "FlashForge_Marlin/ff_flash_firmware.py", line 87, in <module>
    ret = printer.read(BULK_IN_ENDPOINT_ADDR, 5000)
  File "/usr/local/lib/python3.8/site-packages/usb/core.py", line 1019, in read
    ret = fn(
  File "/usr/local/lib/python3.8/site-packages/usb/backend/libusb1.py", line 846, in bulk_read
    return self.__read(self.lib.libusb_bulk_transfer,
  File "/usr/local/lib/python3.8/site-packages/usb/backend/libusb1.py", line 954, in __read
    _check(retval)
  File "/usr/local/lib/python3.8/site-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])

Use official Marlin repo as submodule

the current repo is based on 2.0.7.2 release version of Marlin. This is not a maintainable, a better approach would be using the official release version as a submodule and patch the branch with Flashforge related changes

SHOW_REMAINING_TIME option

commit

Must do nothing in our case, we do not have HAS_MARLINUI_U8GLIB or HAS_MARLINUI_HD44780 or IS_TFTGLCD_PANEL enabled. It works for you ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.