User Tools

Site Tools


projects:3dprinting:anycubic_i3_mega:replacing_atmega2560

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
projects:3dprinting:anycubic_i3_mega:replacing_atmega2560 [2020/03/16 12:57] – [Flashing with avrdude] adminprojects:3dprinting:anycubic_i3_mega:replacing_atmega2560 [2022/02/04 12:40] (current) – [Install avrdude] admin
Line 9: Line 9:
 |  {{:projects:3dprinting:anycubic_i3_mega:img_20200312_102818.jpg?400}}  | |  {{:projects:3dprinting:anycubic_i3_mega:img_20200312_102818.jpg?400}}  |
  
-This is the wiring connection between the AVR Dragon and the Trigorilla ISP connector:+This is the wiring connection between an AVR Dragon and Trigorilla ISP connector:
 ^   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 -avrdude-6.3.tar.gz | tar xf - +# 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/SOMEWHERE/apps/avrdude 
 +cd !$ 
 +wget http://download.savannah.gnu.org/releases/avrdude/avrdude-6.4.tar.gz 
 +tar xzf avrdude-6.4.tar.gz 
 +# See here https://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash.html#Word-Designators 
 +# for an explanation about word designaters in bash 
 +cd !$:r:r
 ./configure ./configure
 make make
-su root -c 'make install'+sudo make install
 </code> </code>
  
projects/3dprinting/anycubic_i3_mega/replacing_atmega2560.1584359877.txt.gz · Last modified: 2020/03/16 12:57 by admin