reprap:anet:anet_mainboard_overclocking

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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] gmarsh23reprap: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 this article over the span of a few days with the bit of free time I have availablePlease be patient :)+HEADS UP: This page is very much 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't really picked up the proper 'Arduino way' of doing things. There's probably much more easy/elegant methods of doing the bootloader installation than I've explained here.
 +
 +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 firmware
-  * 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/speed_lookuptable.h ===
 +
 +Marlin only comes with two lookup tables provided in this file, for operation at 16MHz and 20MHz. For other clock frequencies, a new stepper speed lookup table has to be added.
 +
 +Here is a replacement for the file which has the 24MHz table added: https://pastebin.com/KchhubLN
 +
 +To generate a table for a different frequency, Marlin provides a Python script in the buildroot/share/scripts which can be used to generate a new table. For example, to generate a table for 25MHz operation, use the following:
 +
 +  #> 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" line, and call the script with --cpu-freq <hz> instead.
 +==== 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 :)
  • reprap/anet/anet_mainboard_overclocking.txt
  • Last modified: 2018/12/02 02:27
  • by 127.0.0.1