Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
reprap:anet:anet_mainboard_overclocking [2018/01/04 05:23] – [Updating the bootloader] gmarsh23 | reprap:anet:anet_mainboard_overclocking [2018/01/04 05:45] – [Marlin changes] gmarsh23 | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Anet Motherboard Overclocking ===== | ===== Anet Motherboard Overclocking ===== | ||
- | This page is a work in progress: I'm unfamiliar with the formatting syntax used on here, and I'm preparing | + | HEADS UP: This page is very much a draft, and it's definitely not easy to follow at this point. |
+ | Also, my experience developing for Atmel AVR parts is done using AVR-GCC and/or Atmel Studio, and I haven' | ||
+ | |||
+ | This is a wiki, so feel free to expand on this article or make changes as you see fit. | ||
+ | |||
+ | Thanks! | ||
==== Table of Contents ==== | ==== Table of Contents ==== | ||
Line 20: | Line 25: | ||
* pins_ANET_10.h | * pins_ANET_10.h | ||
* speed_lookuptable.h | * speed_lookuptable.h | ||
- | * Compile and install new firmware | + | * Compile and install new Marlin |
- | * Potential issues | + | |
==== Introduction ==== | ==== Introduction ==== | ||
Line 139: | Line 143: | ||
==== Marlin changes ==== | ==== Marlin changes ==== | ||
- | A number of files in Marlin have to be modified for operation at frequencies other than 16 or 20MHz. | + | A number of files in Marlin have to be modified for operation at frequencies other than 16 or 20MHz. This is in addition to the changes to the Configuration.h and Configuration_adv.h files. |
=== platformio.ini === | === platformio.ini === | ||
Line 190: | Line 194: | ||
#endif | #endif | ||
- | === pins_ANET_10.h === | + | === Marlin/pins_ANET_10.h === |
If you're using the stock A8 display, you can ignore this section. If you're using the full graphics display from the A6, this is required or else the display on the printer will be garbled. | If you're using the stock A8 display, you can ignore this section. If you're using the full graphics display from the A6, this is required or else the display on the printer will be garbled. | ||
Line 206: | Line 210: | ||
#define ST7920_DELAY_3 DELAY_7_NOP | #define ST7920_DELAY_3 DELAY_7_NOP | ||
+ | === Marlin/ | ||
+ | |||
+ | Marlin only comes with two lookup tables provided in this file, for operation at 16MHz and 20MHz. For other clock frequencies, | ||
+ | |||
+ | Here is a replacement for the file which has the 24MHz table added: https:// | ||
+ | |||
+ | To generate a table for a different frequency, Marlin provides a Python script in the buildroot/ | ||
+ | |||
+ | #> python createSpeedLookupTable.py --cpu-freq 25 > new_table.h | ||
+ | |||
+ | If you're using a crystal frequency which isn't a multiple of 1MHz, you'll need to edit the script to remove the "* 1000000" | ||
+ | ==== Compiling and installing new firmware ==== | ||
+ | There are many guides online describing how to compile and install Marlin on an Anet A8. Find one and link it here :) |