BTW, when I use sdcc_skeleton_v1_9a as an app template, everything works fine! I write the programm, then run make command and it compiles/creates the project.hex, which I upload successfully in the PIC with MIDI via mios studio and the app run well.. [edit] The \r characters appear also in the project.lst created in the sdcc_skeleton_v1_9a template dir, so I guess the error in MIOS programming platform template is not caused by those characters... must comes from elsewhere.... At least I have a working solution, but I am curious and wonder why the new templates don't work on my system