FUSES-V

COLLEGARSI DIRETTAMENTE PORTATILE USB NO HUB !!!!!

LETTURA LOW FUSE:

GRMBP:~ graschetti$ avrdude -C /Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf -P /dev/tty.usbmodem00077021 -c avrisp2 -p m328p -U lfuse:r:-:h

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.07s

avrdude: Device signature = 0x1e950f

avrdude: reading lfuse memory:

Reading | ################################################## | 100% 0.02s

avrdude: writing output file "<stdout>"

0x62

avrdude: safemode: Fuses OK

avrdude done. Thank you.

SCRITTURA DI TEST 0X22 LOW FUSE

GRMBP:~ graschetti$ avrdude -C /Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf -P /dev/tty.usbmodem00077021 -c avrisp2 -p m328p -U lfuse:w:0x22:m

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.07s

avrdude: Device signature = 0x1e950f

avrdude: reading input file "0x22"

avrdude: writing lfuse (1 bytes):

Writing | ################################################## | 100% 0.07s

avrdude: 1 bytes of lfuse written

avrdude: verifying lfuse memory against 0x22:

avrdude: load data lfuse data from input file 0x22:

avrdude: input file 0x22 contains 1 bytes

avrdude: reading on-chip lfuse data:

Reading | ################################################## | 100% 0.02s

avrdude: verifying ...

avrdude: 1 bytes of lfuse verified

avrdude: safemode: Fuses OK

avrdude done. Thank you.

QUINDI VERIFICARE PIN B0 (14) PRESENZA CLOCK 1024 KHZ (OSCILLOSCOPIO) .. OK

DISATTIVARE DIVISIONE PER /8 E CONTROLLARE CLOCK

GRMBP:~ graschetti$ avrdude -C /Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf -P /dev/tty.usbmodem00077021 -c avrisp2 -p m328p -U lfuse:w:0xA2:m

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.07s

avrdude: Device signature = 0x1e950f

avrdude: reading input file "0xA2"

avrdude: writing lfuse (1 bytes):

Writing | ################################################## | 100% 0.07s

avrdude: 1 bytes of lfuse written

avrdude: verifying lfuse memory against 0xA2:

avrdude: load data lfuse data from input file 0xA2:

avrdude: input file 0xA2 contains 1 bytes

avrdude: reading on-chip lfuse data:

Reading | ################################################## | 100% 0.02s

avrdude: verifying ...

avrdude: 1 bytes of lfuse verified

avrdude: safemode: Fuses OK

avrdude done. Thank you.

OK

RIPRISTINARE CLOCK OUT OFF CON SCRITTURA DI 0XE2 (8MHZ INTERNAL CLOCK)

CONFIGURARE IL CLOCK OPPORTUNO NEL FILE BOARDS.TXT DI AURDUINO :

##############################################################

orangutan328p.name=Pololu Orangutan or 3pi robot w/ ATmega328p via Programmer

orangutan328p.upload.using=avrispv2

orangutan328p.upload.maximum_size=32768

orangutan328p.build.mcu=atmega328p

orangutan328p.build.f_cpu=16000000L <<<<<<<<<

orangutan328p.build.core=arduino

orangutan328p.build.variant=standard

##############################################################