Hello Henrik, Hello Harald, the source ist not working, you must change something: 1. Change #ifdef __AVR_ENHANCED__ to #ifdef _MCU_enhanced Now the new source will be used :-) 2. Change the last - 1; to - 1UL; And now it works with the ICCAVR 7.00a Best regards, Michael