In regard to writing a bootloader
You need some sort of avr ISP, you look to be trying to use a uno
Firstly you need to turn your uno into a avr ISP
following the steps 1-4 here [www.arduino.cc]
The uno is now your avi ISP
next you need to wire it to the SL board, this is different depending on exactly what board your programming, but they are wired the same, you just need to find the correct pins (most have a 6 pin ISP header, and they are all on there)
[www.arduino.cc]
The led and resistors are not needed, they are just so you can so something is happening. The power and crystal will already be there on the board.
This graphic presumes a 644p or 1284p chip not in a board, so it adds in everything you need to run the bare chip.
In reality with the chip in a board all you need its the following
uno d10 to reset on SL
uno d11 to mosi on SL
uno d12 to miso on SL
uno d14 to sck SL
uno gnd to SL gnd
Both the boards still need power. I would power the uno via usb cable as you have to have that connected anyways for serial communications. I prefer a usb power bank for the SL, just to ensure no crazy power loops and no guess work as to which com port to use (as you can't see the SL com port)
This way you just get a nice chain, no loops. ie computer -> usb cable -> uno -> isp wires -> SL <- USB Power bank
Now do steps 6-8 from [www.arduino.cc]
You need some sort of avr ISP, you look to be trying to use a uno
Firstly you need to turn your uno into a avr ISP
following the steps 1-4 here [www.arduino.cc]
The uno is now your avi ISP
next you need to wire it to the SL board, this is different depending on exactly what board your programming, but they are wired the same, you just need to find the correct pins (most have a 6 pin ISP header, and they are all on there)
[www.arduino.cc]
The led and resistors are not needed, they are just so you can so something is happening. The power and crystal will already be there on the board.
This graphic presumes a 644p or 1284p chip not in a board, so it adds in everything you need to run the bare chip.
In reality with the chip in a board all you need its the following
uno d10 to reset on SL
uno d11 to mosi on SL
uno d12 to miso on SL
uno d14 to sck SL
uno gnd to SL gnd
Both the boards still need power. I would power the uno via usb cable as you have to have that connected anyways for serial communications. I prefer a usb power bank for the SL, just to ensure no crazy power loops and no guess work as to which com port to use (as you can't see the SL com port)
This way you just get a nice chain, no loops. ie computer -> usb cable -> uno -> isp wires -> SL <- USB Power bank
Now do steps 6-8 from [www.arduino.cc]