Arduino Ethernet : fuse high is DF instead of DE

Hello !

I have a problem with my genuine Arduino Ethernet board, when I try to program it it says "out of sync"

I found the high fuse has DF value instead of DE.

Quote from avrdude :

root@raspberrypi:~ # avrdude -p m328p -c gpio

avrdude: AVR device initialized and ready to accept instructions

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

avrdude: Device signature = 0x1e950f

avrdude: safemode: Fuses OK (E:05, H:DF, L:FF)

avrdude done. Thank you.

Quote from boards.txt :

ethernet.bootloader.low_fuses=0xff
ethernet.bootloader.high_fuses=0xde
ethernet.bootloader.extended_fuses=0x05

And when I try to change it's value :

root@raspberrypi:~ # avrdude -p m328p -c gpio -U hfuse:w:0xDE:m

avrdude: AVR device initialized and ready to accept instructions

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

avrdude: Device signature = 0x1e950f
avrdude: reading input file "0xDE"
avrdude: writing hfuse (1 bytes):

Writing | | 0% 0.00s ***failed;
Writing | ################################################## | 100% 0.03s

avrdude: 1 bytes of hfuse written
avrdude: verifying hfuse memory against 0xDE:
avrdude: load data hfuse data from input file 0xDE:
avrdude: input file 0xDE contains 1 bytes
avrdude: reading on-chip hfuse data:

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

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
0xdf != 0xde
avrdude: verification error; content mismatch

avrdude: safemode: hfuse changed! Was de, and is now df
Would you like this fuse to be changed back? [y/n] n
avrdude: safemode: Fuses OK (E:05, H:DE, L:FF)

avrdude done. Thank you.

When I say Yes for change back avrdude freeze and take 100% CPU of one core...

I have no problem programing other boards.

I'm using avrdude from a Raspberry Pi wired to the board with ISP.

Do you have a clue for me to get this Ethernet board back to life ?

Thanks !

First, that "safemode" thing has never done anything other than freeze for me.

high fuse DF would give you an out of sync error, yup - without that low bit being set, it won't jump to the bootloader on start.

Do you know that you can program other AVR boards that way (ie, to rule out some problem with the raspberry pi as means of programming)?

Have you tried a different programer and the IDE's burn-bootloader function?

Thank you for your answer !

For the moment I only have an official USB2Serial interface and the Raspberry SPI method.

You think it's a good idea to buy an AVR board ?

Is the ISP port on the USB2Serial interface usefull in my case ?

I don't think so - I think that's only usable to program the USB2Serial board - that's an atmega16u2 on the board, I assume? (is that just a USB serial adapter, made with the atmega16u2 pressed into service as serial adapter? Dear lord why... CH340G is cheaper, FT232 is a better serial adapter, and that pinout (or lack thereof) makes the reprogramability of the 16u2 mostly useless)

Do you have a working Uno/Nano/Pro Mini you could put ArduinoAsISP on?

For ISP, I use the USBAsps from ebay, because they're dirt cheap, and work well enough

Yes I have other Pro Mini working.

I'll give à try to the ArduinoAsISP method tomorrow ^^

You think it will work with a Pro Mini ? It doesn't have USB plug. I will have to use Pro Mini + USB2Serial ?

Ok for thé USB2Serial, yes it's an Atmega on it !

I have a pro mini dedicated to that purpose - I soldered the wires on, hot glued them in place, and put the wires into 2x3 connector. Should work with any serial adapter.

Be sure to disable auto reset on the pro mini (~10uf cap from reset to ground)

Can't brun bootloader for the moment...

I have programme the Pro Mini with the "ArduinoISP" sketch, uncomenting line #define USE_OLD_STYLE_WIRING

Selected board Ethernet and tried "burn bootloader" :

How it is wired :

Looks like it is comunicating because avrdude got some data... but still failing :frowning:

I just suceed to burn another Pro Mini bootloader so the wiring looks good.

But still n luck with the Ethernet board :frowning:

Do someone have an idea for me ?

I'm stuck with this board :confused:

Thanks ^^