a5:bootloader
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
a5:bootloader [2018/02/05 03:54] – created pinchies | a5:bootloader [2018/10/18 23:08] – samuelpinches | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Flashing a new bootloader on the A5 ===== | + | ====== Flashing a new bootloader on the A5/A3S ====== |
In some circumstances, | In some circumstances, | ||
Line 6: | Line 6: | ||
- | === Flashing bootloader using Arduino UNO or Arduino MEGA=== | + | ===== Flashing bootloader using USB Programmer ===== |
+ | |||
+ | The simplest process. | ||
+ | - Connect programmer to computer | ||
+ | - Connect programmer to motherboard | ||
+ | - Open Arduino IDE | ||
+ | - Select the programmer you use in the Tools -> Programmer menu | ||
+ | - Choose "Burn Bootloader" | ||
+ | - Go back to normal life, flashing via USB cable direct to your 3D printer. | ||
+ | |||
+ | ===== PLAN A: Flashing bootloader using Arduino UNO or Arduino MEGA - Method 1 ==== | ||
+ | Don't have a USB programmer lying around? Feeling like you would like to buy an arduino for future projects anyway? | ||
+ | Read on... | ||
+ | |||
+ | **You can use an Arduino as a USB programmer fairly easily!** | ||
+ | |||
+ | Download and flash [[https:// | ||
+ | |||
+ | All your pins on the MKS Gen L should be connected to the ICSP port (see first image below). | ||
+ | |||
+ | - Connect pin 10 on the uno to the RST on the MKS Gen L ICSP port (see image #2 for pinout) | ||
+ | - Connect MISO, MOSI, SCK, VCC, GND to the matching pins on both MKS ICSP and uno ICSP headers. | ||
+ | - Flash the bootloader sketch. | ||
+ | - Open the arduino serial monitor. | ||
+ | - You may need to choose the correct baud rate to see text correctly. | ||
+ | - Follow the prompts in the serial monitor. | ||
+ | |||
+ | |||
+ | {{: | ||
+ | {{: | ||
+ | {{: | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== PLAN B: Flashing bootloader using Arduino UNO or Arduino MEGA - Method 2===== | ||
+ | Don't have a USB programmer lying around? Feeling like you would like to buy an arduino for future projects anyway? | ||
+ | Read on... | ||
+ | |||
+ | **You can use an Arduino as a USB programmer fairly easily!** | ||
Please read [[https:// | Please read [[https:// | ||
We need to do three things: | We need to do three things: | ||
Line 13: | Line 54: | ||
- Flash the bootloader using the Arduino IDE software. | - Flash the bootloader using the Arduino IDE software. | ||
- | For step 1, you need to flash the programming sketch to the arduino. See "Load the sketch" | + | For step 1, you need to flash the programming sketch to the arduino. |
+ | See "Load the sketch" | ||
+ | |||
+ | For step 2, you need to wire up the device. | ||
+ | See the link above if you have an **arduino uno, or nano.** | ||
+ | If you have an **arduino MEGA**, the pins are different - use the wiring [[http:// | ||
+ | |||
+ | You may have to connect a jumper from ground to reset on the arduino, to prevent it being reset during flashing. | ||
+ | |||
+ | for step 3, make sure to cross your fingers and toes. | ||
- | For step 2, you need to wire up the device. See the link above if you have an arduino uno, or nano. If you have an arudino MEGA, use the wiring on [[http:// | + | Once you have flashed the bootloader, you can flash the firmware using your usb cable directly |
a5/bootloader.txt · Last modified: 2020/12/25 02:13 by 127.0.0.1