maybe try a raw byte dump?
uint8_t data[16];
while (1) {
for (int i = 0; i < 16; i++) {
data[i] = UART1_Receive();
debug_printf("0x%02X ", data[i]);
}
debug_printf("\n");
}
should let you check the structured packet headers