a5:bootloader

This is an old revision of the document!


Flashing a new bootloader on the A5

In some circumstances, a firmware flash may fail half way, which will cause the motherboard to โ€œloseโ€ its bootloader. The bootloader is a part of the firmware that allows the motherboard to be upgraded over USB. Without the bootloader, the firmware must be flashed using the ICSP programming port.

The bootloader can be reinstalled using either a USB programmer device, or using an arduino device.

Flashing bootloader using Arduino UNO or Arduino MEGA

Please read this article first for the main guide. We need to do three things:

  1. Install the bootloader flashing sketch onto the arduino device you will be using, using USB cable from computer to arduino
  2. Connect the cables between arduino and the MKS motherboard in the A5
  3. 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โ€ at the link above.

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 this link]

a5/bootloader.1517763283.txt.gz ยท Last modified: 2020/12/25 02:13 (external edit)