short progs to generate ptt file an debug