Just a note for all those who have to squeeze a few more bytes into the AVR boot loader code. The compiler options -mno-interrupts -mtiny-stack apply special optimisations (which are of course are only suitable for a bootloader). Not sure if this also works for the ARM, but it saves around 64 bytes on the AVR. Henrik