Skip to content

1.4.1 - Fix timing regressions on 841, 1634, 828 and tiny88 micronucleus bootloader

Compare
Choose a tag to compare
@SpenceKonde SpenceKonde released this 10 Aug 12:54

In the short time since 1.4,0 was released, some serious regressions were discovered: Changes made very late in the development cycle inadvertantly broke all time keeping (millis, micros, and delay) on the ATtiny x61, x41, 1634, and 828 (in different ways - the 861's millis timer simply never got turned on, while the others had interrupts disabled, which apparently causes micros() to behave bizarrely, which in turn leads to delay, which relies on it, passing by lightning fast.

Some users with the MH-ET tiny88 board also tried upgrading the bootloader and discovered the one I packed with the core was non-functional (in my defense, I just used the files that were in common circulation in the micronucleus packages - I shouldn't have assumed that just because they were in a bunch of repos around the internet, that they actually work! D+ and D- were swapped. Rebuilt the bootloader, and in the process, also did all the t88 bootloader building planned for micronucleus, so it now has a set of bootloaders with various entry methods. I came up with what I think is a really clever way of keeping the most convenient entry mode, reset, from bricking the board: You try to read the reset pin. If it's a 0, it could be disabled and LOW, but if it's a 1, you know it is both enabled and the pin is high. Hence the "rescue" procedure if you put this new version of the external reset entry mode on a reset-disabled board is just to apply power with reset tied to Vcc, then put a more appropriate bootloader version on.

1.4.1 fixes these serious issues, and all users - especially those on 1.4.0 - are encouraged to upgrade.

This is the version for board manager install