Go Down

Topic: Standalone ATMega328P-Pu w/ Bootloader UNO not working!! (Read 1 time) previous topic - next topic

lookslikeruck

Hey!

I'm trying programming an Atmega328  w/ Uno Bootloader in a breadboard.
I'm using an Arduino UNO to program it

reset - pin1,
RX - pin2,
TX - pin3,
5V - pins 20 & 7,
GND - pins 22 & 8,


I tried the blink() sketch when uploading it gives me an error:

Binary sketch size: 1.084 bytes (of a 32.256 byte maximum)
avrdude: stk500_recv(): programmer is not responding


What's wrong?

johnwasser

If it has the UNO bootloader it is expecting a 16 MHz crystal or ceramic resonator.
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

lookslikeruck

Still the same output from the IDE when uploading, even using the 16MHz crystal.

i followed this tutorial:
http://revoltlab.com/projects/perfduino/

johnwasser


I'm using an Arduino UNO to program it


Did you try removing the 328P from the Arduino UNO and inserting the chip you want to program? If the UNO stops uploading that will tell you that something is wrong with that bootloader.
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

simplex

#4
Nov 20, 2012, 02:15 am Last Edit: Nov 20, 2012, 04:16 am by simplex Reason: 1

i followed this tutorial:
http://revoltlab.com/projects/perfduino/

Try to follow this tutorial:
http://pdp11.byethost12.com/AVR/ArduinoAsProgrammer.htm
It allows you to program any target AVR directely with any code you want, ex. "blink a led".
You do not really need to write a bootloader on the chip, first.

lookslikeruck

#5
Nov 20, 2012, 02:43 am Last Edit: Nov 20, 2012, 02:45 am by lookslikeruck Reason: 1
Yhep!
All seems to work just fine when loading the code with the atmega on UNO.

Does Arduino IDE needs specific preferences for this procedure?

BTW...
I saw a few days ago, an hardware "library" called "Atmega328 breadboard" but when I try to configure pin 13 (ledpin) as an output it gives me a library error...

johnwasser


All seems to work just fine when loading the code with the atmega on UNO.


So the problem must be in your breadboard or in your USB-to-Serial conversion.
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Go Up