Difference between revisions of "ATtiny13"

From ThorstensHome
Jump to: navigation, search
Line 1: Line 1:
I have an ATtiny 13 programmable microprocessor.
+
I have an ATtiny 13 programmable microprocessor. I wanted to use avrdude, the ATtiny13 and my ft232r chip.
 +
I connected MISO with RXD, SCK with TXD, MOSI with RTS and RES with DTR, then GND with GND and VCC with VCC.
 +
 
 +
Then I did
 +
 
 +
rmmod ftdi_sio
 +
tweedleburg:~/at/avrdude-5.10 # ./avrdude -cft232r -pt13 -P/dev/ttyUSB0 -U hfuse:r:-:h -B 1
 +
avrdude: BitBang OK
 +
avrdude: pin assign miso 1 sck 0 mosi 2 reset 4
 +
avrdude: drain OK
 +
 +
ft245r:  bitclk 4800 -> ft baud 2400
 +
avrdude: AVR device initialized and ready to accept instructions
 +
 +
Reading | ################################################## | 100% 0.00s
 +
 +
avrdude: Device signature = 0x1e9007
 +
avrdude: current erase-rewrite cycle count is -158 (if being tracked)
 +
avrdude: reading hfuse memory:
 +
 +
Reading | ################################################## | 100% 0.01s
 +
 +
avrdude: writing output file "<stdout>"
 +
0xeb
 +
 +
avrdude: safemode: Fuses OK
 +
 +
avrdude done.  Thank you.
 +
 
 +
Which is basically what I expected.
  
 
= See also =
 
= See also =
 
* [[programming electronics]]
 
* [[programming electronics]]
 
* http://www.bot-thoughts.com/2011/07/working-with-attiny13.html
 
* http://www.bot-thoughts.com/2011/07/working-with-attiny13.html
 +
* http://doswa.com/2010/08/24/avrdude-5-10-with-ftdi-bitbang.html

Revision as of 21:56, 2 January 2013

I have an ATtiny 13 programmable microprocessor. I wanted to use avrdude, the ATtiny13 and my ft232r chip. I connected MISO with RXD, SCK with TXD, MOSI with RTS and RES with DTR, then GND with GND and VCC with VCC.

Then I did

rmmod ftdi_sio
tweedleburg:~/at/avrdude-5.10 # ./avrdude -cft232r -pt13 -P/dev/ttyUSB0 -U hfuse:r:-:h -B 1
avrdude: BitBang OK 
avrdude: pin assign miso 1 sck 0 mosi 2 reset 4
avrdude: drain OK 

ft245r:  bitclk 4800 -> ft baud 2400
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e9007
avrdude: current erase-rewrite cycle count is -158 (if being tracked)
avrdude: reading hfuse memory:

Reading | ################################################## | 100% 0.01s

avrdude: writing output file "<stdout>"
0xeb

avrdude: safemode: Fuses OK

avrdude done.  Thank you.

Which is basically what I expected.

See also