Kaasxxx wrote about programming AVR tiny13 with STK500, so I decide to write my small introduction on programming tiny2313.
Step 1. Connect the 6-wire ISP cable between ISP6PIN and SPROG3.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbmLFj7qQK4kJbe789GDsYpipV_-Go_Fr3GFuWwdCS_XdrWB6ek_vh2Z02X6V4LI1SomRYXwuYBWc5LoOwkAasynBOclyAyXz-52gHwDNi0WapDgGkaAv79kEk3al3hT6h2vDu8xk00Cs/s400/231.jpg)
Step 2. Put the tiny2313 on the Socket SCKT3300D3.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEho8CqNxhF84A8dZ85LBoWiWZiuoRc0gUwXNArq3bmyjA6-XbfLiMmF0HzaBUXO-p5H24gyfjOXsAqOB5gHTHPDBj4nBP8DAKlsWlTgbRXqqwT9gKn8Pj7ab4Cgoiw97pqYEnMeIJ-JGHs/s400/232.jpg)
I also connected pin PB0 to pin LED0 (as you see the green/yellow cable) to test my led blink test program on tiny2313.
I prepared for a led blink sample code with Makefile (avr-gcc and avrdude targeted for tiny2313), you should modify the download serial port name in the Makefile for your machine. You can download here: avr_tiny2313_led.tar.gz
Hope you found useful;)
No comments:
Post a Comment