Go Down

Topic: Arduino compatable hardware - bootloader-fuse questions (Read 1 time) previous topic - next topic

pminmo

I didn't realize the boards.txt file had that info, thanks.  Not sure how to translate the fuse bytes into appropriate bits used by avr studio.  I didn't use the Arduino IDE to upload the boot code as I assumed a blank AVR would need to be programmed via the isp first.   And I haven't figured out how to tel the IDE what serial port to use for a serial ATMEL AVR ISP, assuiming it's compatable with the IDE.

Jeff K


Not sure how to translate the fuse bytes into appropriate bits used by avr studio.


The AVR Fuse Calculator works great for that http://www.engbedded.com/fusecalc/
Jeff K - JKDevices.com - home of the MegaMini

westfw

Here are fuses (via "fusebytes.pde") for a m168 with optiboot:
Code: [Select]

Compiled for ATmega168
No Serial Number

Fuse bits (L/H/E): C6 DD FC
Lock bits:         EF
Signature:         C 56 C (Signature not readable on non-P AVR)
Oscal:             94

Fuse Low = 11000110 (C6)
           ||||++++______Full Swing Crystal
           ||++__________Start Up Time=0
           |+____________Clock Output Disabled
           +_____________(no divide)

Fuse High = 11011101 (DD)
            |||||+++______Brownout at 2.7V
            ||||+_________EEPROM Erased on chip erase
            |||+__________Watchdog programmable
            ||+___________ISP programming enabled
            |+____________DebugWire off
            +_____________RST enabled

Fuse Extended = 11111100 (FC)
                |||||||+______Reset to Bootstrap
                |||||++_______256 words (512 bytes)

Lock Bits = 11101111 (EF)
            ||||||++______Read/Write to everywhere
            ||||++________R/W Application
            ||++__________No Write to Boot Section

Bootloader at 0x3E00 looks like version 4.4
2411 B784 BE14 FF81 D0F0 E085 9380 81

Go Up