blank chip bootloader

My instructor bought a couple of ATMega328P microcontrollers without bootloaders from SparkFun and i built a parallel programmer to burn a bootloader on to it and when i tried burning a bootloader w/parallel programmer it gave this error:

avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
avrdude: Yikes! Invalid device signature.
avrdude: Expected signature for ATMEGA328P is 1E 95 0F
avrdude: AVR device not responding
***failed;
avrdude: verification error, first mismatch at byte 0x0000
0x05 != 0x07
avrdude: verification error; content mismatch

i checked my wires and solder connections and tried again and got the same error as before.

Does anyone know what to do?

Ive had the similar problems with the parallel programmer which I think is due to Windows blocking the kind of access needed to the parallel port.

If you have an Arduino around try this method: http://www.geocities.jp/arduino_diecimila/bootloader/index_en.html

Its a bit involved and you have to play around a bit but it worked perfectly :slight_smile:

im trying to burn them by just putting the parallel programmer directly to the chip without using an arduino. is that even possible?

There's nothing magical about the Arduino board, but you may need SOME components to complete a programming task. If the programmer doesn't have them, it could be a problem. Read the ATmega328 datasheet and see what components are required for flashing.

so if i use the boarduino to burn my atmega328p bootloader via icsp parallel programmer it should work?

also, do i have to do something to the fuses?

The simple solution (type I need) is to spend $11 and get an external USB programmer to burn bootloader program with.

Here is the one I used:

http://www.fun4diy.com/AVRISP_mkII.htm