But only when you program the chip. At some point it stops printing the received bytes because the interrupt is not triggered anymore. I do not know yet how and why this happens. Even after restarting the board this state is maintained.