bootloader issues

Hi, I know this has probably been adressed before, but I can’t find my answer anywhere.

I have just bought some new mega8’s to use in projects independant of the arduino board, but I am using the board as a programmer for the micro’s. I have built the parallel port programemr and believe that it is all correct, I have had my multimeter out testing all the points and they completely comply with the directions on the site.

One thing I noticed is that when i plug it in (without any power from any source) the LED on pin 13 glows softly and so does the PWR LED is this normal? Anyway, I gave the board power, followed all the directions on the site (giveio, registry, etc.) and all thta happens when i select ‘burn bootloader (parallel)’ is that after less than 1 second it says bootloader uploaded, and then a whole lot of red writing telling my stuff that means obviously bad. Which was as follows, oh and it does this regardless of whether the board is attatched to the programmer or not!!

avrdude project: <URL:http://savannah.nongnu.org/projects/avrdude>
C:\Program Files\arduino-0009\tools/avr/bin/avrdude: unknown option -- d
Usage: avrdude [options]
Options:
  -p <partno>                Required. Specify AVR device.
  -b <baudrate>              Override RS-232 baud rate.
  -B <bitclock>              Specify JTAG/STK500v2 bit clock period (us).
  -C <config-file>           Specify location of configuration file.
  -c <programmer>            Specify programmer type.
  -D                         Disable auto erase for flash memory
  -i <delay>                 ISP Clock Delay [in microseconds]
  -P <port>                  Specify connection port.
  -F                         Override invalid signature check.
  -e                         Perform a chip erase.
  -O                         Perform RC oscillator calibration (see AVR053). 
  -U <memtype>:r|w|v:<filename>[:format]
                             Memory operation specification.
                             Multiple -U options are allowed, each request
                             is performed in the order specified.
  -n                         Do not write anything to the device.
  -V                         Do not verify.
  -u                         Disable safemode, default when running from a script.
  -s                         Silent safemode operation, will not ask you if
                             fuses should be changed back.
  -t                         Enter terminal mode.
  -E <exitspec>[,<exitspec>] List programmer exit specifications.
  -y                         Count # erase cycles in EEPROM.
  -Y <number>                Initialize erase cycle # in EEPROM.
  -v                         Verbose output. -v -v for more.
  -q                         Quell progress output. -q -q for less.
  -?                         Display this usage.

avrdude project: <URL:http://savannah.nongnu.org/projects/avrdude>

But i don’t know what the problem is??

any help would be greatly appreciated :slight_smile:

thanx

The burn bootloader parallel command may have broken in Arduino 0009. Try it with Arduino 0008.

well that seemed to be of some help, but now i run into another problem, i get these error messages.

Atmel AVR ATmega8 is found.
Writing lock bits ...
Reinitializing device
Atmel AVR ATmega8 is found.

Lock Bits set to 0xff
Atmel AVR ATmega8 is found.

Fuse Low Byte set to 0xdf

Fuse High Byte set to 0xca
Atmel AVR ATmega8 is found.
Erasing device ...
Reinitializing device
Atmel AVR ATmega8 is found.
Uploading: flash
Verifying: flash
flash error at address 0x1c00: file=0x12, mem=0x00
flash error at address 0x1c01: file=0xc0, mem=0x00
flash error at address 0x1c02: file=0x2b, mem=0x00
flash error at address 0x1c03: file=0xc0, mem=0x00
flash error at address 0x1c04: file=0x2a, mem=0x00
flash error at address 0x1c05: file=0xc0, mem=0x00
flash error at address 0x1c06: file=0x29, mem=0x00
flash error at address 0x1c07: file=0xc0, mem=0x00
flash error at address 0x1c08: file=0x28, mem=0x00
flash error at address 0x1c09: file=0xc0, mem=0x00

Atmel AVR ATmega8 is found.
Writing lock bits ...
Reinitializing device
Atmel AVR ATmega8 is found.

Lock Bits set to 0xcf

Hmm, this old forum thread has a suggestion: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1142106610. Look for the registry patch. It disables some sort of system polling of the parallel ports that can interfere with burning the bootloader.