Fix compilation error appeared with latest version of Atmel AVR assembler and some bugs related to ATmega644. BL version is 1.6 now. Thanks to andreika