Change bit 0 of the ATmega169 efuse 'write' opcode from 'x' (ignore)
to 'i' (input). Even though this bit should be ignored, it should not be changed. The 'x' setting sets the bit to zero which programs it and could cause undefined behaviour. Setting to 'i' enables it to be rewritten to its old value. A better solution might be to read the fuse byte, apply the new value while leaving the 'x' bit alone, then writing the value back. The current fix is a workaround which allows the developer to change the bit. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@494 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
parent
cfe306e66d
commit
2e7ce68927
|
@ -3178,7 +3178,7 @@ part
|
||||||
memory "efuse"
|
memory "efuse"
|
||||||
size = 1;
|
size = 1;
|
||||||
write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0",
|
write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0",
|
||||||
"x x x x x x x x x x x x i i i x";
|
"x x x x x x x x x x x x i i i i";
|
||||||
|
|
||||||
read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0",
|
read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0",
|
||||||
"x x x x x x x x o o o o o o o o";
|
"x x x x x x x x o o o o o o o o";
|
||||||
|
|
Loading…
Reference in New Issue