wht would be the boards.txt for Atmega328 bootloaded with optiloader?


i have uno r2 , want burn optiboot bootloader on blank atmega328 chip using westfw's optiloader (doing in order have backup chip in case toast present one... since tend clumsy electronic circuits :d)

what modification need add boards.txt?? ( both p , non-p )

or should use existing board type "arduino uno" program ??

for 328p + optiboot @ 16 mhz: use arduino uno.

it looks optiloader put 328 (non p) bootloader on 328 (non p).  means avrdude signature error if try upload arduino uno.  can create /hardware/boards.txt file in sketch folder following:

quote

uno328.name=arduino uno w/328 (non-p)
uno328.upload.protocol=arduino
uno328.upload.maximum_size=32256
uno328.upload.speed=115200
uno328.bootloader.low_fuses=0xff
uno328.bootloader.high_fuses=0xde
uno328.bootloader.extended_fuses=0x05
uno328.bootloader.path=optiboot
uno328.bootloader.file=optiboot_atmega328.hex
uno328.bootloader.unlock_bits=0x3f
uno328.bootloader.lock_bits=0x0f
uno328.build.mcu=atmega328
uno328.build.f_cpu=16000000l
uno328.build.core=arduino
uno328.build.variant=standard


the change uno mcu=atmega32 instead of mcu=atmega328p


Arduino Forum > Using Arduino > Microcontrollers > wht would be the boards.txt for Atmega328 bootloaded with optiloader?


arduino

Comments

Popular posts from this blog

Thread: PKI Client 5.00 install (for eToken Pro)

ATmega2560-Arduino Pin Mapping

Crossfader Arduino Tutorial