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:11] – gmarsh23 | reprap:anet:anet_mainboard_overclocking [2018/01/04 05:27] – [Table of Contents] gmarsh23 | ||
---|---|---|---|
Line 20: | Line 20: | ||
* 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 90: | Line 89: | ||
==== Updating the bootloader ==== | ==== Updating the bootloader ==== | ||
+ | |||
+ | Once the crystal is changed, put the control board back in your printer and connect ONLY the power input to the board; leave everything else disconnected for now. Connect your ISP programmer to the board. | ||
=== Downloading and compiling Optiboot === | === Downloading and compiling Optiboot === | ||
Line 103: | Line 104: | ||
=== Backing up existing firmware === | === Backing up existing firmware === | ||
- | TBD | + | Use AVRDUDE: |
+ | |||
+ | avrdude -p atmega1284p -c <your programmer> | ||
=== Flashing new firmware === | === Flashing new firmware === | ||
- | TBD | + | Use AVRDUDE: |
+ | |||
+ | avrdude -p atmega1284p -c <your programer> | ||
+ | |||
+ | Once the board is programmed, connect the board to your PC via its USB connection, and attempt to " | ||
+ | |||
+ | avrdude -c arduino -p m1284p -P COM1 -b 57600 -v | ||
+ | |||
+ | If everything goes well, you should see a screen that looks like this, indicating that the bootloader is up and running. | ||
+ | |||
+ | avrdude: AVR device initialized and ready to accept instructions | ||
+ | |||
+ | Reading | ################################################## | ||
+ | |||
+ | avrdude: Device signature = 0x1e9705 | ||
+ | avrdude: safemode: lfuse reads as 0 | ||
+ | avrdude: safemode: hfuse reads as 0 | ||
+ | avrdude: safemode: efuse reads as 0 | ||
+ | |||
+ | avrdude: safemode: lfuse reads as 0 | ||
+ | avrdude: safemode: hfuse reads as 0 | ||
+ | avrdude: safemode: efuse reads as 0 | ||
+ | avrdude: safemode: Fuses OK (E:00, H:00, L:00) | ||
+ | |||
+ | avrdude done. Thank you. | ||
==== 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 178: | Line 205: | ||
#define ST7920_DELAY_3 DELAY_7_NOP | #define ST7920_DELAY_3 DELAY_7_NOP | ||
+ | ==== 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 :) |