Use of options "Arduino/Genuino UNO" and "AVRISP mkII" as board and programmer - negative result
Use of options "Arduino/Genuino UNO" and "Arduino as ISP" as board and programmer - negative result
Use of combination of several other predefined board and programmers - negative result
clearly wrong board selected
lukeccc:
4) Use of options "ATmega328p-xmini" and "AVRISP mkII" as board and programmer - positive
really? it doesn't make sense
lukeccc:
So I solder 10 uF capacitor between RESET and GND of UNO clone using jumper wires, left other settings unchanged and try to use the options "Sanguino", "ATmega1284 or ATmega1284p (16MHz)" and "Arduino as ISP" as board, processor and programmer - and voila! bootloader was burned
You didn't try the right one
5) Use of options "ATmega1284 or ATmega1284p (16MHz" and "Arduino as ISP" as board and programmer
without cap
Well, the cheap UNO clone should be a copy of Arduino UNO (at least I thought so), that's why these were the first options I tried..
Juraj:
really? it doesn't make sense
Neither to me, this board (ATmega328p-xmini) looks physically quite different, however it possess the same chip as my cheap UNO clone (ATmega328p). That was the reason I installed the AVR Atmel package containing this board (lucky guess I would say). When I successfully uploaded the bootloader on UNO clone using this board I tried to upload simple blink example and it worked. It's strange, but UNO clone with bootloader on it worked fine as programmer for the subsequent burning.
Juraj:
You didn't try the right one
5) Use of options "ATmega1284 or ATmega1284p (16MHz" and "Arduino as ISP" as board and programmer
without cap
Perhaps I did not. However, I did follow the guides available online (Teaching Tech etc.), i.e. installed board package "Sanguino by Kristian Sloth Lauszus version 1.0.2" and then used "Sanguino" as board and select appropriate processor ("ATmega1284 or ATmega1284p (16MHz)" which is on melzi board of Ender 3 3D printer). There wasn't option to chose "ATmega1284 or ATmega1284p (16MHz)" directly in the boards selection menu, there was just this "Sanguino". This can be (presumably) fixed by installation of another board package, not sure about that.
The most of upgrades on my new printer are done look, MY PRECIOUS!
lukeccc:
Well, the cheap UNO clone should be a copy of Arduino UNO (at least I thought so), that's why these were the first options I tried..
Neither to me, this board (ATmega328p-xmini) looks physically quite different, however it possess the same chip as my cheap UNO clone (ATmega328p). That was the reason I installed the AVR Atmel package containing this board (lucky guess I would say). When I successfully uploaded the bootloader on UNO clone using this board I tried to upload simple blink example and it worked. It's strange, but UNO clone with bootloader on it worked fine as programmer for the subsequent burning.
if you are burning the bootloader you must select the target board type in Tools menu. so any 328p option is wrong for burning bootloader to a 1284p
Juraj:
if you are burning the bootloader you must select the target board type in Tools menu. so any 328p option is wrong for burning bootloader to a 1284p
sorry, perhaps we did not understand each other.. UNO clone was initially (out of the box) without bootloader, so it had to be uploaded (using ATmega328p-xmini option as board). Otherwie it could not be used to burn bootloader o target 1284p board. Then, the UNO clone (with bootloader) was used as programmer (using option "Programmer - Arduino as ISP") to burn it onto 1284p (target board described as "Sanguino" with processor "ATmega1284 or ATmega1284p (16MHz)".