Hi guys,
I just tried to use LUFA again, after merging latest updates from Hasu, and it works fine.
But not without surprises.
First, and main: GUI version of Teensy loader won't update firmware, if keyboard is already on firmware with LUFA stack. If you reboot kbd - using KC_TEENSY or h/w button - only "Reboot" button is active on GUI, and "Program" button is grayed.
In other words, if now kbd is on PJRC, and you want to program it with LUFA using GUI Teensy loader - you can do this only once.
This is very frustrating, because if something is wrong with your new fw - you'r in ass
With PJRC you can select previous fw image by mouse, press h/w button on Teensy - and all will be fine.
With LUFA you can't.
Hopefully, it worked fine from first try, and so I was able to search and build teensy_loader_cli:
http://www.pjrc.com/teensy/loader_cli.htmlUsing it, I was able to flash it again: make -f Makefile.pjrc teensy
Hasu, is this known problem?
How this can be solved?
And second, not so important: with LUFA stack kbd is bit slower (365 scans on lufa against 368 on pjrc), and bit more interesting - handling of KC_TEENSY is muuuuuuch slower (about 3 seconds on lufa against ~0.5 on pjrc). Is this can be solved?...
fisofo & bobkare - could you please try my latest update and share your experience?