Hi, try to change your memory-map - the .ldi file - so that the start address of the rom_vectors-section - the second parameter inside the brackets - gets bigger. 0x20000 should work. This method worked for me when I had a very similar problem. When doing this you give the stub more room to live, your problem may result from overwriting parts of the stub by loading the application. ----------------------------------------------------- i.A. Andreas Bürgel GenoLogic GmbH Software Engineer Joseph-von-Fraunhofer-Str. 13 D-44227 DORTMUND Germany ab@genologic.de phone +49 (0) 231/477349-0 fax +49 (0) 231/4761234