How to flash a Bootloader and Firmware onto an 8bit Creality Mainboard (or any other AVR board)

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ส.ค. 2024
  • Get your PCBs and Project Parts from PCBWay here: www.pcbway.com
    Learn more about the 10th Badge Design Contest here: www.pcbway.com...
    Thanks for watching! Comments aswell as Likes/Dislikes are appreciated.
    Patreon: / cmdrsoyo
    Channel Link: / @cmdrsoyo
    HWBot: hwbot.org/user...
    Software:
    Raspberry Pi Imager: www.raspberryp...
    PuTTY: www.putty.org/
    Arduino IDE: www.arduino.cc...
    FileZilla: filezilla-proj...
    Sanguino custom URL: raw.githubuser...
    Kiahu (for installing Fluidd): github.com/dw-...
    Raspberry Pi Commands used in this video (copy paste these into PuTTY):
    ifconfig
    (show IP)
    sudo apt-get install avrdude
    (install avrdude)
    avrdude -v
    (verify avrdude install)
    cp /etc/avrdude.conf ~/avrdude_gpio.conf
    (copy config file)
    nano ~/avrdude_gpio.conf
    (open/edit config file)
    programmer
    id = "pi_1";
    desc = "Use the Linux sysfs interface to bitbang GPIO lines";
    type = "linuxgpio";
    reset = 17;
    sck = 24;
    mosi = 23;
    miso = 18;
    ;
    (section to be pasted into avrdude_gpio.conf)
    sudo avrdude -p atmega1284p -C ~/avrdude_gpio.conf -c pi_1 -v
    (test connection)
    sudo avrdude -p atmega1284p -C ~/avrdude_gpio.conf -c pi_1 -v -U flash:w:optiboot_atmega1284p.hex:i
    (flash bootloader)
    cd ~/klipper/
    (go to klipper directory)
    make menuconfig
    (open chip select gui)
    make
    (compile klipper)
    ls /dev/serial/by-id/*
    (list address of the AVR board)
    sudo service klipper stop
    (stop klipper service)
    make flash FLASH_DEVICE=[YOUR AVR BOARD ADDRESS]
    (flash klipper)
    sudo service klipper start
    (restart klipper)
    ====================================================================
    Music Used in my videos includes Destiny OST, Stellaris OST as well as Satisfactory OST and tracks from the TH-cam Audio Library

ความคิดเห็น • 4