Thank you jimmychan
İts a custom board , BSP version is L2.6.35_11.09.01 .
We have found that the problem is somewhere else :
The port monitor I was using is somehow effected from the activation order of boards. When I first activate CPU board then reset the modem board and then activate the port monitor there are no missing bytes at the beginning .
So I think mx53 has no missing bytes problem.
But if so why is the modem not receiving 8K firmware bytes and replay to alive checks?
Our CPU board was controlling the modem boards . We saw that an fpga which is not implemented fully yet was helding the modem in a reset state so that modem doesnt replay.Now FPGA has inactivated the reset line by default and we are observing uart data from modem with the oscilloscope.
We have still a problem:
Now the modem replay should be received by mx53 UART ,but it doesnt get anything within the timeout window .
I'm using UART2 and UART3 for modem communications.The same project when compiled with x86 and run on PC works without any problem.
QUESTIONS :
In /linux/arch/arm/mx5/serial.h all the uarts are configured differently.DMA is enabled for some for some not ,some of them are using interrupts some of them not. I dont have use the CTS ,RTS pins so from the flow control viewUART2_UCR4_CTSTL -1 should be correct .
Are these default values and changed somewhere else according to the board configuration or should we change them only in serial.h if we want en- disable dma ,irq ?
How can I enable the receive part of UART2 or UART3 ( I have to check that the replay coming from modem reaches to UART2 receive pin ,still ).
Should I apply the changes mentioned in forum MX53 UART2(3) not working at Oct 28, 2011 ?
Should I use the imx_2.6.35_maintain BSP ? How to get the patches to upgrade my BSP to imx_2.6.35_maintain BSP?