Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 16 Jan 2013 09:08 AM by  gcb
Can't Enable Bluetooth [Fixed]
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages
gcb
New Member
New Member
Posts:


--
15 Jan 2013 11:21 AM
    So, I managed to build the Linux kernel and burned the images into the NAND through makenandboot.
    Everything boots up fine, I was even able to connect to the Internet using ethernet.

    I ran a few other tests on the system and everything seemed to be fine... everything but the bluetooth.

    Here's what I do to activate the bluetooth:

    DM-37x# modprobe st_drv
    [ 22.824798] (stk) :sysfs entries created
    [ 22.829833] (stk) : debugfs entries created

    DM-37x# /home/root/wl12xx/uim &
    [1] 705


    Those two commands execute without a problem, but things start to get ugly when I do:

    DM-37x# modprobe btwilink
    [ 43.335449] Bluetooth: Bluetooth Driver for TI WiLink - Version 1.0
    [ 43.358520] (stc): st_register(2)
    [ 43.362030] (stc): chnl_id list empty :2
    [ 43.366485] (stk) : st_kim_start
    [ 43.475250] (stk) :ldisc_install = 1uim: Inside mainuim: Inside st_uart_configuim:install set to 1
    uim:opening /dev/ttyO1, while already open
    uim:cleanup
    uim: Inside set_
    [ 43.494171] (stc): st_tty_open baud_rateuim: set_baud_rate() done
    DM-37x# uim: Installed N_TI_WL Line displine

    [ 43.529113] (stk) : line discipline installed
    [ 44.333679] (stk) : waiting for ver info- timed out
    [ 44.338897] (stk) :kim: failed to read local ver
    [ 44.343841] (stk) :download firmware failed
    [ 44.348236] (stk) :ldisc_install = 0
    [ 44.457916] (stk) :ldisc_install = 1uim: Inside st_uart_configuim:in
    [ 44.465881] (stc): st_tty_close stall set to 1
    uim:opening /dev/ttyO1, while already open
    uim:
    [ 44.476013] (stc): st_tty_open cleanup
    uim: In
    [ 44.480407] (stk) : line discipline installed side set_baud_rateuim: set_baud_rate() done
    uim: Installed N_TI_WL Line displine

    [ 45.286834] (stk) : waiting for ver info- timed out
    [ 45.292022] (stk) :kim: failed to read local ver
    [ 45.296966] (stk) :download firmware failed
    [ 45.301330] (stk) :ldisc_install = 0
    [ 45.410491] (stk) :ldisc_install = 1uim: Inside st_uart_configuim:in
    [ 45.417968] (stc): st_tty_close stall set to 1
    uim:opening /dev/ttyO1, while al
    [ 45.426849] (stc): st_tty_open ready open
    uim:
    [ 45.431427] (stk) : line discipline installed cleanup
    uim: Inside set_baud_rateuim: set_baud_rate() done
    uim: Installed N_TI_WL Line displine

    [ 46.239929] (stk) : waiting for ver info- timed out
    [ 46.245147] (stk) :kim: failed to read local ver
    [ 46.250091] (stk) :download firmware failed
    [ 46.254455] (stk) :ldisc_install = 0
    [ 46.363677] (stk) :ldisc_install = 1uim: Inside st_uart_configuim:in
    [ 46.371276] (stc): st_tty_close stall set to 1
    uim:opening /dev/ttyO1, while al
    [ 46.379089] (stc): st_tty_open ready open
    uim:cleanup
    uim: In
    [ 46.385772] (stk) : line discipline installed side set_baud_rateuim: set_baud_rate() done
    uim: Installed N_TI_WL Line displine

    [ 47.193054] (stk) : waiting for ver info- timed out
    [ 47.198272] (stk) :kim: failed to read local ver
    [ 47.203186] (stk) :download firmware failed
    [ 47.207580] (stk) :ldisc_install = 0
    [ 47.316802] (stk) :ldisc_install = 1uim: Inside st_uart_configuim:in
    [ 47.324371] (stc): st_tty_close stall set to 1
    uim:opening /dev/ttyO1, while al
    [ 47.333068] (stc): st_tty_open ready open
    uim:
    [ 47.337738] (stk) : line discipline installed cleanup
    uim: Inside set_baud_rateuim: set_baud_rate() done
    uim: Installed N_TI_WL Line displine

    [ 48.146209] (stk) : waiting for ver info- timed out
    [ 48.151428] (stk) :kim: failed to read local ver
    [ 48.156341] (stk) :download firmware failed
    [ 48.160736] (stk) :ldisc_install = 0
    [ 48.269958] (stk) :ldisc_install = 1uim: Inside st_uart_configuim:in
    [ 48.277587] (stc): st_tty_close stall set to 1
    uim:opening /dev/ttyO1, while al
    [ 48.286407] (stc): st_tty_open ready open
    uim:
    [ 48.290954] (stk) : line discipline installed cleanup
    uim: Inside set_baud_rateuim: set_baud_rate() done
    uim: Installed N_TI_WL Line displine

    [ 49.099334] (stk) : waiting for ver info- timed out
    [ 49.104553] (stk) :kim: failed to read local ver
    [ 49.109466] (stk) :download firmware failed
    [ 49.113861] (stk) :ldisc_install = 0
    [ 49.117706] ti_st_open: st_register failed -22
    uim: Inside st_u[ 49.123718] (stc): st_tty_close art_configuim: Un-Installed N_TI_WL Line displine
    uim:cleanup


    These steps/commands were taken from the DM37x Linux BSP User Guide.
    I'm using LogicPD's Linux BSP version 2.2-2.

    Edit: This also happens when I use the stock Linux images.

    Any ideas on what might be wrong? Maybe I missed something?

    Thanks.

    EDIT:
    WiFi seems to be working properly.
    gcb
    New Member
    New Member
    Posts:


    --
    16 Jan 2013 09:08 AM
    My wireless development kits came without a jumper in J31 across pins 28-30.

    When this jumper is set the following will happen:
    Quote:

    UARTC transceiver chip is disabled. This setting should be used
    when the DM3730 Torpedo + Wireless SOM is being used. This is
    the default setting.


    Solved the issue by putting a jumper in J31 across pins 28-30.
    You are not authorized to post a reply.