Open johnnyman727 opened 8 years ago
We may want to consider switching to avrgirl
instead of the avr-isp
package because the former is currently supported.
We may want to consider switching to avrgirl
@noopkat I can give you a T2 as soon as you're back from JSConf
@rwaldron :raising_hand: :cool:
Updating doesn't work on T1 with both IR and ambient modules. Usually the behavior is following: It detects old firmware because module id and firmware version are being reported as 0xFF, which triggers the update. It flashes the firmware, waits, attempts to check for CRC and fails. Both modules end up in a corrupted state until power-cycled, because any subsequent attempts fail at various stages of trying to obtain module id and/or firmware version.
I wasn't able to find the exact commit that caused this (potentially because it works occasionally, giving you false positives), but attempting to update the firmware on the ambient module (untested on IR but there's no reason why it would work differently) often returns with one of a handful of different errors. The easiest way to test this is by running the update script from the ambient module.
Some of the errors I get:
I've tried testing with
attiny-common
on master and thejon-t2-compat
branch. I also testedavr-isp
fromjon-t2-compat
back toe1bf12c
(I think that's about 6 commits back from master at this point in time).