a5s:custom-firmware-developer-info
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
a5s:custom-firmware-developer-info [2019/03/22 20:52] – [Pinout] samuelpinches | a5s:custom-firmware-developer-info [2019/06/15 16:36] – created samuelpinches | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Developer Information for A5S & A1 Custom Firmware ===== | + | Please note this page has moved. See [[https://jgauroraforum.com/discussion/730/how-to-compile-your-own-custom-marlin-2-0-firmware-for-jgaurora-a5s-and-a1#latest|this page]] for instructions and discussion on how to compile Marlin 2.0 with platformio: |
- | + | ||
- | **This document provides more detailed developer info on the custom firmware, as well as info on how to setup a build environment and build your own version of the firmware from scratch. Due to compiler differences resulting on error message on mac, these instructions are currently PC only.** | + | |
- | + | ||
- | === A5S & A1: Printer Firmware Differences === | + | |
- | The A5S and A1 are powered by the same motherboard. The only difference between these printers, is that the x-axis is reversed on the A1, so the motor directions must be changed. This also means that homing occurs to X-max, rather than the traditional X-min. The only other differences are minor geometry changes since the A5S and A1 differ in build volume. | + | |
- | + | ||
- | === Step 1. Download a copy of the firmware files === | + | |
- | You can either clone or download a copy of all the files from github here using [[https://github.com/pinchies/Marlin|the green button here]]. | + | |
- | + | ||
- | === Step 2. Configure your files for the correct printer. === | + | |
- | These differences are all contained within the main configuration.h files for these printers. To configure the build for the correct printer, the correct configuration files can be copied from the [[https:// | + | |
- | + | ||
- | === Step 3. Install a platformio-compatible code editor of your choice. === | + | |
- | You have two options for supported code editors, you can use [[https:// | + | |
- | + | ||
- | + | ||
- | === Step 4. Install Platformio === | + | |
- | Install instructions for Platformio are [[https:// | + | |
- | + | ||
- | {{: | + | |
- | + | ||
- | NOTE: Installing takes some time, and happens in the background. You may want to leave this running for an hour to fully setup. If you find your projects don't compile, and seem to be frozen, don't worry, PlatformIO probably hasn't finished fully installing all the internal components. | + | |
- | + | ||
- | === Step 5. Setup Workspace === | + | |
- | Add the entire Marlin root folder to your workspace in Platformio. | + | |
- | + | ||
- | {{: | + | |
- | + | ||
- | === Step 6. Build Project === | + | |
- | Click the build button in the toolbar, like shown below. Platformio will download the correct packages and libraries for the firmware, so this may take some time. | + | |
- | {{: | + | |
- | + | ||
- | === Step 7. Install Firmware === | + | |
- | The compiled firmware files will be found in the main folder, located in an invisible folder under / | + | |
- | + | ||
- | There will be two files: | + | |
- | * firmware_with_bootloader.bin | + | |
- | * firmware_for_sd_upload.bin. | + | |
- | + | ||
- | The file with bootloader is to be used if flashing a blank motherboard, | + | |
- | + | ||
- | If you don't have a programmer device available, then you will have to flash using the SD card method: | + | |
- | | + | |
- | | + | |
- | | + | |
- | - Insert the SD card. | + | |
- | - Plug in and turn on the printer. Flashing will occur automatically. | + | |
- | + | ||
- | Flashing via SD card doesn' | + | |
- | + | ||
- | + | ||
- | ==== Original A5S Source Code ==== | + | |
- | JGAurora released the source code for the A5S in late 2018. These files can be download here: | + | |
- | + | ||
- | * [[https:// | + | |
- | + | ||
- | This firmware is based off the open source Dlion firmware project. That project which was an implementation of (a very old version of) the Marlin firmware, within a OpenRTOS project, | + | |
- | + | ||
- | ==== Pinout ==== | + | |
- | {{:a5s: | + | |
+ | [[https:// |
a5s/custom-firmware-developer-info.txt · Last modified: 2020/12/25 02:13 by 127.0.0.1