Instructions on how to flash an atmega2560 with klipper using avrdude.
This commit is contained in:
parent
5d5ba8e7fb
commit
353e7b9174
|
|
@ -0,0 +1,18 @@
|
|||
|
||||
Atmega2560
|
||||
|
||||
This chip is typically found in the “Arduino Mega” and is very common in 3d printer boards.
|
||||
|
||||
To flash the bootloader itself use something like:
|
||||
|
||||
wget 'https://github.com/arduino/Arduino/raw/1.8.5/hardware/arduino/avr/bootloaders/stk500v2/stk500boot_v2_mega2560.hex'
|
||||
|
||||
avrdude -cavrispv2 -patmega2560 -P/dev/ttyACM0 -b115200 -e -u -U lock:w:0x3F:m -U efuse:w:0xFD:m -U hfuse:w:0xD8:m -U lfuse:w:0xFF:m
|
||||
avrdude -cavrispv2 -patmega2560 -P/dev/ttyACM0 -b115200 -U flash:w:stk500boot_v2_mega2560.hex
|
||||
avrdude -cavrispv2 -patmega2560 -P/dev/ttyACM0 -b115200 -U lock:w:0x0F:m
|
||||
|
||||
To flash an application use something like:
|
||||
|
||||
avrdude -cwiring -patmega2560 -P/dev/ttyACM0 -b115200 -D -Uflash:w:out/klipper.elf.hex:i
|
||||
|
||||
|
||||
|
|
@ -190,12 +190,12 @@ pin_up_touch_mode_reports_triggered: False
|
|||
x_offset: -37
|
||||
y_offset: 0
|
||||
z_offset: 1.45
|
||||
samples: 3
|
||||
sample_retract_dist: 2.5
|
||||
|
||||
[bed_mesh]
|
||||
speed: 50
|
||||
horizontal_move_z: 6
|
||||
samples: 3
|
||||
sample_retract_dist: 2.5
|
||||
mesh_min: 54,15
|
||||
mesh_max: 233,220
|
||||
probe_count: 4,4
|
||||
|
|
|
|||
Loading…
Reference in New Issue