This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
projects:3dprinting:anycubic_i3_mega:replacing_atmega2560 [2020/03/16 12:57] – [Flashing with avrdude] admin | projects:3dprinting:anycubic_i3_mega:replacing_atmega2560 [2022/02/04 12:40] (current) – [Install avrdude] admin | ||
---|---|---|---|
Line 9: | Line 9: | ||
| {{: | | {{: | ||
- | This is the wiring connection between | + | This is the wiring connection between |
^ AVR Dragon ISP (pin) ^ Trigorilla ISP connector (pin) ^ | ^ AVR Dragon ISP (pin) ^ Trigorilla ISP connector (pin) ^ | ||
| 1: MISO | 1: D50 (Mega2560 pin 22) | | | 1: MISO | 1: D50 (Mega2560 pin 22) | | ||
Line 17: | Line 17: | ||
| 5: RESET | 5 RESET (Mega2560 pin 30) | | | 5: RESET | 5 RESET (Mega2560 pin 30) | | ||
| 6: GND | 6: GND | | | 6: GND | 6: GND | | ||
+ | |||
+ | (Pin marking is given on the silk-screen) | ||
For flashing the bootloader, download and install avrdude: | For flashing the bootloader, download and install avrdude: | ||
Line 28: | Line 30: | ||
<code bash> | <code bash> | ||
- | gunzip | + | # Dependencies |
- | cd avrdude-6.0 | + | sudo apt-get update |
+ | sudo apt-get install build-essential bison flex automake libelf-dev libusb-1.0-0-dev libusb-dev libftdi-dev libftdi1 | ||
+ | |||
+ | mkdir -p $HOME/ | ||
+ | cd !$ | ||
+ | wget http:// | ||
+ | tar xzf avrdude-6.4.tar.gz | ||
+ | # See here https:// | ||
+ | # for an explanation about word designaters in bash | ||
+ | cd !$:r:r | ||
./configure | ./configure | ||
make | make | ||
- | su root -c 'make install' | + | sudo make install |
</ | </ | ||