Debug information shouldn't be sent in USART receive interrupt function. After commented these phase in interrupt function, the program could do the right thing.