somebody-said:
No, there is no AVRISP mkII ISP programmer connected to our computer.
That's why you're getting the error. That error is the normal and expected error when you do a Tools > Burn Bootloader without having the programmer connected to your computer.
somebody-said:
not connected to anything other than two computer screens and the new mainboard in the 3D printer that we are trying to get activated.
Then you will have no hope of burning the bootloader. In order to burn a bootloader on your 3D printer board, you need a device called an ISP programmer. You can purchase dedicated ISP programmers. One such programmer is called the "AVRISP mkII". This happens to be the default setting of the Arduino IDE's Tools > Programmer menu. There are several other ISP programmers you can use. If you have a spare Arduino board, you can turn it into an "Arduino as ISP" programmer:
https://www.arduino.cc/en/Tutorial/ArduinoISP
somebody-said:
How can we proceed with our initiative?
First of all, you should note that using the Optiboot bootloader is only a recommendation.
After you install the Anet platform in the Arduino IDE, you will find two option in the Arduino IDE's Tools > Board menu:
- Anet V1.0
- Anet V1.0 (Optiboot)
If you select Tools > Board > Anet V1.0, you should be able to just proceed directly to downloading the firmware from the Internet, configuring the firmware, then uploading the firmware to your 3D printer using the Arduino IDE's Sketch > Upload option.
If you select Tools > Board > Anet V1.0 (Optiboot), you will need to do the burn bootloader process because apparently the Anet comes with a different bootloader from Optiboot.
So, if it's so much more work to use the Tools > Board > Anet V1.0 (Optiboot) option, why do they recommend it? The reason is because the stock bootloader on the Anet uses 4 kB of flash memory, while the Optiboot bootloader uses 1 kB of flash. In the world of computers, 3 kB is nothing, but in the world of microcontrollers it's significant.
The question comes down to the size of the firmware you are going to be using. With the stock bootloader, the maximum firmware size is 124 kB. With the Optiboot bootloader, the maximum firmware size is 127 kB. If your firmware is 124 kB or less, there is no reason to use Optiboot. You don't benefit in any way from having unused flash memory. The size of the 3D printer firmware will likely depend on the configuration you use. You may find that there are features you want to enable that will cause it to exceed 124 kB. This is when using the Optiboot bootloader is beneficial.
Considering your level of expertise in this subject, I would recommend you to first see if you can update the firmware without burning the bootloader. If you get a "Sketch too big" error from the Arduino IDE, then you will know that the firmware size exceeds the available flash memory. The Arduino IDE's console will also show you the size of the firmware. If it's between 126976 and 130048 bytes, then you will be able to upload the firmware after burning the Optiboot bootloader. If the firmware size is over 130048 bytes, then it won't fit even with the Optiboot bootloader, and you will need to disable some features of the firmware.
The important thing is: if you haven't burned the Optiboot bootloader to your 3D printer board, make sure to select Tools > Board > Anet V1.0. DO NOT use the Tools > Board > Anet V1.0 (Optiboot) option unless you have burned the Optiboot bootloader. The reason is, this could result in you overwriting the existing bootloader, which cause your 3D printer board to be unusable until you have burned the bootloader (which will bring it back to as good as new).