[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bluetooth-dev] CSR module(casira) : Discarding 12 byte...



"" wrote:

> Hello
> I am Jun from seoul korea.
>
> I used CSR module and axis stack.
> successfully Comfile...
> But stack occured error when execute stack and power on CASIRA.
>
> Error is
> -----------------------------------------------
> hci_receive_data, (12)
> 0xc0 0x40 0x41 0x00 0x7e 0xda 0xdc 0xed 0xed 0xa9 0x7a 0xc0
> hci_receive_data, hci-12
>
> BT SYS: ERROR :hci_receive_data, Discarding 12 bytes and waiting forever...
> -----------------------------------------------
>
> I wish, I know that what is this 12byte and how handling.
>
> execute option is :
> ./btd -u /dev/ttyS0 -b /dev/ttyBT0 -r server -s 115200 -m
>
> /var/log/message file contents is :
>
> Feb 20 07:42:42 localhost kernel: BT (driver) bt_ioctl: forwarding ioctl 0x540b to serial driver
> Feb 20 07:42:42 localhost kernel: BT (driver) bt_flush_buffer
> Feb 20 07:42:42 localhost kernel: BT SYS: Initialising Bluetooth Stack
> Feb 20 07:42:42 localhost kernel: BT SYS: hci_init, Initialising HCI
>
> Feb 20 07:42:42 localhost kernel: BT SYS: HCI emulator off
> Feb 20 07:42:42 localhost kernel: BT SYS: hci_init, Initialising HCI inbuffers [800]
>
> Feb 20 07:42:42 localhost kernel: HCI: init_cmd_buf, Initializing
>
> Feb 20 07:42:43 localhost kernel: BT SYS: hci_init, Reading buffer sizes in the module...
>
> Feb 20 07:42:43 localhost kernel: HCI: send_cmd_queue, start: Num_HCI_Command_Pa@
>
> Feb 20 07:42:43 localhost kernel: HCI: send_cmd_queue, start: Num_HCI_Command_Packets=1
>
> Feb 20 07:42:43 localhost kernel:
> Feb 20 07:42:43 localhost kernel: hci_receive_data, (12)
>
> Feb 20 07:42:43 localhost kernel: 0xc0 0x40 0x41 0x00 0x7e 0xda 0xdc 0xed 0xed 0xa9 0x7a 0xc0
> Feb 20 07:42:43 localhost kernel: hci_receive_data, hci-12
>
> Feb 20 07:42:43 localhost kernel: HCI: hci_receive_data, WAIT_FOR_PACKET_TYPE
>
> Feb 20 07:42:43 localhost kernel: BT SYS: ERROR :hci_receive_data, Bad UART baud rate or trashed data on the uart
> Feb 20 07:42:43 localhost kernel: BT SYS: ERROR :hci_receive_data, Try reducing uart speed or change IRQ setting (PC)
> Feb 20 07:42:43 localhost kernel: BT SYS: ERROR :hci_receive_data, Try reducing uart speed or change IRQ setting (PC)
> Feb 20 07:42:43 localhost kernel: BT SYS: hci_receive_data, Resetting state machmachine and trying to resync
>

Hi Jun,

Looks like your UART is dropping bytes. Try a lower baud rate, check if the serial port is getting overruns, make sure
nobody's trying to use the serial port as a console, etc.

--gmcnutt

-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com