a5:bootloader

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
Last revisionBoth sides next revision
a5:bootloader [2018/02/05 04:30] โ€“ [Flashing bootloader using USB Programmer] pinchiesa5:bootloader [2018/10/18 23:08] โ€“ samuelpinches
Line 15: Line 15:
   - Choose "Burn Bootloader" in the tools menu   - Choose "Burn Bootloader" in the tools menu
   - Go back to normal life, flashing via USB cable direct to your 3D printer.   - 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://www.gammon.com.au/bootloader|this awesome arduino bootloader flasher by Nick Gammon]].
 +
 +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.
 +
 +
 +{{:a5:mks_gen_l_icsp_port.jpg?direct|}}
 +{{:a5:mks_gen_l_icsp.png?direct|}}
 +{{:a5:arduino-icsp.jpg?direct|}}
 +
 +
 +
  
  
-===== Flashing bootloader using Arduino UNO or Arduino MEGA=====+===== 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?  Don't have a USB programmer lying around? Feeling like you would like to buy an arduino for future projects anyway? 
 Read on...  Read on... 
Line 41: Line 66:
  
 Once you have flashed the bootloader, you can flash the firmware using your usb cable directly to the printer. Don't forget to follow all [[a5:firmware|the instructions]]! Once you have flashed the bootloader, you can flash the firmware using your usb cable directly to the printer. Don't forget to follow all [[a5:firmware|the instructions]]!
- 
- 
a5/bootloader.txt ยท Last modified: 2020/12/25 02:13 by 127.0.0.1