Hi Shiv,

I hope you've resolved this issue by now if not read on..

Did you check the UART configuration, I suspect there is some problem with 
power on sequence and uart which is why it is not able to read chip 
revision.
check the uart config, timing and power on sequence of the chip. There 
should not be any glitches on the UART data lines.

CSPSA is a security partition which contains default bluetooth device 
address which your device is not able to read but it is not an issue for 
now.

I think you first need to fix Power supplies, GPIO numbers, Power on 
sequence issue and then UART.
Power supplies and Clock: DId you check whether all power supplies are 
active and that they have required voltages.
Is the clock present and active, both the main clock and lpm clcok.

"The failed to set protocol" is saying that driver is not able to configure 
cg29xx in UART mode, this is part of power on sequence, there will be a 
gpio which determines the mode of operation (USB/UART) normally this is 
done by pulling up/down a gpio, check this once in board-ux500-cg2900.c, 
devices-cg2900-ux500.c 
and in the main board file. 
see the error "[ 11.123992] PMU_EN GPIO may not exist******", I can't say 
for sure that this is the gpio but you can verify it from the schematics 
and datasheet

UART: is the UART port to which BT is connected is /dev/AMA0.
You can determine this from the schematics, and uart device registration in 
board-mop500 file.
Also you need to provide correct permissions in init.rc

once these are working correctly you will be able to download firmware, 
register it with hci interface and communicating with it.

Besides above comments there are many i2c timeout errors, possibly because 
i2c addresses are not correct, though that is not relevant to BT

Hope this helps.

br
Arun


On Friday, 27 July 2012 15:25:43 UTC+1, shiv wrote:
>
> Hi Group,
>
>     I am trying to enable Bluetooth over android ICS 4.0.3 on snowball, 
> But i am getting following error,
>    
>          ' Could not read out revision from the chip ' and also tried out 
> to give following command on terminal 
>
> /system/xbin/ste-cg29xx_ctrl -b 115200 -p 6 -l 23 -i 
> /system/bin/cg2900-channel_init.sh /dev/ttyAMA0   but it is giving error 
> like :
>   
>        ste-cg29xx_ctrl setup_bda: Can't open CSPSA area (result 0xB) (2, 
> No such file or directory)
>        ste-cg29xx_ctrl init_transport_uart: Failed to set protocol 6.(16, 
> Device or resource busy)
>        ste-cg29xx_ctrl main: Can't initialize UART(16, Device or resource 
> busy)  . I also collected logs during booting kindly find the attached file 
> and help me to resolve the problem
>
> Thanks in advance :)
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to