Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
reprap:anet:anet_mainboard_overclocking [2018/01/04 15:41] – [Crystal selection and replacement] gmarsh23 | reprap:anet:anet_mainboard_overclocking [2018/01/09 04:14] – [Crystal selection and replacement] gmarsh23 | ||
---|---|---|---|
Line 59: | Line 59: | ||
=== Choosing a new crystal === | === Choosing a new crystal === | ||
- | The Anet V1.0 board requires a " | + | The Anet V1.0 board requires a " |
Here are some suitable crystal frequencies to choose from: | Here are some suitable crystal frequencies to choose from: | ||
Line 70: | Line 70: | ||
| 27MHz | +68.8% | +35% | May be unstable.\\ significant baud rate error (see below)\\ Can be salvaged from video equipment (DVD players, etc) | | | 27MHz | +68.8% | +35% | May be unstable.\\ significant baud rate error (see below)\\ Can be salvaged from video equipment (DVD players, etc) | | ||
- | If you're using the USB interface of the printer, using Octoprint for example, the crystal you choose affects how accurate the baud rate of the Mega1284P' | + | Note: If you're using the USB interface of the printer, using Octoprint for example, the crystal you choose affects how accurate the baud rate of the Mega1284P' |
^ Crystal freq (below), baud (right) ^ 115200 ^ 230400 ^ 250000 ^ 460800 ^ 500000 ^ 921600 ^ 1000000 ^ 1500000 ^ | ^ Crystal freq (below), baud (right) ^ 115200 ^ 230400 ^ 250000 ^ 460800 ^ 500000 ^ 921600 ^ 1000000 ^ 1500000 ^ | ||
Line 100: | Line 100: | ||
=== Downloading and compiling Optiboot === | === Downloading and compiling Optiboot === | ||
+ | |||
+ | **If you're using a 24MHz crystal, just copy this paste and save it as a .hex file:** https:// | ||
You'll need to download and compile Optiboot first. More information can be found on the Optiboot github page: https:// | You'll need to download and compile Optiboot first. More information can be found on the Optiboot github page: https:// | ||
Line 105: | Line 107: | ||
Use the following options to compile it for the Anet V1.0 board. Change the " | Use the following options to compile it for the Anet V1.0 board. Change the " | ||
- | make AVR_FREQ=24000000L BAUD_RATE=57600 LED=A4 | + | make AVR_FREQ=24000000L BAUD_RATE=57600 LED=A4 UART=0 |
Save the .hex file for later. | Save the .hex file for later. | ||
Line 117: | Line 119: | ||
=== Flashing new firmware === | === Flashing new firmware === | ||
- | Use AVRDUDE: | + | Use AVRDUDE |
+ | |||
+ | avrdude -p atmega1284p -c <your programmer> | ||
+ | avrdude -p atmega1284p -c <your programmer> | ||
- | avrdude -p atmega1284p -c <your programer> | + | The fuse values given move the bootloader start address to 0xFE00/ |
Once the board is programmed, connect the board to your PC via its USB connection, and attempt to " | Once the board is programmed, connect the board to your PC via its USB connection, and attempt to " |