Stock Fuse Settings Incorrect? [solved]

Started by davegravy, April 27, 2016, 12:39:54 PM

davegravy

I hooked up my stock moteino to my rpi via the GPIO pins as per this guide:

https://learn.adafruit.com/program-an-avr-or-arduino-using-raspberry-pi-gpio-pins/configuration

avrdude is telling me the fuse settings are

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e950f
avrdude: safemode: lfuse reads as DE
avrdude: safemode: hfuse reads as DC
avrdude: safemode: efuse reads as 5

avrdude: safemode: lfuse reads as DE
avrdude: safemode: hfuse reads as DC
avrdude: safemode: efuse reads as 5
avrdude: safemode: Fuses OK (E:05, H:DC, L:DE)

avrdude done.  Thank you.


The extended fuse is supposed to be FD however. Is avrdude lying to me, or does my moteino have incorrect fuse settings?

Felix

It's not lying. The 0x05 is equivalent to 0xFD. When the fuses are set via AVRISP the extended fuse might actually be read as 0x05. In fact if if I write 0x05 it reads back as 0xFD in avrstudio. So what you see is ok.

steve v

Any recommendations for a fuse programmer Device  ( Bus Pirate or others ?  )   that works well with a 3 Volt Moteino ?,  I want to change the BOD from 2.7 to 1.8V  probably using AVRDUDE

jhoward88

I'm also looking for a way to change the fuse settings on a moteino.  I tried it with a raspberry pi using the gpio pins, but haven't been able to get a new setting to stick using avrdude.  It seems to change it  and then says it is verifying and changes the setting back to the original.

Avrdude works fine to upload a compiled sketch via the gpio pins so I do have a connection to the Moteino.

Is there a way to use an Arduino uno to change the Moteino fuse settings ?  I see breadboard examples to program the ATMega328 DIP chip, but no examples of programming an actual Moteino or other mini board.

-Jerry

gurari

Quote from: steve v on November 19, 2016, 04:36:33 PM
Any recommendations for a fuse programmer Device  ( Bus Pirate or others ?  )   that works well with a 3 Volt Moteino ?,  I want to change the BOD from 2.7 to 1.8V  probably using AVRDUDE

I'm using this programmer: https://www.olimex.com/Products/AVR/Programmers/AVR-ISP-MK2/open-source-hardware with Atmel Studio and all is working pretty well.
I wan't able to find AVRISP mkII in my country so I bought an alternative and I'm very happy with it.