I am trying to read the efuse byte of arduino uno using AVRDUDE in **interactive mode. **
This is the command that I am using. I am trying to go in the interactive mode first.
avrdude -p m328p -c arduino -P com8 -t
When I press enter It successfully reads the device signature and goes into the interactive mode. But there in interactive mode when I try to red the efuse byte it gives me error as shown below.
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0x1e950f (probably m328p)
avrdude> read efuse
>>> read efuse
avrdude: stk500_recv(): programmer is not responding
error reading efuse address 0x00000 of part ATmega328P
read operation not supported on memory type "efuse"
I also tried to override the default baud rate and It was unable to red the device signature. Here is the error that i got
C:\Users\Yasinzaii>avrdude -p m328p -c arduino -P com8 -t -b 19200
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.03s
avrdude: Device signature = 0x000000 (retrying)
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0x000000 (retrying)
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.
I also checked at 57600 baudrate and it was not able to connect at all
C:\Users\Yasinzaii>avrdude -p m328p -c arduino -P com8 -t -b 57600
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x1c
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x1c
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x1c
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x1c
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x1c
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x1c
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x1c
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x1c
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x1c
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x1c
and at 115200 it gives the same error as for the default baudrate case and for sure the default is 115200.
C:\Users\Yasinzaii>avrdude -p m328p -c arduino -P com8 -t -b 115200
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x1e950f (probably m328p)
avrdude> read efuse
>>> read efuse
avrdude: stk500_recv(): programmer is not responding
error reading efuse address 0x00000 of part ATmega328P
read operation not supported on memory type "efuse"
So why is it giving me this error when i read the efuse byte
>>> read efuse
avrdude: stk500_recv(): programmer is not responding
error reading efuse address 0x00000 of part ATmega328P
read operation not supported on memory type "efuse"