Need Help Programming a ATTiny13 with a Olimex AVR-P20-10MHZ Developement Board

Started by beatlerat, November 09, 2025, 01:14:54 AM

Previous topic - Next topic

beatlerat

I thought I could do this without help, but I need to find a good tutorial, or a push to get going.  Here is my program.

$crystal = 1000000
Dim X As Byte
Config Portb.3 = Output
Do
Toggle Portb.3
Waitms 200
Toggle Portb.3
Waitms 1300
Loop

It compiles OK, but when I send it to the chip, nothing happens.  I had to replace the LM317T regulator on the board, but when I apply 12 volts to the board, the LED does not light up.  I set the chip voltage to 5 volts and have the 3.3v shunt unplugged.  I am using an older Keyspan USB to serial converter, and I am assuming my baud rates are suspect.  I have everything set to 9600.
Please help me where to look.  I am trying to keep this simple as I have been unable to program the chip using a Arduino Nano.
Thanks for your help.

LubOlimex

Ummm, ATtiny13 doesn't come in a package suitable for AVR-P20-10MHZ...
Technical support and documentation manager at Olimex

beatlerat

Quote from: LubOlimex on November 10, 2025, 08:37:22 AMUmmm, ATtiny13 doesn't come in a package suitable for AVR-P20-10MHZ...
You are correct.  I added an eight pin socket and correctly ran wires from the existing socket to the eight pin.
THanks

I am also running BASCOM AVR Demo

LubOlimex

Describe the exact connections between the target and the AVR-P20, maybe I can spot something wrong.

Maybe also test with avrdude it should have support for STK200.
Technical support and documentation manager at Olimex

beatlerat

I have tried installing AVRDUDE.  I don't know how to run it. 
Pin 1 to pin 1
Pin 10 to pin 4
Pin 17 to pin 5
Pin 18 to pin 6
Pin 19 to pin 7
Pin 20 to pin 8
If I could post a pic, I would.
This project is so simple but I can't get through it.
If the Olimex board's serial port isn't the way, how else do I get the chip programmed?  I am limited in space and this footprint is about all the room I have.
Thanks

LubOlimex

You can host the picture elsewhere and provide just the link here. There are a lot of free image hosting web-sites. I use imgur.
Technical support and documentation manager at Olimex