diff --git a/klipper/klipper_cfg/firmware/flash_atmega2560.txt b/klipper/klipper_cfg/firmware/flash_atmega2560.txt new file mode 100644 index 0000000..cf11b9a --- /dev/null +++ b/klipper/klipper_cfg/firmware/flash_atmega2560.txt @@ -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 + + diff --git a/klipper/klipper_cfg/printer/klipper-geeetech-a10-bltouch.cfg b/klipper/klipper_cfg/printer/klipper-geeetech-a10-bltouch.cfg index 7c24b65..d34ae09 100644 --- a/klipper/klipper_cfg/printer/klipper-geeetech-a10-bltouch.cfg +++ b/klipper/klipper_cfg/printer/klipper-geeetech-a10-bltouch.cfg @@ -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