manoj bm
09/15/2008 7:33 AM
post13395
|
Hi all,
I am working on i.MX31 platform. I am developing WLAN driver
for SD8686 card having SDIO interface. After sending 1st CMD53 to SD8686
card, am waiting for response from the card by blocking thread execution
using MsgReceivePulse call. But as as soon as i call MsgReceivePulse my
driver gets terminated abruptly. But the same call succedes, when i try
to wake up thread by sending wakeup pulse but it fails when am expecting
actual card interrupt from the card which is send by SDIO driver on this
channel . If i check using "ps -e" it shows io-net is running with PID
equal to my driver PID(i.e printed as last debug msg in my wlan driver
before it terminates) please can any one tell me why WLAN driver
terminates as soon i call MsgReceivePulse. Is the WLAN driver actualy
running in background or its terminated ????? because if i kill the WLAN
driver (i.e, kill 8199) then also ps -e shows the driver running (shown
in screen shots). I am executing driver as "io-net -dsdio8686 -ptcpip"
Thanks and Regards,
Manoj B M
attach 1:
IMX31 INFO:CMD(52) :RESP=(3410fe00) ,COMMAND SUCCESS
IMX31 INFO:CMD(52) :RESP=(3410ff00) ,COMMAND SUCCESS
IMX31 INFO:PREP_CMD: 0x3
IMX31 ERROR:QUEUE_CMD: cmd=0x3 is queued
IMX31 DEBUG:wake up pulse received
IMX31 DEBUG:entering ExecuteNextCommand
IMX31 DEBUG:entering DownloadCommandToStation
IMX31 DEBUG:entering if_host_to_card
IIMX31 INFO:CMD(52) :RESP=(34104000) ,COMMAND SUCCESS
MIMX31 INFO:CMD(52) :RESP=(34100100) ,COMMAND SUCCESS
X31 ERROR:IMX31 INFO:CMD(53) :RESP=(35200000) ,COMMAND SUCCESS
PREP_CMD: Wait for CMD response...
IMX31 DEBUG:leaving if_host_to_card
IMX31 DEBUG:leaving DownloadCommandToStation
IMX31 DEBUG:leaving ExecuteNextCommand
WLAN DRIVER PID =8199
#
#
#
# ps -e
PID TTY TIME CMD
1 ? 00:00:31
2 ? 00:00:00 devc-sermx1
4099 ? 00:00:00 pipe
4 ? 00:00:00 slogger
4101 ? 00:00:00 ksh
4102 ? 00:00:02 imxboard_sdio_driver
8199 ? 00:00:00 io-net
12296 ? 00:00:00 ps
# kill 8199
# ps -e
PID TTY TIME CMD
1 ? 00:01:17
2 ? 00:00:00 devc-sermx1
4099 ? 00:00:00 pipe
4 ? 00:00:00 slogger
4101 ? 00:00:00 ksh
4102 ? 00:00:02 imxboard_sdio_driver
8199 ? 00:00:00 io-net
20488 ? 00:00:00 ps
#
|
|
|