_in-circuit.programming_

 

menu



Our task for this week was to program the boards we constructed last week. In order to do so, I had to make two cables. One which powered the board, and the other which clipped onto the microprocessor to input the program.

To do the actual programming, the pins on the clip had to match up with those of the microcontroller. While holding the clip firmly in place, the following command was typed into the terminal:

avrdude -p t13 -c bsd -U flash:w:hello.hex

If the computer indicated that there were no errors, everything was OK. But if it printed any errors, I had to start this process over, making sure that the clip was well aligned and held firmly to the microprocessor (Tiny 13).