I have an eclipse project which I'm building for x86 and for i.mx53 .
The code is loading firmware through the UART2 or UART3 at 115200 bps to a modem chip and and making alive checks (custom board) .
The code works for x86 and fails for mx53 .
I observed the uart Tx pins with a port monitor SW and realised that some piece of the sent packet is missing or repeated .
I thought its an alignment problem but the sendbuffer is aligned to four bytes :
} __attribute__((aligned(4),packed)) str_fwbuf;