Closed LightningStalker closed 6 years ago
msg[2]
must be 0x03
in order to read the extended fuse byte. Still deciding how to implement this without breaking the other micros
All the whitespace damage in this PR makes it quite annoying to read. And then, in the one place where actual code was changed, you got the indentation wrong.
ATtiny85 has three fuse bytes (+lock), so maybe it should be avr3_fuses
instead of avr2_fuses
?
ATtiny85 has three fuse bytes (+lock), so maybe it should be
avr3_fuses
instead ofavr2_fuses
?
@chenz @kutis96 That is correct. See above comment and minipro.c
line 147
I see now what you mean. Using avr3_fuses
gives:
IO error: expected 10 bytes but 9 bytes transferred
(expects 7 (header) + 3 (fuse) bytes, but device reads only 9 bytes)
Other protocol
0x73
devices can now be added as well, as they are tested. The case statement beginning on line 550 of main.c may be expanded to contain the relevant select code for each variant.Remove whitespace