Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

How is ATTINY-13 programmed ?

Status
Not open for further replies.

potoole64

New Member
How is the ATTINY-13 programmed? Or the ATTINY-26?
Can one use the same method as for the ATMEGA32?

My ATMEGA32 is set up to use the STK200/300 programmer using a 10 pin ISP cable and connector, does this mean that any other microcontrollers that can be programmed with this set-up must have the same number of pins?
Would the ATTINY's require a different programming set-up?



Thank you
Patrick
 
Most avr's are programmed in ISP mode. This means that with only 4 wires you can program the device in circuit. Another method for programming is he parallel method which involves more wires, and cannot be done in circuit. There are other methods for more sophisticated avr's but for most of them there are the two methods mentioned above.

In ISP programming mode, you must be careful when programming the clock select fuse. If programmed incorrectly, you will need to use a parallel programmer to restore the clock fuse.

You should read the datasheet for the device you are using, it is explained very well.

There are lots of programs that will work for your board. but mainly I stick with avrstudio to do the programming.
 
How is the ATTINY-13 programmed? Or the ATTINY-26?
Can one use the same method as for the ATMEGA32?

YES,
as long as you match the MOSI, MISO, SCK and RST pins. Be sure you supply a clock source to the device being programmed. (and as long as your software supports this device)

My ATMEGA32 is set up to use the STK200/300 programmer using a 10 pin ISP cable and connector, does this mean that any other microcontrollers that can be programmed with this set-up must have the same number of pins?

Would the ATTINY's require a different programming set-up?
Thank you
Patrick

Not all microcontrollers use the SPI pins for ISP programming.
Only the microcontrollers that use the same pin configuration can be programmed with this type of setup. One example is the 8051 based Atmel 89S2051. It has the same programming pins as the attiny2313 except the reset would be inverted - If there is a pullup on the reset pin on your board you must remove it. And of course, the software would have to support this device.

Good Luck
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top