Quantcast
Channel: Wireless Connectivity
Viewing all articles
Browse latest Browse all 116964

Forum Post: RE: WL12xx WiFi+BT on AM335x - BT Initialization fails

$
0
0

[quote user="Sundeep Mandava"]

Hi,

First you need to have a UIM executable. For this you need to create a Makefile to compile UIM in “uim-sysfs” folder.

Once you have the uim-sysfs executable.

  1. You need to create a script uim-sysfs.sh. This script should launch uim-sysfs.
  2.  Insert this script into /etc/init.d/
  3. Make a link in /etc/rc2.d/ with “ln –s ../init.d/uim-sysfs.sh S99uim-sysfs”.

Thanks & Regards,

Sundeep.

[/quote]

Hi Sundeep,

I downloaded and compiled uim-sysfs from gitorious and deployed to ti linux rootfs. Following error occurred when tried to run BT_Init.sh

root@am335x-evm:/usr/share/wl1271-demos/bluetooth/scripts# ./BT_Init.sh

/*
 * #################################################
 *    [  173.581512] Gpio value is :48
              Initialize BT
 * #################################################
 */
 
[  173.602325] WL1271: BT Enable
Found a Texas Instruments' chip!
Firmware file : /lib/firmware/TIInit_7.2.31.bts
Loaded BTS script version 1
texas: changing baud rate to 3000000, flow control to 1
uim:poll broke due to event 10(PRI:2/ERR:8)

uim:read 1 from install

uim:@ st_uart_config
uim: signal received, opening /dev/ttyO1
uim:@ set_baud_rate
uim:set_baud_rate() done
uim:Setting speed to 3000000
uim:@ read_command_complete
uim: Command complete started
uim:@ read_hci_event
uim: read_hci_event
uim:Invalid response
uim:begin polling...
Device setup complete
[  177.062316] (stk) :line disc installation timed out uim:poll broke due to event 10(PRI:2/ERR:8)

uim:read 0 from install

uim:@ st_uart_config
uim:Un-Installed N_TI_WL Line displine
uim:begin polling...

[  178.072296] Bluetooth: hci1 command tx timeout
uim:poll broke due to event 10(PRI:2/ERR:8)

uim:read 1 from install

uim:@ st_uart_config
uim: signal received, opening /dev/ttyO1
uim:@ set_baud_rate
uim:set_baud_rate() done
uim:Setting speed to 3000000
uim:@ read_command_complete
uim: Command complete started
uim:@ read_hci_event
uim: read_hci_event
uim:Invalid response
uim:begin polling...
[  179.072296] Bluetooth: hci1 command tx timeout
[  179.182281] (stk) :line disc installation timed out uim:poll broke due to event 10(PRI:2/ERR:8)

uim:read 0 from install

uim:@ st_uart_config
uim:Un-Installed N_TI_WL Line displine
uim:begin polling...

[  180.072296] Bluetooth: hci1 command tx timeout
uim:poll broke due to event 10(PRI:2/ERR:8)

uim:read 1 from install

uim:@ st_uart_config
uim: signal received, opening /dev/ttyO1
uim:@ set_baud_rate
uim:set_baud_rate() done
uim:Setting speed to 3000000
uim:@ read_command_complete
uim: Command complete started
uim:@ read_hci_event
uim: read_hci_event
uim:Invalid response
uim:begin polling...
[  181.072296] Bluetooth: hci1 command tx timeout
[  181.302276] (stk) :line disc installation timed out uim:poll broke due to event 10(PRI:2/ERR:8)

uim:read 0 from install

uim:@ st_uart_config
uim:Un-Installed N_TI_WL Line displine
uim:begin polling...

[  182.072296] Bluetooth: hci1 command tx timeout
uim:poll broke due to event 10(PRI:2/ERR:8)

uim:read 1 from install

uim:@ st_uart_config
uim: signal received, opening /dev/ttyO1
uim:@ set_baud_rate
uim:set_baud_rate() done
uim:Setting speed to 3000000
uim:@ read_command_complete
uim: Command complete started
uim:@ read_hci_event
uim: read_hci_event
uim:Invalid response
uim:begin polling...
root@am335x-evm:/usr/share/wl1271-demos/bluetooth/scripts# [  183.072296] Bluetooth: hci1 command tx timeout
[  183.422302] (stk) :line disc installation timed out uim:poll broke due to event 10(PRI:2/ERR:8)

uim:read 0 from install

uim:@ st_uart_config
uim:Un-Installed N_TI_WL Line displine
uim:begin polling...

[  184.072296] Bluetooth: hci1 command tx timeout
uim:poll broke due to event 10(PRI:2/ERR:8)

uim:read 1 from install

uim:@ st_uart_config
uim: signal received, opening /dev/ttyO1
uim:@ set_baud_rate
uim:set_baud_rate() done
uim:Setting speed to 3000000
uim:@ read_command_complete
uim: Command complete started
uim:@ read_hci_event
uim: read_hci_event
uim:Invalid response
uim:begin polling...
[  185.072265] Bluetooth: hci1 command tx timeout
[  185.542297] (stk) :line disc installation timed out uim:poll broke due to event 10(PRI:2/ERR:8)

uim:read 0 from install

uim:@ st_uart_config
uim:Un-Installed N_TI_WL Line displine
uim:begin polling...

uim:poll broke due to event 10(PRI:2/ERR:8)

uim:read 1 from install

uim:@ st_uart_config
uim: signal received, opening /dev/ttyO1
uim:@ set_baud_rate
uim:set_baud_rate() done
uim:Setting speed to 3000000
uim:@ read_command_complete
uim: Command complete started
uim:@ read_hci_event
uim: read_hci_event
uim:Invalid response
uim:begin polling...
[  187.662292] (stk) :line disc installation timed out uim:poll broke due to event 10(PRI:2/ERR:8)

uim:read 0 from install

uim:@ st_uart_config
uim:Un-Installed N_TI_WL Line displine
uim:begin polling...

[  188.662322] Bluetooth: st_register failed -22

Regards,

Dilip


Viewing all articles
Browse latest Browse all 116964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>