Serial debugging communication source code written in C language