Go Down

Topic: ArduinoISP Arduino uno & blank atmega8 bootloader burn trouble (Read 8 times) previous topic - next topic

mysteredding


(from tutorial) Type 'L' to use Lilypad (8 MHz) loader, or 'U' for Uno (16 MHz) loader
is that for the chip being bootloaded(blank chip)?

mysteredding

somewhere along the line i got this error
/usr/share/arduino/hardware/arduino/cores/arduino/Arduino.h:212:26: fatal error: pins_arduino.h: No such file or directory
compilation terminated.

mysteredding


You shouldn't need a crystal, by the way.

Just as a heads-up, I think those chips are usually shipped to run off the internal 8 MHz oscillator, with the "divide clock by 8" fuse set. My programmer should work OK, I've used it with other "fresh" chips, but you might find you need to alter the fuse to get it up to full speed (once you have the bootloader on it). If you don't, it will be running at the wrong baud rate and the bootloader will appear not to be working.
this is all i get, then hit reset
Quote

Atmega chip programmer.
Written by Nick Gammon.

Atmega chip programmer.
Written by Nick Gammon.

Nick Gammon


i had noticed tho your tutorial doesnt incorporate completely blank(no-bootloader) bare(no-crystal) microcontrollers, have you tried it that way to see if itll work? im trying to get as much info on this as i can before i try it


Perhaps not on that page, but on this one I did:

http://www.gammon.com.au/forum/?id=11637

Example:


Nick Gammon


is that for the chip being bootloaded(blank chip)?


Yes, that's for the target chip. It only asks that for an Atmega328P. One answer gives you an 8 MHz internal oscillator bootloader, the other one gives you the 16 MHz bootloader.

Go Up