Summary: Can't program efuse on ATmega164p
Project: AVR Downloader/UploaDEr
Submitted by: petegibson
Submitted on: Wed 04 Dec 2013 01:06:22 AM GMT
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Assigned to: None
Originator Name: Peter Gibson
Discussion Lock: Any
Trying to write/read efuse on a ATmega164p results in:
"ef" memory type not defined for part "ATmega164P"
avrdude: Version 6.0.1, compiled on Nov 18 2013 at 11:16:38
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "/opt/local/etc/avrdude.conf"
In avrdude v6.0.1 from macports, the system wide config file does not
correctly define the efuse memory type for this part. In version 5.11
(included in Arduino application), the m164p has its own declaration, while in
v6.0.1 the declaration is based on a parent part "m16" with some
modifications. However the m16 doesn't support an efuse, and the new m164p
declaration is missing the efuse definition (amongst other things).
I've attached a .avrduderc file with an amended m164p entry, however I'm not
sure if this is completely correct. Perhaps someone with knowledge of the file
format could check it?
In addition, the ocdrev value has changed from v5.11 to 3. Given the other
errors, could someone confirm if this value is correct?