I thought this would be a quick install... but as I am updated to AVRdude 6.3, on Ubuntu 16.04, to get support for the mEDBG programming/debugging interface... when I execute...
It chokes setting the fuse bits I believe. Quick search on Google suggests this may be benign, I guess trying to write un-implmented fuse bits, but I am still confused.
I get a a garbled response to the terminal.
Any suggestions?
Thanks
Randy
Last edit: Randall Young 2016-10-12
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Some versions of avrdude handle the unused bits of the extended fuse differently when it verifies the bits.
The newer versions of avrdude reads and verifies the unused high 5 bits as ones.
Some older version reads and verifies the unused high bits as zeroes.
Thats the explanation.
BR Mikael
Last edit: Mikael Nordman 2016-10-12
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This tests fine with the Python shell script at 9600 baud. Be sure to use dmesg to determine which comport is assigned. I rigged my own udev rule for this board.
# /etc/udev/rules.d/99-avrprogrammer.rules
#
# Udev rules to make AVR programmers user-accessible
#Atmel ATmega328p Xplained Mini
SUBSYSTEM=="usb", ATTRS{idVendor}=="03eb",ATTRS{idProduce}=="2145",GROUP="users", MODE="0666"
Best,
R.
Last edit: Randall Young 2016-10-12
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Howdy all,
I thought this would be a quick install... but as I am updated to AVRdude 6.3, on Ubuntu 16.04, to get support for the mEDBG programming/debugging interface... when I execute...
It chokes setting the fuse bits I believe. Quick search on Google suggests this may be benign, I guess trying to write un-implmented fuse bits, but I am still confused.
I get a a garbled response to the terminal.
Any suggestions?
Thanks
Randy
Last edit: Randall Young 2016-10-12
Here is one suggestion
-U efuse:w:0xff:m
Some versions of avrdude handle the unused bits of the extended fuse differently when it verifies the bits.
The newer versions of avrdude reads and verifies the unused high 5 bits as ones.
Some older version reads and verifies the unused high bits as zeroes.
Thats the explanation.
BR Mikael
Last edit: Mikael Nordman 2016-10-12
Thanks!
That's it exactly ... working like a charm. Fuse settings seems to clobber debugging from Atmel Studio 7, but that is a problem for another day ...
Here's the correct command line to burn FF 5.0 onto the ATmega328p Xplained-Mini using the prerequisite avrdude 6.3.
Ignore the error, it does work ...
This tests fine with the Python shell script at 9600 baud. Be sure to use dmesg to determine which comport is assigned. I rigged my own udev rule for this board.
Best,
R.
Last edit: Randall Young 2016-10-12