this brand new atmega1284p-pu chip 16mhz external oscillator (crystal).
much surprise ;-) took first upload attempt of blink sketch. ponyser programmer happens have buffered led on mosi - pb5 pin, maps arduino pin 13, 1284 started blinking.
but ever slowly.... timed 16 seconds delay(1000).
i didn't touch fuses, default, , suspect problem.
apparently, factory set fuse "internal oscillator @ 8mhz , fuse ckdiv8 set, resulting in 1 mhz system clock".
since arduino runs @ 16mhz , seem have 1/16 ratio, slower response seem indicate indeed run @ 1mhz.
would please confirm evaluation?
also, 16mhz crystal , 2 22p caps connected pins 12 , 13, appears isn't being used , doesn't cause problems either, being connected , all.
thank info on this.
much surprise ;-) took first upload attempt of blink sketch. ponyser programmer happens have buffered led on mosi - pb5 pin, maps arduino pin 13, 1284 started blinking.
but ever slowly.... timed 16 seconds delay(1000).
i didn't touch fuses, default, , suspect problem.
apparently, factory set fuse "internal oscillator @ 8mhz , fuse ckdiv8 set, resulting in 1 mhz system clock".
since arduino runs @ 16mhz , seem have 1/16 ratio, slower response seem indicate indeed run @ 1mhz.
would please confirm evaluation?
also, 16mhz crystal , 2 22p caps connected pins 12 , 13, appears isn't being used , doesn't cause problems either, being connected , all.
thank info on this.
your assessment correct.
you need "burn bootloader" isp programmer (i guess ponyser isp? ) in order set fuses tell use external crystal. or set fuses using avrdude command line, or use usbasp extremeburner avr)
you need "burn bootloader" isp programmer (i guess ponyser isp? ) in order set fuses tell use external crystal. or set fuses using avrdude command line, or use usbasp extremeburner avr)
Arduino Forum > Using Arduino > Microcontrollers > ATMEGA1284P timing issue (delay function)
arduino
Comments
Post a Comment