Hi all,

I have been pulling my hair on this, and need your advice for what to do 
from here.

I use a WL1835 chip on a custom cape, Uart1 is used for bluetooth and mmc2 
(mmc1) for wifi. Wifi is ok.
I use the howto <https://eewiki.net/display/linuxonarm/BeagleBone+Black> 
from RobertCNelson.

Info:
debian@arm:~$ cat /etc/rcn-ee.conf
distro=Debian
deb_codename=stretch
rfs_username=debian
release_date=2017-12-09
third_party_modules=
abi=aa
image_type=minimal

I have modified the bb-wl18xx-bluetooth script, that is included in the 
bb-wl18xx-firmware, so that it toggles the right pins. The pins are defined 
in the dts file as led pins as described in the script by Robert. I have 
confirmed that the pins are toggled as intended by a oscilloscope.

The uart is setup in DTS file (They are also confirmed to signal when 
ordered to :-) )

&uart1 {
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&uart1_pins_default>;
    pinctrl-1 = <&uart1_pins_sleep>;
    status = "okay";
    fsl,uart-has-rtscts;      // enable flow control
};

The pins are setup:
    uart1_pins_default: pinmux_uart1_pins_default {
    pinctrl-single,pins = <
            0x17c (PIN_OUTPUT_PULLDOWN | MUX_MODE0)     /* uart1_rtsn */
            0x178 (PIN_INPUT | MUX_MODE0)                         /* 
uart1_ctsn */
            0x184 (PIN_OUTPUT_PULLDOWN | MUX_MODE0)     /* uart1_txd */
            0x180 (PIN_INPUT_PULLUP | MUX_MODE0)             /* uart1_rxd */
        >;
    };
    
    uart1_pins_sleep: pinmux_uart1_pins_sleep {
    pinctrl-single,pins = <    
      0x17c (PIN_INPUT_PULLDOWN | MUX_MODE7)     /* uart1_rtsn */
      0x178 (PIN_INPUT_PULLDOWN | MUX_MODE7)     /* uart1_ctsn */
      0x184 (PIN_INPUT_PULLDOWN | MUX_MODE7)     /* uart1_txd */
      0x180 (PIN_INPUT_PULLDOWN | MUX_MODE7)     /* uart1_rxd */
        >;
    };

The problem is when I run the script:

debian@arm:~$ bb-wl18xx-bluetooth 
TI_AM335x_BeagleBone_Customer
Found a Texas Instruments' chip!
Firmware file : /lib/firmware/ti-connectivity/TIInit_11.8.32.bts
Loaded BTS script version 1
texas: changing baud rate to 3000000, flow control to 1
Can't set device: Protocol not supported
Can't initialize device: Protocol not supported


How do I debug this, any advise is appreciated.

Best regards
Ole




-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/9174ad28-386b-4d30-8a66-dd7d9b9464c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to