Other Parts Discussed in Thread: AM3505, TVP5160, PCM1804
The Linux(Linux-2.6.32-psp03.00.01.06) is hanging up on AM3505.
I would like to know why the Linux is hanging up.
[Hardware]
- AM3505(600MHz)
I2C-1: Temperature Sensors(AD7415), RealTimeClock (S-35390A), PowerIC (TPS65023RSB), Video-Dec (TVP5160)
I2C-2: Control the HDMI Receiver
I2S: AudioADC (PCM1804)
UART2: Communicate with Other CPU(SH2A)
UART1: Console
SPI: Send MPEG-PES Data
[Software]
OS: linux-2.6.32-psp03.00.01.06
Process1(Priority: 10): Receiving commands via UART.
Process2(Priority: 90): After received command by Proc1, start receiving audio(PCM) data via I2S.
Process3(Priority: 80): Every 2msec, monitor the progress of Proc2. When the Proc2 has received done, start encoding PCM to AAC.
Process4(Priority: 80): Every 2msec, monitor the progress of Proc3. When the Proc3 has encoding done, start sending AAC data via SPI.
Process5(Priority: 90): In 100 msec periods, get temperature via I2C.
[Detailed Condition]
- Proc1 checks whether command is received or not with Select() function.
However the SH2A sending command to AM3505 via UART, the Proc1 remain waiting in Select().
At this time, Proc5 is not running too.(Proc5 prints debug log, but I can not find the logs)
- In this case, I can not login to Linux via console(UART1). (I tried to login via TeraTerm, but no message displayed.)
- This problem occures about once a week.
If someone knows this similar case, please help me on how to resolve this problem and please tell me what is the cause of the problem.
Thank you.