This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM335X: Hciattach commands with Am335x

Part Number: PROCESSOR-SDK-AM335X

Hello ,

I am want to execute command 

hciattach  /dev/ttyS1 texas 115200

for using hcitool & RTTT on windows  but it's showing error 

Can't open serial port: No such file or directory
Can't initialize device: No such file or directory

when i execute commands like 

root@am335x-evm:~# hciconfig
hci0: Type: Primary Bus: UART
BD Address: 30:45:11:36:08:DD ACL MTU: 1021:6 SCO MTU: 180:4
DOWN
RX bytes:4843 acl:0 sco:0 events:632 errors:0
TX bytes:126528 acl:0 sco:0 commands:633 errors:0

it's showing hcio bluetooth.

not able to togle gpio also

root@am335x-evm:/sys/class/gpio# sudo echo 117 > export
echo: write error: Device or resource busy

after that i changed dts file 

from 

&uart1 {
pinctrl-names = "default";
pinctrl-0 = <&uart1_pins &bt_pins>;
status = "okay";

bluetooth {
compatible = "ti,wl1835-st";
enable-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
};
};

to

&uart1 {
pinctrl-names = "default";
pinctrl-0 = <&uart1_pins >;
status = "okay";
};

still not able to execute hciattach commands .

Wifi module WL183X

Please help me.

Thanks.