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.

CC2564MODNEM not running with BlueZ 5.27

Other Parts Discussed in Thread: CC2564, CC2564MODNEM

Hi all,


We wanna use CC2564B in our device and I am trying to get it running. We have linux system with 4.0 Kernel (actually rc7 but it doesn't matter) and BlueZ 5.27. The system compiled using Buildroot. Also we are using bluetooth_init_cc2564B_1.2_BT_Spec_4.1.bts script that was placed in /lib/firmware/ti-connectivity/TIInit_6.7.16.bts  and I changed in BlueZ in hciattach_ti.c 

"if (hci_send_req(fd, &rq, 15) < 0) { "

to

"if (hci_send_req(fd, &rq, 150) < 0) {"

But when we execute "hciattach ttyS4 texas" we get error message "Can't init device hci0: Device or resource busy (16)Can't initialize device Device or resource busy

I activated debug messages in kernel and got pretty long list at the end of it I see:

[   40.644531] hu c324a880 count 8 rx_state 0 rx_count 0
[   40.652343] Event packet
[   40.652343] Event header: evt 0x0e plen 12
[   40.656250] len 12 room 1846
[   40.660156] hu c324a880 count 7 rx_state 4 rx_count 7
[   40.664062] Complete data
[   40.667968] hci0
[   40.667968] hdev c33ac000 len 14
[   40.671875] hci0 Event packet
[   40.675781] hci0 status 0x00
[   40.679687] opcode 0x2003 status 0x00
[   40.683593] hci0 opcode 0x2003
[   40.683593] hci0 cmd_cnt 1 cmd queued 8
[   40.691406] hci0 type 1 len 3
[   40.691406] hdev c33ac000 len 3
[   40.695312] hci0: type 1 len 3
[   40.699218] hu c324a880 skb c33b43e0
[   40.703125] device awake, sending normally
[   40.707031]
[   40.707031]
[   40.710937] hu c324a880 count 9 rx_state 0 rx_count 0
[   40.714843] Event packet
[   40.714843] Event header: evt 0x0e plen 12
[   40.722656] len 12 room 1846
[   40.722656] hu c324a880 count 6 rx_state 4 rx_count 6
[   40.730468] Complete data
[   40.730468] hci0
[   40.734375] hdev c33ac000 len 14
[   40.734375] hci0 Event packet
[   40.738281] hci0 status 0x0c
[   40.742187] opcode 0x201c status 0x0c
[   40.746093] hci0 opcode 0x201c
[   40.750000] hci0 result 0x0c
[   40.750000] hci0 end: err -16

 Also linux sent telegram with opcode 0x2003 ("LE read local features" ) and got event with 0 in status. That was last good answer. Then linux sent telegram with opcode 0x201C ("LE read supported states") and got event with 0x0C (busy)  in status. Do you have any idea why it happened and how can we fix it?

Thanks a lot,

Best regards,

Sergey

  • Hi Sergey,

    Can you please share a snoop log? Are you sure if the firmware is being downloaded?
    The bts file location should be: "/lib/firmware/".

    Regards,
    Gigi Joseph.
  • Hi Joseph,


    Just FYI. I tried to deactivate requesting of HCI_OP_LE_READ_SUPPORTED_STATES since how I see the kernel just sends this request and do not using the results. Ok, after HCI_OP_LE_READ_SUPPORTED_STATES the kernel sends HCI_OP_LE_READ_WHITE_LIST_SIZE and chip answers without error on it and then it sends HCI_OP_LE_CLEAR_WHITE_LIST and here I'm getting again busy answer. I deactivated this request too and then got busy answer on HCI_OP_LE_SET_EVENT_MASK. It looks like chip could not accept  most LE HCI commands. Strange.

    >The bts file location should be: "/lib/firmware/"

    It was before. Now it seems to be /lib/firmware/ti-connectivity. Debug-message of hciattach shows that script uploaded. But I am not sure. I downloaded script file Is this correct?

    And here is the debug log

    / # uname -a
    Linux (none) 4.0.0 #511 PREEMPT Mon Apr 13 08:26:19 CEST 2015 armv5tejl GNU/Linux
    / # hciattach ttyS4 texas
    Found a Texas Instruments' chip!
    Firmware file : /lib/firmware/ti-connectivity/TIInit_6.7.16.bts
    Loaded BTS script version 1
    texas: changing baud rate to 115200, flow control to 1
    [   52.042968] tty c390e800
    [   52.046875]
    [   52.046875] hu c333b740
    [   52.050781]
    [   52.050781] c334e000 name hci0 bus 3
    [   52.062500] hdev hci0 event 1
    [   52.062500] hdev   (null) len 8
    [   52.070312] hci0 orig refcnt 3
    [   52.070312] hci0
    [   52.074218] hci0 c334e000
    [   52.074218] hci0 c334e000
    [   52.078125] hci0 start
    [   52.082031] hci0 0
    [   52.082031] hci0 opcode 0x1003 plen 0
    [   52.085937] skb len 3
    [   52.089843] hci0 opcode 0x1001 plen 0
    [   52.093750] skb len 3
    [   52.093750] hci0 opcode 0x1009 plen 0
    [   52.097656] skb len 3
    [   52.101562] length 3
    [   52.105468] hci0 cmd_cnt 1 cmd queued 3
    [   52.105468] hci0 type 1 len 3
    [   52.109375] hci0: type 1 len 3
    [   52.113281] hu c333b740 skb c338b320
    [   52.117187] device awake, sending normally
    [   52.121093]
    [   52.121093]
    [   52.125000] hu c333b740 count 10 rx_state 0 rx_count 0
    [   52.128906] Event packet
    [   52.132812] Event header: evt 0x0e plen 12
    [   52.136718] len 12 room 1846
    [   52.148437] hu c333b740 count 5 rx_state 4 rx_count 5
    [   52.156250] Complete data
    [   52.156250] hci0
    [   52.160156] hci0 Event packet
    [   52.164062] hci0 status 0x00
    [   52.164062] opcode 0x1003 status 0x00
    [   52.167968] hci0 opcode 0x1003
    [   52.171875] hci0 cmd_cnt 1 cmd queued 2
    [   52.175781] hci0 type 1 len 3
    [   52.179687] hci0: type 1 len 3
    [   52.183593] hu c333b740 skb c338b9e0
    [   52.183593] device awake, sending normally
    [   52.191406]
    [   52.191406]
    [   52.191406] hu c333b740 count 8 rx_state 0 rx_count 0
    [   52.199218] Event packet
    [   52.199218] Event header: evt 0x0e plen 12
    [   52.203125] len 12 room 1846
    [   52.207031] hu c333b740 count 7 rx_state 4 rx_count 7
    [   52.210937] Complete data
    [   52.214843] hci0
    [   52.218750] hci0 Event packet
    [   52.218750] hci0 status 0x00
    [   52.222656] opcode 0x1001 status 0x00
    [   52.226562] hci0 opcode 0x1001
    [   52.230468] hci0 cmd_cnt 1 cmd queued 1
    [   52.234375] hci0 type 1 len 3
    [   52.234375] hci0: type 1 len 3
    [   52.238281] hu c333b740 skb c338b0e0
    [   52.242187] device awake, sending normally
    [   52.246093]
    [   52.250000]
    [   52.250000] hu c333b740 count 9 rx_state 0 rx_count 0
    [   52.253906] Event packet
    [   52.257812] Event header: evt 0x0e plen 10
    [   52.261718] len 10 room 1846
    [   52.265625] hu c333b740 count 4 rx_state 4 rx_count 4
    [   52.269531] Complete data
    [   52.273437] hci0
    [   52.273437] hci0 Event packet
    [   52.277343] hci0 status 0x00
    [   52.281250] opcode 0x1009 status 0x00
    [   52.285156] hci0 opcode 0x1009
    [   52.285156] hci0 result 0x00
    [   52.289062] hci0 end: err 0
    [   52.292968] hci0 start
    [   52.292968] hci0 opcode 0x1005 plen 0
    [   52.296875] skb len 3
    [   52.300781] hci0 opcode 0x0c23 plen 0
    [   52.304687] skb len 3
    [   52.304687] hci0 opcode 0x0c14 plen 0
    [   52.308593] skb len 3
    [   52.312500] hci0 opcode 0x0c25 plen 0
    [   52.316406] skb len 3
    [   52.316406] hci0 opcode 0x0c38 plen 0
    [   52.320312] skb len 3
    [   52.324218] hci0 opcode 0x0c39 plen 0
    [   52.328125] skb len 3
    [   52.332031] hci0 opcode 0x0c05 plen 1
    [   52.332031] skb len 4
    [   52.335937] hci0 opcode 0x0c16 plen 2
    [   52.339843] skb len 5
    [   52.343750] hci0 opcode 0x2002 plen 0
    [   52.343750] skb len 3
    [   52.347656] hci0 opcode 0x2003 plen 0
    [   52.351562] skb len 3
    [   52.355468] hci0 opcode 0x201c plen 0
    [   52.355468] skb len 3
    [   52.359375] hci0 opcode 0x200f plen 0
    [   52.363281] skb len 3
    [   52.367187] hci0 opcode 0x2010 plen 0
    [   52.367187] skb len 3
    [   52.371093] hci0 opcode 0x1002 plen 0
    [   52.375000] skb len 3
    [   52.378906] hci0 opcode 0x0c52 plen 241
    [   52.382812] skb len 244
    [   52.382812] hci0 opcode 0x0c45 plen 1
    [   52.386718] skb len 4
    [   52.390625] hci0 opcode 0x0c58 plen 0
    [   52.394531] skb len 3
    [   52.394531] hci0 opcode 0x1004 plen 1
    [   52.398437] skb len 4
    [   52.402343] length 18
    [   52.402343] hci0 cmd_cnt 1 cmd queued 18
    [   52.406250] hci0 type 1 len 3
    [   52.410156] hci0: type 1 len 3
    [   52.414062] hu c333b740 skb c338b9e0
    [   52.417968] device awake, sending normally
    [   52.421875]
    [   52.421875]
    [   52.425781] hu c333b740 count 10 rx_state 0 rx_count 0
    [   52.429687] Event packet
    [   52.433593] Event header: evt 0x0e plen 11
    [   52.437500] len 11 room 1846
    [   52.437500] hu c333b740 count 4 rx_state 4 rx_count 4
    [   52.445312] Complete data
    [   52.445312] hci0
    [   52.449218] hci0 Event packet
    [   52.453125] hci0 status 0x00
    [   52.453125] hci0 acl mtu 1021:4 sco mtu 180:4
    [   52.457031] opcode 0x1005 status 0x00
    [   52.460937] hci0 opcode 0x1005
    [   52.464843] hci0 cmd_cnt 1 cmd queued 17
    [   52.468750] hci0 type 1 len 3
    [   52.472656] hci0: type 1 len 3
    [   52.476562] hu c333b740 skb c338b0e0
    [   52.480468] device awake, sending normally
    [   52.484375]
    [   52.484375]
    [   52.484375] hu c333b740 count 9 rx_state 0 rx_count 0
    [   52.492187] Event packet
    [   52.492187] Event header: evt 0x0e plen 7
    [   52.496093] len 7 room 1846
    [   52.500000] hu c333b740 count 1 rx_state 4 rx_count 1
    [   52.503906] Complete data
    [   52.507812] hci0
    [   52.511718] hci0 Event packet
    [   52.511718] hci0 status 0x00
    [   52.515625] hci0 class 0x001f00
    [   52.519531] opcode 0x0c23 status 0x00
    [   52.523437] hci0 opcode 0x0c23
    [   52.527343] hci0 cmd_cnt 1 cmd queued 16
    [   52.527343] hci0 type 1 len 3
    [   52.531250] hci0: type 1 len 3
    [   52.535156] hu c333b740 skb c338b320
    [   52.539062] device awake, sending normally
    [   52.542968]
    [   52.542968]
    [   52.546875] hu c333b740 count 10 rx_state 0 rx_count 0
    [   52.550781] Event packet
    [   52.554687] Event header: evt 0x0e plen 252
    [   52.558593] len 252 room 1846
    [   52.566406] hu c333b740 count 224 rx_state 4 rx_count 245
    [   52.570312] hu c333b740 count 21 rx_state 4 rx_count 21
    [   52.578125] Complete data
    [   52.578125] hci0
    [   52.582031] hci0 Event packet
    [   52.582031] hci0 status 0x00
    [   52.585937] opcode 0x0c14 status 0x00
    [   52.589843] hci0 opcode 0x0c14
    [   52.593750] hci0 cmd_cnt 1 cmd queued 15
    [   52.597656] hci0 type 1 len 3
    [   52.601562] hci0: type 1 len 3
    [   52.601562] hu c333b740 skb c338b620
    [   52.605468] device awake, sending normally
    [   52.609375]
    [   52.613281]
    [   52.613281] hu c333b740 count 9 rx_state 0 rx_count 0
    [   52.621093] Event packet
    [   52.621093] Event header: evt 0x0e plen 6
    [   52.625000] len 6 room 1846
    [   52.628906] Complete data
    [   52.632812] hci0
    [   52.632812] hci0 Event packet
    [   52.636718] hci0 status 0x00
    [   52.636718] hci0 voice setting 0x0060
    [   52.640625] opcode 0x0c25 status 0x00
    [   52.644531] hci0 opcode 0x0c25
    [   52.648437] hci0 cmd_cnt 1 cmd queued 14
    [   52.652343] hci0 type 1 len 3
    [   52.656250] hci0: type 1 len 3
    [   52.660156] hu c333b740 skb c338b3e0
    [   52.664062] device awake, sending normally
    [   52.667968]
    [   52.667968]
    [   52.667968] hu c333b740 count 8 rx_state 0 rx_count 0
    [   52.675781] Event packet
    [   52.675781] Event header: evt 0x0e plen 5
    [   52.679687] len 5 room 1846
    [   52.683593] Complete data
    [   52.687500] hci0
    [   52.687500] hci0 Event packet
    [   52.691406] hci0 status 0x00
    [   52.695312] hci0 num iac 5
    [   52.695312] opcode 0x0c38 status 0x00
    [   52.699218] hci0 opcode 0x0c38
    [   52.703125] hci0 cmd_cnt 1 cmd queued 13
    [   52.707031] hci0 type 1 len 3
    [   52.710937] hci0: type 1 len 3
    [   52.714843] hu c333b740 skb c338b7a0
    [   52.718750] device awake, sending normally
    [   52.722656]
    [   52.722656]
    [   52.722656] hu c333b740 count 9 rx_state 0 rx_count 0
    [   52.730468] Event packet
    [   52.730468] Event header: evt 0x0e plen 8
    [   52.734375] len 8 room 1846
    [   52.738281] hu c333b740 count 2 rx_state 4 rx_count 2
    [   52.742187] Complete data
    [   52.746093] hci0
    [   52.750000] hci0 Event packet
    [   52.750000] hci0 opcode 0x0c39
    [   52.753906] opcode 0x0c39 status 0x00
    [   52.757812] hci0 opcode 0x0c39
    [   52.761718] hci0 cmd_cnt 1 cmd queued 12
    [   52.765625] hci0 type 1 len 4
    [   52.769531] hci0: type 1 len 4
    [   52.769531] hu c333b740 skb c338b6e0
    [   52.773437] device awake, sending normally
    [   52.777343]
    [   52.781250]
    [   52.781250] hu c333b740 count 7 rx_state 0 rx_count 0
    [   52.785156] Event packet
    [   52.789062] Event header: evt 0x0e plen 4
    [   52.792968] len 4 room 1846
    [   52.796875] Complete data
    [   52.796875] hci0
    [   52.800781] hci0 Event packet
    [   52.804687] hci0 opcode 0x0c05
    [   52.804687] opcode 0x0c05 status 0x00
    [   52.808593] hci0 opcode 0x0c05
    [   52.812500] hci0 cmd_cnt 1 cmd queued 11
    [   52.816406] hci0 type 1 len 5
    [   52.820312] hci0: type 1 len 5
    [   52.824218] hu c333b740 skb c338bc20
    [   52.828125] device awake, sending normally
    [   52.832031]
    [   52.832031]
    [   52.835937] hu c333b740 count 7 rx_state 0 rx_count 0
    [   52.839843] Event packet
    [   52.843750] Event header: evt 0x0e plen 4
    [   52.847656] len 4 room 1846
    [   52.847656] Complete data
    [   52.851562] hci0
    [   52.851562] hci0 Event packet
    [   52.855468] hci0 opcode 0x0c16
    [   52.859375] opcode 0x0c16 status 0x00
    [   52.863281] hci0 opcode 0x0c16
    [   52.867187] hci0 cmd_cnt 1 cmd queued 10
    [   52.871093] hci0 type 1 len 3
    [   52.871093] hci0: type 1 len 3
    [   52.875000] hu c333b740 skb c338baa0
    [   52.878906] device awake, sending normally
    [   52.882812]
    [   52.886718]
    [   52.886718] hu c333b740 count 9 rx_state 0 rx_count 0
    [   52.890625] Event packet
    [   52.894531] Event header: evt 0x0e plen 7
    [   52.898437] len 7 room 1846
    [   52.902343] hu c333b740 count 1 rx_state 4 rx_count 1
    [   52.906250] Complete data
    [   52.910156] hci0
    [   52.910156] hci0 Event packet
    [   52.914062] hci0 status 0x00
    [   52.917968] hci0 le mtu 27:15
    [   52.917968] opcode 0x2002 status 0x00
    [   52.921875] hci0 opcode 0x2002
    [   52.925781] hci0 cmd_cnt 1 cmd queued 9
    [   52.929687] hci0 type 1 len 3
    [   52.933593] hci0: type 1 len 3
    [   52.937500] hu c333b740 skb c338bce0
    [   52.937500] device awake, sending normally
    [   52.945312]
    [   52.945312]
    [   52.945312] hu c333b740 count 8 rx_state 0 rx_count 0
    [   52.953125] Event packet
    [   52.953125] Event header: evt 0x0e plen 12
    [   52.957031] len 12 room 1846
    [   52.960937] hu c333b740 count 7 rx_state 4 rx_count 7
    [   52.964843] Complete data
    [   52.968750] hci0
    [   52.968750] hci0 Event packet
    [   52.972656] hci0 status 0x00
    [   52.976562] opcode 0x2003 status 0x00
    [   52.980468] hci0 opcode 0x2003
    [   52.984375] hci0 cmd_cnt 1 cmd queued 8
    [   52.988281] hci0 type 1 len 3
    [   52.988281] hci0: type 1 len 3
    [   52.992187] hu c333b740 skb c33569e0
    [   52.996093] device awake, sending normally
    [   53.000000]
    [   53.003906]
    [   53.003906] hu c333b740 count 9 rx_state 0 rx_count 0
    [   53.007812] Event packet
    [   53.011718] Event header: evt 0x0e plen 12
    [   53.015625] len 12 room 1846
    [   53.019531] hu c333b740 count 6 rx_state 4 rx_count 6
    [   53.023437] Complete data
    [   53.027343] hci0
    [   53.027343] hci0 Event packet
    [   53.031250] hci0 status 0x0c
    [   53.035156] opcode 0x201c status 0x0c
    [   53.039062] hci0 opcode 0x201c
    [   53.039062] hci0 result 0x0c
    [   53.042968] hci0 end: err -16
    [   53.046875] hdev c334e000 tty c390e800
    [   53.050781] hu c333b740
    [   53.050781] hdev c334e000
    [   53.054687] hdev c334e000 tty c390e800
    [   53.058593] hu c333b740
    [   53.128906]
    [   53.128906] sock c3545900
    [   53.132812] sock c3545900 sk c32ed400
    [   53.136718] 0
    [   53.136718] hci0 orig refcnt 4
    [   53.140625] cmd 400448c9 arg 0
    [   53.144531] 0
    [   53.144531] hci0 orig refcnt 5
    [   53.148437] hci0 c334e000
    [   53.148437] hci0 c334e000
    [   53.152343] hci0 start
    [   53.156250] hci0 0
    [   53.156250] hci0 opcode 0x1003 plen 0
    [   53.160156] skb len 3
    [   53.164062] hci0 opcode 0x1001 plen 0
    [   53.167968] skb len 3
    [   53.167968] hci0 opcode 0x1009 plen 0
    [   53.171875] skb len 3
    [   53.175781] length 3
    [   53.175781] hci0 cmd_cnt 1 cmd queued 3
    [   53.179687] hci0 type 1 len 3
    [   53.183593] hdev c334e000 len 3
    [   53.187500] hci0: type 1 len 3
    [   53.191406] hu c333b740 skb c338be60
    [   53.195312] device awake, sending normally
    [   53.199218]
    [   53.199218]
    [   53.199218] hu c333b740 count 9 rx_state 0 rx_count 0
    [   53.207031] Event packet
    [   53.207031] Event header: evt 0x0e plen 12
    [   53.214843] len 12 room 1846
    [   53.214843] hu c333b740 count 6 rx_state 4 rx_count 6
    [   53.222656] Complete data
    [   53.222656] hci0
    [   53.226562] hdev c334e000 len 14
    [   53.226562] hci0 Event packet
    [   53.230468] hci0 status 0x00
    [   53.234375] opcode 0x1003 status 0x00
    [   53.238281] hci0 opcode 0x1003
    [   53.242187] hci0 cmd_cnt 1 cmd queued 2
    [   53.246093] hci0 type 1 len 3
    [   53.246093] hdev c334e000 len 3
    [   53.250000] hci0: type 1 len 3
    [   53.253906] hu c333b740 skb c33569e0
    [   53.257812] device awake, sending normally
    [   53.261718]
    [   53.261718]
    [   53.265625] hu c333b740 count 9 rx_state 0 rx_count 0
    [   53.269531] Event packet
    [   53.273437] Event header: evt 0x0e plen 12
    [   53.277343] len 12 room 1846
    [   53.277343] hu c333b740 count 6 rx_state 4 rx_count 6
    [   53.285156] Complete data
    [   53.285156] hci0
    [   53.289062] hdev c334e000 len 14
    [   53.292968] hci0 Event packet
    [   53.292968] hci0 status 0x00
    [   53.296875] opcode 0x1001 status 0x00
    [   53.300781] hci0 opcode 0x1001
    [   53.304687] hci0 cmd_cnt 1 cmd queued 1
    [   53.308593] hci0 type 1 len 3
    [   53.312500] hdev c334e000 len 3
    [   53.312500] hci0: type 1 len 3
    [   53.316406] hu c333b740 skb c3356c20
    [   53.320312] device awake, sending normally
    [   53.324218]
    [   53.328125]
    [   53.328125] hu c333b740 count 9 rx_state 0 rx_count 0
    [   53.332031] Event packet
    [   53.335937] Event header: evt 0x0e plen 10
    [   53.339843] len 10 room 1846
    [   53.343750] hu c333b740 count 4 rx_state 4 rx_count 4
    [   53.347656] Complete data
    [   53.351562] hci0
    [   53.351562] hdev c334e000 len 12
    [   53.355468] hci0 Event packet
    [   53.359375] hci0 status 0x00
    [   53.363281] opcode 0x1009 status 0x00
    [   53.363281] hci0 opcode 0x1009
    [   53.367187] hci0 result 0x00
    [   53.371093] hci0 end: err 0
    [   53.375000] hci0 start
    [   53.375000] hci0 opcode 0x1005 plen 0
    [   53.378906] skb len 3
    [   53.382812] hci0 opcode 0x0c23 plen 0
    [   53.386718] skb len 3
    [   53.386718] hci0 opcode 0x0c14 plen 0
    [   53.390625] skb len 3
    [   53.394531] hci0 opcode 0x0c25 plen 0
    [   53.398437] skb len 3
    [   53.398437] hci0 opcode 0x0c38 plen 0
    [   53.402343] skb len 3
    [   53.406250] hci0 opcode 0x0c39 plen 0
    [   53.410156] skb len 3
    [   53.410156] hci0 opcode 0x0c05 plen 1
    [   53.414062] skb len 4
    [   53.417968] hci0 opcode 0x0c16 plen 2
    [   53.421875] skb len 5
    [   53.421875] hci0 opcode 0x2002 plen 0
    [   53.425781] skb len 3
    [   53.429687] hci0 opcode 0x2003 plen 0
    [   53.433593] skb len 3
    [   53.433593] hci0 opcode 0x201c plen 0
    [   53.437500] skb len 3
    [   53.441406] hci0 opcode 0x200f plen 0
    [   53.445312] skb len 3
    [   53.449218] hci0 opcode 0x2010 plen 0
    [   53.449218] skb len 3
    [   53.453125] hci0 opcode 0x1002 plen 0
    [   53.457031] skb len 3
    [   53.460937] hci0 opcode 0x0c52 plen 241
    [   53.460937] skb len 244
    [   53.464843] hci0 opcode 0x0c45 plen 1
    [   53.468750] skb len 4
    [   53.472656] hci0 opcode 0x0c58 plen 0
    [   53.476562] skb len 3
    [   53.476562] hci0 opcode 0x1004 plen 1
    [   53.480468] skb len 4
    [   53.484375] length 18
    [   53.484375] hci0 cmd_cnt 1 cmd queued 18
    [   53.488281] hci0 type 1 len 3
    [   53.492187] hdev c334e000 len 3
    [   53.496093] hci0: type 1 len 3
    [   53.500000] hu c333b740 skb c3356c20
    [   53.500000] device awake, sending normally
    [   53.507812]
    [   53.507812]
    [   53.507812] hu c333b740 count 9 rx_state 0 rx_count 0
    [   53.515625] Event packet
    [   53.515625] Event header: evt 0x0e plen 11
    [   53.519531] len 11 room 1846
    [   53.523437] hu c333b740 count 5 rx_state 4 rx_count 5
    [   53.527343] Complete data
    [   53.531250] hci0
    [   53.531250] hdev c334e000 len 13
    [   53.535156] hci0 Event packet
    [   53.539062] hci0 status 0x00
    [   53.542968] hci0 acl mtu 1021:4 sco mtu 180:4
    [   53.546875] opcode 0x1005 status 0x00
    [   53.550781] hci0 opcode 0x1005
    [   53.554687] hci0 cmd_cnt 1 cmd queued 17
    [   53.558593] hci0 type 1 len 3
    [   53.558593] hdev c334e000 len 3
    [   53.562500] hci0: type 1 len 3
    [   53.566406] hu c333b740 skb c33569e0
    [   53.570312] device awake, sending normally
    [   53.574218]
    [   53.574218]
    [   53.578125] hu c333b740 count 10 rx_state 0 rx_count 0
    [   53.582031] Event packet
    [   53.585937] Event header: evt 0x0e plen 7
    [   53.589843] len 7 room 1846
    [   53.589843] Complete data
    [   53.593750] hci0
    [   53.597656] hdev c334e000 len 9
    [   53.597656] hci0 Event packet
    [   53.601562] hci0 status 0x00
    [   53.605468] hci0 class 0x001f00
    [   53.609375] opcode 0x0c23 status 0x00
    [   53.613281] hci0 opcode 0x0c23
    [   53.613281] hci0 cmd_cnt 1 cmd queued 16
    [   53.617187] hci0 type 1 len 3
    [   53.621093] hdev c334e000 len 3
    [   53.625000] hci0: type 1 len 3
    [   53.628906] hu c333b740 skb c338be60
    [   53.632812] device awake, sending normally
    [   53.636718]
    [   53.636718]
    [   53.636718] hu c333b740 count 9 rx_state 0 rx_count 0
    [   53.644531] Event packet
    [   53.644531] Event header: evt 0x0e plen 252
    [   53.652343] len 252 room 1846
    [   53.660156] hu c333b740 count 246 rx_state 4 rx_count 246
    [   53.664062] Complete data
    [   53.667968] hci0
    [   53.671875] hdev c334e000 len 254
    [   53.671875] hci0 Event packet
    [   53.675781] hci0 status 0x00
    [   53.679687] opcode 0x0c14 status 0x00
    [   53.683593] hci0 opcode 0x0c14
    [   53.687500] hci0 cmd_cnt 1 cmd queued 15
    [   53.691406] hci0 type 1 len 3
    [   53.691406] hdev c334e000 len 3
    [   53.695312] hci0: type 1 len 3
    [   53.699218] hu c333b740 skb c3356860
    [   53.703125] device awake, sending normally
    [   53.707031]
    [   53.707031]
    [   53.710937] hu c333b740 count 9 rx_state 0 rx_count 0
    [   53.714843] Event packet
    [   53.718750] Event header: evt 0x0e plen 6
    [   53.722656] len 6 room 1846
    [   53.722656] Complete data
    [   53.726562] hci0
    [   53.730468] hdev c334e000 len 8
    [   53.730468] hci0 Event packet
    [   53.734375] hci0 status 0x00
    [   53.738281] opcode 0x0c25 status 0x00
    [   53.742187] hci0 opcode 0x0c25
    [   53.746093] hci0 cmd_cnt 1 cmd queued 14
    [   53.746093] hci0 type 1 len 3
    [   53.750000] hdev c334e000 len 3
    [   53.753906] hci0: type 1 len 3
    [   53.757812] hu c333b740 skb c3356320
    [   53.761718] device awake, sending normally
    [   53.765625]
    [   53.765625]
    [   53.769531] hu c333b740 count 8 rx_state 0 rx_count 0
    [   53.773437] Event packet
    [   53.777343] Event header: evt 0x0e plen 5
    [   53.781250] len 5 room 1846
    [   53.781250] Complete data
    [   53.785156] hci0
    [   53.785156] hdev c334e000 len 7
    [   53.789062] hci0 Event packet
    [   53.792968] hci0 status 0x00
    [   53.796875] hci0 num iac 5
    [   53.796875] opcode 0x0c38 status 0x00
    [   53.800781] hci0 opcode 0x0c38
    [   53.804687] hci0 cmd_cnt 1 cmd queued 13
    [   53.808593] hci0 type 1 len 3
    [   53.812500] hdev c334e000 len 3
    [   53.816406] hci0: type 1 len 3
    [   53.816406] hu c333b740 skb c33561a0
    [   53.820312] device awake, sending normally
    [   53.828125]
    [   53.828125]
    [   53.828125] hu c333b740 count 9 rx_state 0 rx_count 0
    [   53.835937] Event packet
    [   53.835937] Event header: evt 0x0e plen 8
    [   53.839843] len 8 room 1846
    [   53.843750] hu c333b740 count 2 rx_state 4 rx_count 2
    [   53.847656] Complete data
    [   53.851562] hci0
    [   53.851562] hdev c334e000 len 10
    [   53.855468] hci0 Event packet
    [   53.859375] hci0 opcode 0x0c39
    [   53.863281] opcode 0x0c39 status 0x00
    [   53.867187] hci0 opcode 0x0c39
    [   53.867187] hci0 cmd_cnt 1 cmd queued 12
    [   53.871093] hci0 type 1 len 4
    [   53.875000] hdev c334e000 len 4
    [   53.878906] hci0: type 1 len 4
    [   53.882812] hu c333b740 skb c33560e0
    [   53.886718] device awake, sending normally
    [   53.890625]
    [   53.890625]
    [   53.890625] hu c333b740 count 7 rx_state 0 rx_count 0
    [   53.898437] Event packet
    [   53.898437] Event header: evt 0x0e plen 4
    [   53.906250] len 4 room 1846
    [   53.906250] Complete data
    [   53.910156] hci0
    [   53.910156] hdev c334e000 len 6
    [   53.914062] hci0 Event packet
    [   53.917968] hci0 opcode 0x0c05
    [   53.921875] opcode 0x0c05 status 0x00
    [   53.925781] hci0 opcode 0x0c05
    [   53.925781] hci0 cmd_cnt 1 cmd queued 11
    [   53.929687] hci0 type 1 len 5
    [   53.933593] hdev c334e000 len 5
    [   53.937500] hci0: type 1 len 5
    [   53.941406] hu c333b740 skb c33564a0
    [   53.945312] device awake, sending normally
    [   53.949218]
    [   53.949218]
    [   53.949218] hu c333b740 count 7 rx_state 0 rx_count 0
    [   53.957031] Event packet
    [   53.957031] Event header: evt 0x0e plen 4
    [   53.960937] len 4 room 1846
    [   53.964843] Complete data
    [   53.968750] hci0
    [   53.968750] hdev c334e000 len 6
    [   53.972656] hci0 Event packet
    [   53.976562] hci0 opcode 0x0c16
    [   53.980468] opcode 0x0c16 status 0x00
    [   53.980468] hci0 opcode 0x0c16
    [   53.984375] hci0 cmd_cnt 1 cmd queued 10
    [   53.988281] hci0 type 1 len 3
    [   53.992187] hdev c334e000 len 3
    [   53.996093] hci0: type 1 len 3
    [   54.000000] hu c333b740 skb c338bce0
    [   54.003906] device awake, sending normally
    [   54.007812]
    [   54.007812]
    [   54.007812] hu c333b740 count 9 rx_state 0 rx_count 0
    [   54.015625] Event packet
    [   54.015625] Event header: evt 0x0e plen 7
    [   54.019531] len 7 room 1846
    [   54.023437] hu c333b740 count 1 rx_state 4 rx_count 1
    [   54.027343] Complete data
    [   54.031250] hci0
    [   54.031250] hdev c334e000 len 9
    [   54.035156] hci0 Event packet
    [   54.039062] hci0 status 0x00
    [   54.042968] hci0 le mtu 27:15
    [   54.046875] opcode 0x2002 status 0x00
    [   54.046875] hci0 opcode 0x2002
    [   54.050781] hci0 cmd_cnt 1 cmd queued 9
    [   54.054687] hci0 type 1 len 3
    [   54.058593] hdev c334e000 len 3
    [   54.062500] hci0: type 1 len 3
    [   54.066406] hu c333b740 skb c338baa0
    [   54.066406] device awake, sending normally
    [   54.074218]
    [   54.074218]
    [   54.074218] hu c333b740 count 8 rx_state 0 rx_count 0
    [   54.082031] Event packet
    [   54.082031] Event header: evt 0x0e plen 12
    [   54.085937] len 12 room 1846
    [   54.089843] hu c333b740 count 7 rx_state 4 rx_count 7
    [   54.093750] Complete data
    [   54.097656] hci0
    [   54.097656] hdev c334e000 len 14
    [   54.101562] hci0 Event packet
    [   54.105468] hci0 status 0x00
    [   54.109375] opcode 0x2003 status 0x00
    [   54.113281] hci0 opcode 0x2003
    [   54.113281] hci0 cmd_cnt 1 cmd queued 8
    [   54.121093] hci0 type 1 len 3
    [   54.121093] hdev c334e000 len 3
    [   54.125000] hci0: type 1 len 3
    [   54.128906] hu c333b740 skb c338bc20
    [   54.132812] device awake, sending normally
    [   54.136718]
    [   54.136718]
    [   54.140625] hu c333b740 count 10 rx_state 0 rx_count 0
    [   54.144531] Event packet
    [   54.148437] Event header: evt 0x0e plen 12
    [   54.152343] len 12 room 1846
    [   54.152343] hu c333b740 count 5 rx_state 4 rx_count 5
    [   54.160156] Complete data
    [   54.160156] hci0
    [   54.164062] hdev c334e000 len 14
    [   54.167968] hci0 Event packet
    [   54.167968] hci0 status 0x0c
    [   54.171875] opcode 0x201c status 0x0c
    [   54.175781] hci0 opcode 0x201c
    [   54.179687] hci0 result 0x0c
    [   54.179687] hci0 end: err -16
    [   54.183593] hdev c334e000
    [   54.187500] hdev c334e000 tty c390e800
    [   54.191406] hu c333b740
    [   54.195312] hci0 orig refcnt 6
    Can't i[   54.195312] sock c3545900 sk c32ed400
    ni[   54.203125] hci0 orig refcnt 5
    t device hci0: Dev[   54.207031] tty c390e800
    i[   54.207031] hdev c334e000
    ce[   54.210937] c334e000 name hci0 bus 3
     or[   54.214843] hci0 c334e000
     re[   54.218750] hci0 err 0x13
    s[   54.218750] hdev hci0 event 2
    our[   54.222656] hdev   (null) len 8
    ce busy (16)Can't initialize device:[   54.230468] length 0
     [   54.230468] All LE connection parameters were removed
    Device or resource busy
    [   54.242187] hci0 orig refcnt 2
    [   54.246093] hu c333b740
    / #

  • Hi Sergey,

    None of the opcodes in the log that you have shared belong to the bts file. Which is why I'm not sure if the firmware is downloaded.
    Also, please use bts version 4.0 as I'm not sure if the BlueZ version you are using understands BT spec v 4.1.

    Regards,
    Gigi Joseph.
  • Oops. I took this script git.ti.com/.../BLE_init_cc2564B_1.2.bts and at least the initialization was successful! I tried bluetooth_init_cc2564B_1.2_BT_Spec_4.0.bts without success too. What is a difference?

    Best regards,
    Sergey

    # hciconfig
    [ 38.542968] sock c354b900
    [ 38.546875] cmd 800448d2 arg 1566008
    [ 38.550781] cmd 800448d3 arg 30da4[ 38.554687] 0
    [ 38.554687] hci0 orig refcnt 5
    [ 38.558593] hci0 orig refcnt 6
    hci0: Type: BR/EDR [ 38.562500] sock c354b900 sk c2c6a800
    Bus: UART
    BD Address: 00:17:E9:50:5F:BF ACL MTU: 1021:4 SCO MTU: 180:4
    UP RUNNING
    RX bytes:597 acl:0 sco:0 events:29 errors:0
    TX bytes:394 acl:0 sco:0 commands:29 errors:0
  • Hi Sergey,

    BLE_init_XXX is only the ble part. You would need the whole bts file. Please download the 4.0 version from: processors.wiki.ti.com/.../CC256x_Downloads

    Regards,
    Gigi Joseph.
  • Hi Gigi,

    >None of the opcodes in the log that you have shared belong to the bts file.
    Sorry, I initialized the messages after uploading of bts file.

    >BLE_init_XXX is only the ble part. You would need the whole bts file.
    Do you mean that only LE part was initialized and BR/EDR not?

    Its realy interesting. Right now I tried again with git.ti.com/.../bluetooth_init_cc2564B_1.2_BT_Spec_4.0.bts and I got a same error massage. But it works without error with that BLE_init file. It seems to be that script was uploaded and after it at "ioctl(dd, HCIDEVUP, dev_id)" in hciattach the kernel makes other initializations and got error at the initialization of LE things.

    Thanks a lot,
    Best regards,
    Sergey
  • Hi Gigi,

    >BLE_init_XXX is only the ble part.

    I found a phyton script that converts bts into C header file and as I see the CC2564B BT 4.0 SP doesn't initialize the BLE part. Is this correct? Since my idea is that the linux kernel recognizes that CC2564B can both BR/EDR and LE modes and tried to request&initialize LE things and chip answers with error.

    Is ist possible to create mixed working script that initializes the chip with things from both files?

    Or probably do you have a better idee or solution for this case? I attached the converted script files

    Best regards,

    Sergey

    bluetooth_init_cc2564B_1.2_BT_Spec_4.0.c
    // init script created from bluetooth_init_cc2564B_1.2_BT_Spec_4.0.bts
    #include <stdint.h>
    
    #if defined(__GNUC__) && (__MSP430X__ > 0)
    __attribute__((section (".fartext")))
    #endif
    const uint8_t cc256x_init_script[] = {
        // #--------------------------------------------------------------------------------
        // # Description : Orca L PG 2.0 ROM Initialization Script
        // #
        // # Compatibility: Orca, 7.0.16 ROM
        // #
        // # Last Updated: 30-Mar-2015  10:23:14.24
        // #
        // # Version     : TI_P7_16.26
        // #
        // #
        // #
        // #
        // # Notes       : Use this script on Orca L PG 2.0, 7.0.16 ROM device only (FW v7.0.16)
        // #--------------------------------------------------------------------------------
        // 
        // #################################################################
        // ## START of CC256x Add-On
        // #################################################################
        // 
        // ## Change UART baudrate
        // 
        // #################################################################
        // ## END of CC256x Add-On
        // #################################################################
        // 
        // #################################################################
        // ## START of 4.0 patch for Bluetopia
        // #################################################################
        0x01, 0x03, 0xff, 0x06, 0x31, 0x4f, 0x08, 0x00, 0x01, 0x00, 
    
        // #################################################################
        // ## END of 4.0 patch for Bluetopia
        // #################################################################
        // 
        0x01, 0x37, 0xfe, 0x02, 0x07, 0x10, 
    
        // 
        // 
        0x01, 0x05, 0xff, 0xff, 0xd0, 0x62, 0x08, 0x00, 0xfa, 0x07, 0x10, 0x47, 0x1a, 0x00, 0x00, 
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
        0xff, 0xb5, 0x00, 0x90, 0x47, 0x68, 0xff, 0x20, 0x26, 0x30, 0xc0, 0x5d, 0x00, 0x28, 0x26, 
        0xd0, 0x01, 0x38, 0x1d, 0xd0, 0x01, 0x38, 0x2a, 0xd1, 0xff, 0x24, 0x95, 0x34, 0xe5, 0x19, 
        0x29, 0x88, 0x08, 0x20, 0x01, 0x26, 0xb6, 0x46, 0x31, 0x4a, 0xfe, 0x44, 0x10, 0x47, 0x00, 
        0x29, 0x01, 0xd1, 0x02, 0x20, 0x07, 0xe0, 0xe5, 0x19, 0x29, 0x88, 0x08, 0x20, 0xb6, 0x46, 
        0x2b, 0x4a, 0xfe, 0x44, 0x10, 0x47, 0x48, 0x1c, 0xe9, 0x88, 0x0c, 0x1c, 0x44, 0x43, 0x60, 
        0x2c, 0x0f, 0xd9, 0x0f, 0xe0, 0xff, 0x20, 0x99, 0x30, 0xc0, 0x5b, 0x5e, 0x28, 0x09, 0xdb, 
        0xc4, 0x1c, 0x08, 0xe0, 0xff, 0x20, 0xed, 0x30, 0xc4, 0x5b, 0x10, 0x2c, 0x02, 0xdd, 0x06, 
        0x20, 0x44, 0x43, 0x00, 0xe0, 0x60, 0x24, 0x41, 0x20, 0x00, 0x21, 0x01, 0x22, 0x96, 0x46, 
        0x1d, 0x4a, 0xfe, 0x44, 0x10, 0x47, 0x01, 0x90, 0x61, 0x08, 0x40, 0x18, 0x01, 0x30, 0x80, 
        0x01, 0x80, 0x09, 0x02, 0x90, 0x19, 0x4d, 0x00, 0x26, 0xa8, 0x7b, 0x00, 0x28, 0x1f, 0xd0, 
        0x28, 0x7c, 0x39, 0x78, 0x81, 0x42, 0x1b, 0xd1, 0x16, 0x48, 0x00, 0x2e, 0x00, 0xd0, 0x14, 
        0x30, 0x00, 0x68, 0x80, 0x06, 0x80, 0x0e, 0x01, 0x99, 0x08, 0x18, 0x80, 0x01, 0x80, 0x09, 
        0x02, 0x99, 0x01, 0x22, 0x96, 0x46, 0x10, 0x4a, 0xfe, 0x44, 0x10, 0x47, 0x29, 0x7b, 0x03, 
        0x91, 0x01, 0x22, 0x96, 0x46, 0x0d, 0x4a, 0xfe, 0x44, 0x10, 0x47, 0x02, 0x28, 0x01, 0xda, 
        0x03, 0x98, 0x04, 0x19, 
    
        0x01, 0x05, 0xff, 0xff, 0xca, 0x63, 0x08, 0x00, 0xfa, 0x28, 0x35, 0x01, 0x36, 0x02, 0x2e, 
        0xd8, 0xd3, 0x00, 0x98, 0x44, 0x60, 0x08, 0x48, 0x33, 0x30, 0x00, 0x90, 0xff, 0xbd, 0xc0, 
        0x46, 0xad, 0x45, 0x05, 0x00, 0x93, 0xe4, 0x04, 0x00, 0x38, 0x1d, 0x08, 0x00, 0x0c, 0x05, 
        0x1a, 0x00, 0x39, 0x7a, 0x04, 0x00, 0xad, 0x45, 0x05, 0x00, 0x7b, 0xbf, 0x02, 0x00, 0x00, 
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
        0x00, 0x00, 0x00, 0x70, 0xb5, 0x3d, 0x4d, 0xae, 0x7f, 0x01, 0x24, 0xa6, 0x46, 0x39, 0x48, 
        0xfe, 0x44, 0x00, 0x47, 0xb0, 0x42, 0xf8, 0xd1, 0x03, 0x20, 0x17, 0x21, 0x89, 0x01, 0xa6, 
        0x46, 0x35, 0x4a, 0xfe, 0x44, 0x10, 0x47, 0xad, 0x7f, 0xa6, 0x46, 0x32, 0x48, 0xfe, 0x44, 
        0x00, 0x47, 0xa8, 0x42, 0xf9, 0xd1, 0xfe, 0xe7, 0x30, 0xb5, 0x32, 0x49, 0x08, 0x1f, 0x32, 
        0x4a, 0x10, 0x60, 0x04, 0x23, 0x2f, 0x48, 0x03, 0x70, 0x3b, 0x48, 0x02, 0x1c, 0x70, 0x3a, 
        0x21, 0x25, 0x01, 0x24, 0xac, 0x54, 0x2e, 0x4c, 0x0c, 0x60, 0x02, 0x24, 0x54, 0x71, 0x2d, 
        0x4c, 0x4c, 0x60, 0x03, 0x24, 0x14, 0x70, 0x2c, 0x4c, 0x8c, 0x60, 0x13, 0x71, 0x2b, 0x4b, 
        0xcb, 0x60, 0x16, 0x23, 0x9b, 0x18, 0x05, 0x24, 0x1c, 0x70, 0x29, 0x4c, 0x0c, 0x61, 0x06, 
        0x24, 0xd4, 0x74, 0x28, 0x4c, 0x4c, 0x61, 0x07, 0x24, 0x94, 0x71, 0x94, 0x1d, 0x27, 0x4d, 
        0x8d, 0x61, 0x08, 0x25, 
    
        0x01, 0x05, 0xff, 0xff, 0xc4, 0x64, 0x08, 0x00, 0xfa, 0x9d, 0x77, 0x26, 0x4b, 0xcb, 0x61, 
        0x09, 0x23, 0x93, 0x70, 0x25, 0x4a, 0x0a, 0x62, 0x0a, 0x22, 0xa2, 0x77, 0x24, 0x4a, 0x4a, 
        0x62, 0x0b, 0x22, 0x02, 0x70, 0x24, 0x4a, 0x8a, 0x62, 0x0c, 0x22, 0x42, 0x70, 0x23, 0x4a, 
        0xca, 0x62, 0x0d, 0x22, 0xc2, 0x73, 0x22, 0x4a, 0x0a, 0x63, 0x01, 0x38, 0x0e, 0x22, 0x02, 
        0x70, 0x20, 0x4a, 0x4a, 0x63, 0x0f, 0x22, 0x02, 0x71, 0x1f, 0x48, 0x88, 0x63, 0x00, 0x20, 
        0x21, 0x49, 0x08, 0x80, 0x21, 0x49, 0x08, 0x80, 0x19, 0x21, 0x49, 0x01, 0x1c, 0x4a, 0x11, 
        0x80, 0x4b, 0x21, 0x09, 0x01, 0x1e, 0x4a, 0xd1, 0x83, 0x1e, 0x49, 0x1e, 0x4a, 0x11, 0x80, 
        0x18, 0x49, 0x08, 0x70, 0x30, 0xbd, 0xc0, 0x46, 0xc5, 0x83, 0x04, 0x00, 0x65, 0x88, 0x04, 
        0x00, 0x3c, 0x4e, 0x08, 0x00, 0xf2, 0x4f, 0x08, 0x00, 0xfc, 0x63, 0x08, 0x00, 0x70, 0x52, 
        0x08, 0x00, 0xcf, 0x76, 0x08, 0x00, 0xd9, 0x76, 0x08, 0x00, 0xe3, 0x76, 0x08, 0x00, 0xed, 
        0x76, 0x08, 0x00, 0x0b, 0x77, 0x08, 0x00, 0x15, 0x77, 0x08, 0x00, 0xf7, 0x76, 0x08, 0x00, 
        0x01, 0x77, 0x08, 0x00, 0x9d, 0x76, 0x08, 0x00, 0xc5, 0x76, 0x08, 0x00, 0xe4, 0x52, 0x08, 
        0x00, 0x93, 0x76, 0x08, 0x00, 0x89, 0x76, 0x08, 0x00, 0xbb, 0x76, 0x08, 0x00, 0xb1, 0x76, 
        0x08, 0x00, 0xa7, 0x76, 0x08, 0x00, 0x98, 0x23, 0x08, 0x00, 0x54, 0x1d, 0x18, 0x00, 0xd4, 
        0x62, 0x08, 0x00, 0xd6, 0x62, 0x08, 0x00, 0x14, 0x24, 0x08, 0x00, 0xff, 0xff, 0x00, 0x00, 
        0x50, 0x1d, 0x18, 0x00, 0x78, 0xb5, 0x01, 0x24, 0xa6, 0x46, 0xe2, 0x48, 0xfe, 0x44, 0x00, 
        0x47, 0x06, 0x1c, 0xe1, 0x4d, 0x28, 0x68, 0xe1, 0x49, 0x09, 0x88, 0x08, 0x18, 0x80, 0x01, 
        0x80, 0x09, 0x31, 0x1c, 
    
        0x01, 0x05, 0xff, 0xff, 0xbe, 0x65, 0x08, 0x00, 0xfa, 0xa6, 0x46, 0xe4, 0x4a, 0xfe, 0x44, 
        0x10, 0x47, 0x00, 0x28, 0x0c, 0xd4, 0xe3, 0x48, 0x00, 0x78, 0x04, 0x28, 0x08, 0xd1, 0xe2, 
        0x48, 0x00, 0x78, 0x03, 0x28, 0x04, 0xd1, 0x2e, 0x60, 0xa6, 0x46, 0xe0, 0x48, 0xfe, 0x44, 
        0x00, 0x47, 0xdf, 0x4d, 0x28, 0x68, 0x19, 0x21, 0x49, 0x01, 0x08, 0x18, 0x80, 0x01, 0x80, 
        0x09, 0x31, 0x1c, 0xa6, 0x46, 0xd7, 0x4a, 0xfe, 0x44, 0x10, 0x47, 0x00, 0x28, 0x4c, 0xd4, 
        0x2e, 0x60, 0xd9, 0x48, 0x01, 0x78, 0xd9, 0x48, 0x00, 0x88, 0x08, 0x43, 0x1a, 0xd0, 0x00, 
        0x29, 0x18, 0xd0, 0x22, 0x21, 0xe5, 0x48, 0x20, 0x22, 0x12, 0x5c, 0x01, 0x2a, 0x12, 0xd1, 
        0x09, 0x5c, 0x00, 0x29, 0x0f, 0xd0, 0x41, 0x7f, 0x08, 0x29, 0x0c, 0xd1, 0x09, 0x21, 0x41, 
        0x77, 0xe0, 0x48, 0x03, 0x21, 0xa6, 0x46, 0xdf, 0x4a, 0xfe, 0x44, 0x10, 0x47, 0x04, 0x20, 
        0xa6, 0x46, 0xde, 0x49, 0xfe, 0x44, 0x08, 0x47, 0x00, 0x25, 0x68, 0x1c, 0x00, 0x04, 0x00, 
        0x0c, 0xa6, 0x46, 0xdb, 0x49, 0xfe, 0x44, 0x08, 0x47, 0x00, 0x28, 0x1d, 0xd0, 0x81, 0x7c, 
        0x0a, 0x02, 0xc1, 0x7c, 0x11, 0x43, 0x0a, 0x02, 0x01, 0x7d, 0x11, 0x43, 0x0a, 0x02, 0x41, 
        0x7d, 0x11, 0x43, 0x00, 0x91, 0x69, 0x1c, 0x00, 0x78, 0xa8, 0x22, 0x42, 0x43, 0xe5, 0x48, 
        0x80, 0x5c, 0x40, 0x00, 0xe2, 0x4a, 0x12, 0x5a, 0xe4, 0x48, 0x40, 0x5d, 0xe2, 0x4b, 0x1b, 
        0x56, 0x7b, 0x20, 0x80, 0x00, 0xa6, 0x46, 0xe2, 0x4e, 0xfe, 0x44, 0x30, 0x47, 0x01, 0x35, 
        0x07, 0x2d, 0xd5, 0xdb, 0x78, 0xbd, 0x30, 0xb5, 0x05, 0x1c, 0xae, 0x4c, 0x7e, 0x34, 0xa0, 
        0x78, 0x03, 0x28, 0x0f, 0xd1, 0x20, 0x88, 0x00, 0x28, 0x0c, 0xd1, 0xe8, 0x69, 0x02, 0x28, 
        0x09, 0xd1, 0x01, 0x20, 
    
        0x01, 0x05, 0xff, 0xff, 0xb8, 0x66, 0x08, 0x00, 0xfa, 0x86, 0x46, 0xd8, 0x48, 0xfe, 0x44, 
        0x00, 0x47, 0x02, 0x20, 0xa0, 0x70, 0xd6, 0x48, 0xca, 0x30, 0x28, 0x62, 0x30, 0xbd, 0xf8, 
        0xb5, 0x06, 0x1c, 0xb7, 0x69, 0xb0, 0x8a, 0x00, 0x90, 0xd3, 0x49, 0x40, 0x1a, 0x08, 0xd0, 
        0x97, 0x38, 0x4b, 0xd0, 0x8c, 0x38, 0x3f, 0xd0, 0x01, 0x38, 0x36, 0xd0, 0x22, 0x38, 0x25, 
        0xd0, 0xf8, 0xbd, 0x21, 0x20, 0xc5, 0x5d, 0x38, 0x1c, 0x00, 0x21, 0x01, 0x24, 0xa6, 0x46, 
        0xdf, 0x4a, 0xfe, 0x44, 0x10, 0x47, 0x7d, 0x21, 0xc9, 0x00, 0x41, 0x43, 0xdb, 0x48, 0x01, 
        0x60, 0x00, 0x2d, 0x3d, 0xd0, 0xff, 0x2d, 0x3b, 0xd0, 0x38, 0x1c, 0x29, 0x1c, 0xa6, 0x46, 
        0xd8, 0x4a, 0xfe, 0x44, 0x10, 0x47, 0xd8, 0x48, 0x02, 0x21, 0xa6, 0x46, 0xd7, 0x4a, 0xfe, 
        0x44, 0x10, 0x47, 0x00, 0x28, 0x0a, 0xd1, 0xd1, 0x48, 0xd5, 0x49, 0x09, 0x68, 0x01, 0x60, 
        0x05, 0xe0, 0x38, 0x1c, 0x01, 0x21, 0x8e, 0x46, 0xd3, 0x49, 0xfe, 0x44, 0x08, 0x47, 0x38, 
        0x1c, 0x00, 0x99, 0x00, 0x22, 0x01, 0x23, 0x9e, 0x46, 0xd0, 0x4b, 0xfe, 0x44, 0x18, 0x47, 
        0x0c, 0xe0, 0x38, 0x1c, 0x01, 0x21, 0x8e, 0x46, 0xcd, 0x49, 0xfe, 0x44, 0x08, 0x47, 0x05, 
        0xe0, 0x38, 0x1c, 0x01, 0x21, 0x8e, 0x46, 0xcb, 0x49, 0xfe, 0x44, 0x08, 0x47, 0xca, 0x48, 
        0x9e, 0x30, 0x30, 0x62, 0xf8, 0xbd, 0x01, 0x24, 0xa6, 0x46, 0xc8, 0x48, 0xfe, 0x44, 0x00, 
        0x47, 0xa6, 0x46, 0xc7, 0x48, 0xfe, 0x44, 0x00, 0x47, 0xf8, 0xbd, 0x70, 0xb5, 0x85, 0x69, 
        0x00, 0x7d, 0x44, 0x21, 0x40, 0x1a, 0x01, 0x28, 0x26, 0xd9, 0x0f, 0x38, 0x0c, 0xd0, 0x28, 
        0x38, 0x2b, 0xd1, 0x28, 0x78, 0x03, 0x28, 0x28, 0xd1, 0x3b, 0x20, 0xc0, 0x43, 0x05, 0x21, 
        0x49, 0x57, 0x81, 0x42, 
    
        0x01, 0x05, 0xff, 0xff, 0xb2, 0x67, 0x08, 0x00, 0xfa, 0x22, 0xdd, 0x68, 0x71, 0x70, 0xbd, 
        0x28, 0x78, 0x00, 0x28, 0x1d, 0xd1, 0xe0, 0x4e, 0x30, 0x1c, 0x01, 0x24, 0xa6, 0x46, 0xdf, 
        0x49, 0xfe, 0x44, 0x08, 0x47, 0xa8, 0x70, 0xe8, 0x1c, 0x31, 0x1c, 0x0a, 0x22, 0xa6, 0x46, 
        0xdc, 0x4b, 0xfe, 0x44, 0x18, 0x47, 0x28, 0x1c, 0xa6, 0x46, 0xda, 0x49, 0xfe, 0x44, 0x08, 
        0x47, 0x70, 0xbd, 0x5b, 0x48, 0x00, 0x78, 0x04, 0x28, 0x04, 0xd1, 0x01, 0x20, 0x86, 0x46, 
        0xab, 0x48, 0xfe, 0x44, 0x00, 0x47, 0x70, 0xbd, 0x30, 0xb5, 0x45, 0x69, 0x01, 0x7f, 0x7f, 
        0x29, 0x22, 0xd1, 0xff, 0x21, 0x7d, 0x31, 0x49, 0x5d, 0x0d, 0x29, 0x1d, 0xd1, 0x00, 0x69, 
        0x01, 0x78, 0x28, 0x1c, 0x01, 0x24, 0xa6, 0x46, 0xe1, 0x4a, 0xfe, 0x44, 0x10, 0x47, 0x01, 
        0x1c, 0x13, 0xd0, 0x08, 0x68, 0xa8, 0x42, 0x10, 0xd1, 0x4b, 0x48, 0x77, 0x38, 0x00, 0x78, 
        0x01, 0x28, 0x0b, 0xd0, 0x08, 0x79, 0x00, 0x28, 0x08, 0xd0, 0xda, 0x4d, 0x2c, 0x70, 0x4d, 
        0x20, 0xa6, 0x46, 0xd9, 0x4a, 0xfe, 0x44, 0x10, 0x47, 0x00, 0x20, 0x28, 0x70, 0x30, 0xbd, 
        0x70, 0xb5, 0x05, 0x1c, 0x2c, 0x69, 0xa2, 0x8e, 0x23, 0x8f, 0x93, 0x42, 0x32, 0xdd, 0xd3, 
        0x48, 0x01, 0x78, 0x60, 0x8d, 0x01, 0x30, 0x41, 0x43, 0x08, 0x04, 0x00, 0x0c, 0x82, 0x42, 
        0x29, 0xda, 0xc6, 0x26, 0x31, 0x5d, 0xc9, 0x09, 0x25, 0xd1, 0x10, 0x1a, 0xe8, 0x49, 0x08, 
        0x18, 0x83, 0x42, 0x20, 0xdd, 0xc5, 0x20, 0x00, 0x5d, 0x01, 0x28, 0x01, 0xd0, 0x03, 0x28, 
        0x1a, 0xd1, 0x30, 0x5d, 0x01, 0x28, 0x05, 0xd1, 0xce, 0x21, 0x09, 0x5d, 0x10, 0x29, 0x04, 
        0xd0, 0x11, 0x29, 0x02, 0xd0, 0x02, 0x28, 0x0a, 0xd0, 0x70, 0xbd, 0xb5, 0x20, 0x00, 0x5d, 
        0x00, 0x21, 0x01, 0x22, 
    
        0x01, 0x05, 0xff, 0xff, 0xac, 0x68, 0x08, 0x00, 0xfa, 0x96, 0x46, 0xdc, 0x4a, 0xfe, 0x44, 
        0x10, 0x47, 0x02, 0x20, 0x30, 0x55, 0xda, 0x49, 0x97, 0x20, 0xc0, 0x00, 0x40, 0x18, 0x28, 
        0x62, 0x70, 0xbd, 0x70, 0xb5, 0x02, 0x69, 0xd4, 0x8e, 0x15, 0x8f, 0xa5, 0x42, 0x1a, 0xdd, 
        0xc8, 0x21, 0x8b, 0x5c, 0x40, 0x21, 0x19, 0x40, 0xde, 0x11, 0xf6, 0x01, 0x31, 0x43, 0x12, 
        0xd1, 0x2c, 0x1b, 0x69, 0x49, 0x86, 0x31, 0x09, 0x78, 0x09, 0x02, 0x8c, 0x42, 0x0b, 0xdd, 
        0x02, 0x2b, 0x09, 0xd1, 0xc7, 0x21, 0x89, 0x5c, 0x01, 0x29, 0x01, 0xd0, 0x03, 0x29, 0x03, 
        0xd1, 0xcb, 0x49, 0xc9, 0x4a, 0x51, 0x18, 0x01, 0x62, 0x70, 0xbd, 0x30, 0xb5, 0xc9, 0x49, 
        0xc9, 0x4a, 0x13, 0x32, 0x1f, 0x20, 0x00, 0x23, 0x01, 0x24, 0xa6, 0x46, 0xc7, 0x4d, 0xfe, 
        0x44, 0x28, 0x47, 0xc8, 0x48, 0x00, 0x88, 0x40, 0x0a, 0x00, 0xd2, 0x00, 0x24, 0xc4, 0x48, 
        0x04, 0x70, 0x30, 0xbd, 0xc0, 0x46, 0x47, 0x76, 0x04, 0x00, 0xec, 0x62, 0x08, 0x00, 0xda, 
        0x62, 0x08, 0x00, 0x10, 0xb5, 0xc1, 0x49, 0xc1, 0x4a, 0x5d, 0x32, 0x1f, 0x20, 0x00, 0x23, 
        0x01, 0x24, 0xa6, 0x46, 0xba, 0x4c, 0xfe, 0x44, 0x20, 0x47, 0x10, 0xbd, 0x39, 0x7a, 0x04, 
        0x00, 0x45, 0x10, 0x08, 0x00, 0x2c, 0x24, 0x08, 0x00, 0x4d, 0x6c, 0x08, 0x00, 0xe8, 0x62, 
        0x08, 0x00, 0x84, 0x18, 0x08, 0x00, 0xd6, 0x62, 0x08, 0x00, 0x10, 0xb5, 0x8e, 0x4b, 0x1b, 
        0x78, 0x40, 0x8d, 0x01, 0x30, 0x43, 0x43, 0x1c, 0x04, 0x24, 0x0c, 0xa6, 0x4b, 0x91, 0x42, 
        0x07, 0xdb, 0x88, 0x1a, 0x19, 0x1b, 0x88, 0x42, 0x0c, 0xdd, 0x01, 0x21, 0x09, 0x04, 0x40, 
        0x1a, 0x10, 0xbd, 0xa1, 0x42, 0x02, 0xda, 0x18, 0x1b, 0x82, 0x42, 0x01, 0xdc, 0x88, 0x1a, 
        0x10, 0xbd, 0x88, 0x1a, 
    
        0x01, 0x05, 0xff, 0xff, 0xa6, 0x69, 0x08, 0x00, 0xfa, 0x18, 0x18, 0x10, 0xbd, 0xc0, 0x46, 
        0x50, 0x17, 0x08, 0x00, 0x00, 0x04, 0x1a, 0x00, 0xb5, 0xf5, 0x04, 0x00, 0xf9, 0x15, 0x05, 
        0x00, 0xd9, 0x8f, 0x01, 0x00, 0x70, 0xb5, 0x0d, 0x1c, 0x06, 0x1c, 0x01, 0x24, 0xa6, 0x46, 
        0xdf, 0x49, 0xfe, 0x44, 0x08, 0x47, 0x30, 0x1c, 0x03, 0x21, 0xa6, 0x46, 0xdd, 0x4a, 0xfe, 
        0x44, 0x10, 0x47, 0x06, 0x1c, 0x28, 0x48, 0x01, 0x1c, 0x04, 0x39, 0x0d, 0x80, 0x02, 0x21, 
        0xa6, 0x46, 0x26, 0x4a, 0xfe, 0x44, 0x10, 0x47, 0x00, 0x28, 0x07, 0xd1, 0x30, 0x1c, 0x68, 
        0x43, 0x23, 0x49, 0x08, 0x60, 0xa6, 0x46, 0xe9, 0x49, 0xfe, 0x44, 0x08, 0x47, 0x70, 0xbd, 
        0xc0, 0x46, 0x20, 0x0c, 0x1a, 0x00, 0xcd, 0x18, 0x08, 0x00, 0x78, 0x20, 0x08, 0x00, 0x59, 
        0x15, 0x08, 0x00, 0x85, 0x87, 0x04, 0x00, 0x3f, 0x83, 0x02, 0x00, 0x11, 0x24, 0x03, 0x00, 
        0x06, 0xfd, 0x00, 0x00, 0x42, 0x69, 0x50, 0x7c, 0x10, 0x28, 0x11, 0xd1, 0x10, 0x7c, 0xdd, 
        0x49, 0x06, 0x28, 0x0b, 0xd0, 0x0b, 0x88, 0x01, 0x2b, 0x0a, 0xd1, 0x01, 0x28, 0x01, 0xd0, 
        0x00, 0x20, 0x05, 0xe0, 0x00, 0x20, 0x08, 0x80, 0x03, 0x20, 0x10, 0x74, 0x01, 0xe0, 0x01, 
        0x20, 0x08, 0x80, 0x50, 0x7c, 0x06, 0x28, 0x0a, 0xd1, 0x10, 0x7c, 0xd3, 0x49, 0x06, 0x28, 
        0x04, 0xd0, 0x08, 0x88, 0x01, 0x28, 0x03, 0xd1, 0x00, 0x20, 0x00, 0xe0, 0x01, 0x20, 0x08, 
        0x80, 0xf7, 0x46, 0xc0, 0x46, 0x38, 0x64, 0x08, 0x00, 0x51, 0x2a, 0x00, 0x00, 0xc1, 0x69, 
        0x08, 0x00, 0x04, 0x50, 0x1a, 0x00, 0x6b, 0xf7, 0x04, 0x00, 0x6c, 0x4f, 0x08, 0x00, 0x09, 
        0x6c, 0x08, 0x00, 0xa9, 0x25, 0x05, 0x00, 0x99, 0x6e, 0x08, 0x00, 0x49, 0x6f, 0x08, 0x00, 
        0x7d, 0x5e, 0x00, 0x00, 
    
        0x01, 0x05, 0xff, 0xff, 0xa0, 0x6a, 0x08, 0x00, 0xfa, 0x87, 0x6d, 0x08, 0x00, 0x29, 0x6e, 
        0x08, 0x00, 0xf0, 0xb5, 0x07, 0x1c, 0xb9, 0x69, 0x48, 0x78, 0xfe, 0x69, 0x02, 0x1f, 0x3b, 
        0xd0, 0x21, 0x3a, 0x41, 0xd1, 0x04, 0x22, 0xb2, 0x80, 0x0c, 0x22, 0x95, 0x19, 0x40, 0x00, 
        0x09, 0x78, 0x01, 0x43, 0x29, 0x70, 0x01, 0x35, 0xd4, 0x48, 0x00, 0x78, 0x00, 0x28, 0x01, 
        0xd1, 0x06, 0x20, 0x00, 0xe0, 0x07, 0x20, 0x28, 0x70, 0x01, 0x35, 0x28, 0x1c, 0x0d, 0x21, 
        0x01, 0x24, 0xa6, 0x46, 0xcf, 0x4a, 0xfe, 0x44, 0x10, 0x47, 0x05, 0x1c, 0xa6, 0x46, 0xe7, 
        0x48, 0xfe, 0x44, 0x00, 0x47, 0xc0, 0x06, 0xc0, 0x0e, 0x81, 0x02, 0xe3, 0x48, 0x00, 0x78, 
        0x40, 0x06, 0x40, 0x0e, 0x08, 0x43, 0x07, 0x21, 0xc9, 0x01, 0x01, 0x43, 0x09, 0x04, 0x09, 
        0x0c, 0x28, 0x1c, 0xa6, 0x46, 0xc3, 0x4a, 0xfe, 0x44, 0x10, 0x47, 0x06, 0x20, 0x70, 0x80, 
        0x03, 0x20, 0x30, 0x80, 0xdc, 0x49, 0x40, 0x48, 0x48, 0x30, 0x40, 0x18, 0x38, 0x62, 0xf0, 
        0xbd, 0x08, 0x79, 0x27, 0x28, 0x04, 0xd1, 0x48, 0x79, 0x1e, 0x28, 0x01, 0xd1, 0x23, 0x20, 
        0x48, 0x71, 0xf0, 0xbd, 0x60, 0x12, 0x08, 0x00, 0xed, 0x2f, 0x01, 0x00, 0x09, 0x59, 0x05, 
        0x00, 0x51, 0xbc, 0x04, 0x00, 0x10, 0xb5, 0x04, 0x1c, 0xe0, 0x69, 0x01, 0x88, 0x25, 0x22, 
        0x12, 0x02, 0x0b, 0x04, 0x1b, 0x0e, 0x1b, 0x02, 0x93, 0x42, 0x1a, 0xd1, 0x0a, 0x06, 0x12, 
        0x0e, 0xa8, 0x21, 0x51, 0x43, 0xe9, 0x4b, 0x59, 0x5c, 0x00, 0x29, 0x12, 0xd0, 0xaa, 0x49, 
        0xc0, 0x39, 0x09, 0x78, 0x00, 0x29, 0x0d, 0xd1, 0xe5, 0x49, 0x89, 0x5c, 0x07, 0x29, 0x09, 
        0xdb, 0x01, 0x21, 0x8e, 0x46, 0xe3, 0x49, 0xfe, 0x44, 0x08, 0x47, 0xe3, 0x49, 0x24, 0x48, 
        0xc0, 0x30, 0x40, 0x18, 
    
        0x01, 0x05, 0xff, 0xff, 0x9a, 0x6b, 0x08, 0x00, 0xfa, 0x20, 0x62, 0x10, 0xbd, 0xc0, 0x46, 
        0x69, 0x7d, 0x02, 0x00, 0xf2, 0x62, 0x08, 0x00, 0x93, 0xe4, 0x04, 0x00, 0x2e, 0x2e, 0x08, 
        0x00, 0x30, 0xb5, 0x01, 0x69, 0xdb, 0x4a, 0xc8, 0x68, 0x90, 0x42, 0x24, 0xd1, 0xda, 0x48, 
        0x00, 0x78, 0x80, 0x08, 0x20, 0xd2, 0xdc, 0x48, 0x42, 0x7f, 0x05, 0x2a, 0x1c, 0xd1, 0x02, 
        0x22, 0x42, 0x77, 0xd6, 0x48, 0x00, 0x78, 0xc8, 0x70, 0x92, 0x48, 0xc1, 0x38, 0x00, 0x78, 
        0xff, 0x28, 0x06, 0xd1, 0xd6, 0x48, 0x03, 0x21, 0x01, 0x22, 0x96, 0x46, 0xd5, 0x4a, 0xfe, 
        0x44, 0x10, 0x47, 0x01, 0x24, 0xcf, 0x4d, 0x2c, 0x80, 0xa6, 0x46, 0xcf, 0x48, 0xfe, 0x44, 
        0x00, 0x47, 0x2c, 0x80, 0xa6, 0x46, 0xcc, 0x48, 0xfe, 0x44, 0x00, 0x47, 0x30, 0xbd, 0x00, 
        0xb5, 0x00, 0x21, 0x01, 0x22, 0x96, 0x46, 0xcc, 0x4a, 0xfe, 0x44, 0x10, 0x47, 0xed, 0x49, 
        0x08, 0x80, 0x00, 0xbd, 0xff, 0xff, 0x00, 0x00, 0xcb, 0xa3, 0x00, 0x00, 0xed, 0x92, 0x00, 
        0x00, 0x82, 0x04, 0x00, 0x00, 0x45, 0x9f, 0x00, 0x00, 0x97, 0x70, 0x08, 0x00, 0xa9, 0x86, 
        0x00, 0x00, 0x69, 0x70, 0x08, 0x00, 0x55, 0x31, 0x19, 0x00, 0x3e, 0xa6, 0x1b, 0x00, 0x15, 
        0x71, 0x08, 0x00, 0xad, 0x99, 0x00, 0x00, 0xf8, 0xb5, 0xe0, 0x48, 0x00, 0x88, 0xc0, 0x08, 
        0xdf, 0x4c, 0x22, 0x88, 0xe8, 0x49, 0x8a, 0x42, 0x39, 0xd0, 0xe8, 0x49, 0x09, 0x78, 0x03, 
        0x29, 0x35, 0xd1, 0x61, 0x88, 0x8d, 0x1a, 0xdb, 0x4a, 0x83, 0x1a, 0x88, 0x42, 0x02, 0xd5, 
        0x00, 0x22, 0xd7, 0x43, 0x00, 0xe0, 0x01, 0x27, 0x00, 0x2d, 0x02, 0xd5, 0x00, 0x22, 0xd6, 
        0x43, 0x00, 0xe0, 0x01, 0x26, 0xd5, 0x4a, 0x12, 0x78, 0x96, 0x46, 0xd4, 0x4a, 0x12, 0x78, 
        0x94, 0x46, 0x01, 0x22, 
    
        0x01, 0x05, 0xff, 0xff, 0x94, 0x6c, 0x08, 0x00, 0xfa, 0x00, 0x92, 0xd3, 0x4a, 0xb7, 0x42, 
        0x11, 0xd1, 0x76, 0x46, 0x36, 0x06, 0x36, 0x16, 0x5e, 0x43, 0x67, 0x46, 0x3e, 0x41, 0x00, 
        0x2d, 0x04, 0xdc, 0x00, 0x2b, 0x0b, 0xdd, 0x12, 0x78, 0x96, 0x19, 0x08, 0xe0, 0x00, 0x2b, 
        0x06, 0xdc, 0x12, 0x78, 0xb6, 0x1a, 0x03, 0xe0, 0x16, 0x78, 0x00, 0x2b, 0x00, 0xdc, 0x76, 
        0x42, 0xc8, 0x4a, 0x12, 0x78, 0xc6, 0x4b, 0x1a, 0x70, 0x02, 0xe0, 0x61, 0x88, 0x00, 0x26, 
        0x00, 0x96, 0xca, 0x4a, 0x12, 0x68, 0x13, 0x1c, 0x73, 0x43, 0x1b, 0x15, 0x21, 0x80, 0x60, 
        0x80, 0xc2, 0x48, 0x00, 0x78, 0x31, 0x1c, 0x00, 0xda, 0x49, 0x42, 0x81, 0x42, 0x04, 0xdd, 
        0x00, 0x2e, 0x00, 0xd5, 0x40, 0x42, 0x50, 0x43, 0x03, 0x15, 0x48, 0x4d, 0x41, 0x3d, 0xe8, 
        0x6f, 0x1e, 0x18, 0xbb, 0x48, 0x00, 0x78, 0x50, 0x43, 0x00, 0x0d, 0xb1, 0x1a, 0x00, 0xda, 
        0x49, 0x42, 0x81, 0x42, 0x15, 0xd8, 0x00, 0x98, 0x00, 0x28, 0x12, 0xd0, 0xb6, 0x48, 0x00, 
        0x78, 0x00, 0x28, 0x0e, 0xd0, 0xb8, 0x48, 0x02, 0x21, 0x01, 0x24, 0xa6, 0x46, 0xb7, 0x4a, 
        0xfe, 0x44, 0x10, 0x47, 0x00, 0x28, 0x05, 0xd1, 0xee, 0x67, 0x30, 0x1c, 0xa6, 0x46, 0x19, 
        0x49, 0xfe, 0x44, 0x08, 0x47, 0xf8, 0xbd, 0xc0, 0x46, 0xb1, 0x2f, 0x00, 0x00, 0x65, 0x2a, 
        0x00, 0x00, 0x30, 0xb5, 0x04, 0x1c, 0xa3, 0x69, 0xe0, 0x69, 0x02, 0x88, 0xad, 0x49, 0x0d, 
        0x1c, 0x01, 0x3d, 0xaa, 0x42, 0x01, 0xd0, 0x8a, 0x42, 0x0d, 0xd1, 0x3a, 0x21, 0xc9, 0x5c, 
        0x00, 0x29, 0x09, 0xd0, 0x01, 0x21, 0x8e, 0x46, 0x69, 0x49, 0xfe, 0x44, 0x08, 0x47, 0xa6, 
        0x49, 0x5f, 0x20, 0x00, 0x01, 0x40, 0x18, 0x20, 0x62, 0x30, 0xbd, 0x10, 0xb5, 0x9c, 0x4c, 
        0x91, 0x48, 0x04, 0x80, 
    
        0x01, 0x05, 0xff, 0xff, 0x8e, 0x6d, 0x08, 0x00, 0xfa, 0x01, 0x20, 0x86, 0x46, 0xa1, 0x48, 
        0xfe, 0x44, 0x00, 0x47, 0xa0, 0x49, 0x08, 0x60, 0x8d, 0x48, 0x04, 0x80, 0x44, 0x80, 0x10, 
        0xbd, 0xcd, 0x16, 0x03, 0x00, 0xd4, 0x62, 0x08, 0x00, 0xd6, 0x62, 0x08, 0x00, 0x70, 0xb5, 
        0x05, 0x1c, 0x2c, 0x69, 0xd5, 0x26, 0x76, 0x00, 0xa9, 0x69, 0x00, 0x29, 0x2e, 0xd0, 0x88, 
        0x88, 0x43, 0x18, 0x40, 0x18, 0x02, 0x7a, 0x50, 0x08, 0xf8, 0x2a, 0x01, 0xd3, 0x5b, 0x7a, 
        0x00, 0xe0, 0x00, 0x23, 0x3a, 0x22, 0x12, 0x5d, 0x20, 0x2a, 0x01, 0xd1, 0x19, 0x2b, 0x13, 
        0xd0, 0x18, 0x28, 0x1c, 0xd1, 0x24, 0x2a, 0x1a, 0xd1, 0x30, 0x5d, 0x02, 0x28, 0x05, 0xd1, 
        0x20, 0x1c, 0x01, 0x21, 0x8e, 0x46, 0x8a, 0x49, 0xfe, 0x44, 0x08, 0x47, 0x20, 0x1c, 0x01, 
        0x21, 0x8e, 0x46, 0x88, 0x49, 0xfe, 0x44, 0x08, 0x47, 0x70, 0xbd, 0xff, 0x20, 0x6d, 0x30, 
        0x00, 0x19, 0x01, 0x22, 0x96, 0x46, 0x85, 0x4a, 0xfe, 0x44, 0x10, 0x47, 0x84, 0x48, 0xf6, 
        0x30, 0x28, 0x62, 0x70, 0xbd, 0x31, 0x4f, 0x08, 0x00, 0xe7, 0x2a, 0x00, 0x00, 0x78, 0xb5, 
        0x00, 0x26, 0x00, 0x96, 0x01, 0x24, 0xa6, 0x46, 0x7f, 0x48, 0xfe, 0x44, 0x00, 0x47, 0x7e, 
        0x4d, 0xa8, 0x6d, 0x69, 0x46, 0xa6, 0x46, 0x7d, 0x4a, 0xfe, 0x44, 0x10, 0x47, 0x17, 0x21, 
        0x00, 0x98, 0x01, 0x70, 0xa8, 0x6d, 0x00, 0x99, 0x32, 0x1c, 0xa6, 0x46, 0x79, 0x4b, 0xfe, 
        0x44, 0x18, 0x47, 0x79, 0x4d, 0x0c, 0x20, 0xa8, 0x81, 0x28, 0x69, 0x40, 0x88, 0x0c, 0x28, 
        0x0c, 0xd0, 0x01, 0x26, 0xb6, 0x02, 0x00, 0x2e, 0x08, 0xd0, 0xa6, 0x46, 0x74, 0x48, 0xfe, 
        0x44, 0x00, 0x47, 0x01, 0x3e, 0x28, 0x69, 0x40, 0x88, 0x0c, 0x28, 0xf4, 0xd1, 0xa6, 0x46, 
        0x70, 0x48, 0xfe, 0x44, 
    
        0x01, 0x05, 0xff, 0xff, 0x88, 0x6e, 0x08, 0x00, 0xfa, 0x00, 0x47, 0x78, 0xbd, 0xfb, 0x4f, 
        0x08, 0x00, 0x89, 0x91, 0x04, 0x00, 0x61, 0xde, 0x00, 0x00, 0xf0, 0xb5, 0x87, 0xb0, 0x06, 
        0x90, 0x6b, 0x48, 0x07, 0x68, 0x01, 0x24, 0xa6, 0x46, 0x62, 0x48, 0xfe, 0x44, 0x00, 0x47, 
        0x68, 0x4e, 0x30, 0x1c, 0x01, 0x30, 0xc0, 0x5d, 0x6d, 0x46, 0x28, 0x71, 0xf0, 0x5d, 0x68, 
        0x71, 0xa8, 0x1d, 0x0b, 0x21, 0xc9, 0x01, 0xc9, 0x59, 0xa6, 0x46, 0x63, 0x4a, 0xfe, 0x44, 
        0x10, 0x47, 0xaf, 0x21, 0xc9, 0x00, 0xc9, 0x59, 0xa6, 0x46, 0x5f, 0x4a, 0xfe, 0x44, 0x10, 
        0x47, 0x57, 0x21, 0x09, 0x01, 0xc9, 0x59, 0xa6, 0x46, 0x5c, 0x4a, 0xfe, 0x44, 0x10, 0x47, 
        0x22, 0x3e, 0xf1, 0x59, 0xa6, 0x46, 0x59, 0x4a, 0xfe, 0x44, 0x10, 0x47, 0xa6, 0x46, 0x54, 
        0x48, 0xfe, 0x44, 0x00, 0x47, 0x12, 0x20, 0x28, 0x70, 0x06, 0x98, 0x55, 0x49, 0x00, 0x22, 
        0x01, 0xab, 0xa6, 0x46, 0x54, 0x4c, 0xfe, 0x44, 0x20, 0x47, 0x07, 0xb0, 0xf0, 0xbd, 0xc8, 
        0x18, 0x08, 0x00, 0x50, 0x15, 0x08, 0x00, 0x8d, 0x08, 0x04, 0x00, 0xd9, 0xa3, 0x02, 0x00, 
        0x7b, 0x86, 0x03, 0x00, 0x11, 0x22, 0x08, 0x00, 0x4a, 0x56, 0x08, 0x00, 0x82, 0x07, 0x1a, 
        0x00, 0xf9, 0x8e, 0x03, 0x00, 0x50, 0x17, 0x08, 0x00, 0x00, 0x04, 0x1a, 0x00, 0xb5, 0xf5, 
        0x04, 0x00, 0x51, 0x2a, 0x00, 0x00, 0xf8, 0xb5, 0x00, 0x90, 0x3f, 0x48, 0x07, 0x68, 0x01, 
        0x25, 0xae, 0x46, 0x36, 0x48, 0xfe, 0x44, 0x00, 0x47, 0x00, 0x24, 0x3c, 0x4e, 0x30, 0x1c, 
        0x32, 0x38, 0xc4, 0x51, 0x30, 0x1c, 0x2a, 0x38, 0xc4, 0x51, 0x30, 0x1c, 0x22, 0x38, 0xc4, 
        0x51, 0xb1, 0x20, 0xc0, 0x00, 0xc4, 0x51, 0x30, 0x1c, 0x1a, 0x38, 0xc4, 0x51, 0x59, 0x20, 
        0x00, 0x01, 0xc4, 0x51, 
    
        0x01, 0x05, 0xff, 0xff, 0x82, 0x6f, 0x08, 0x00, 0xfa, 0x30, 0x1c, 0x12, 0x38, 0xc4, 0x51, 
        0x08, 0x20, 0xc0, 0x19, 0x04, 0x21, 0xae, 0x46, 0x33, 0x4a, 0xfe, 0x44, 0x10, 0x47, 0xb3, 
        0x20, 0xc0, 0x00, 0xc4, 0x51, 0x57, 0x20, 0x00, 0x01, 0xc4, 0x51, 0xaf, 0x20, 0xc0, 0x00, 
        0xc4, 0x51, 0x0b, 0x20, 0xc0, 0x01, 0xc4, 0x51, 0x01, 0x3e, 0xf4, 0x55, 0xae, 0x46, 0x24, 
        0x48, 0xfe, 0x44, 0x00, 0x47, 0x00, 0x98, 0x26, 0x49, 0x01, 0x39, 0x22, 0x1c, 0xae, 0x46, 
        0x27, 0x4b, 0xfe, 0x44, 0x18, 0x47, 0xf8, 0xbd, 0xf0, 0x62, 0x08, 0x00, 0x50, 0x1d, 0x18, 
        0x00, 0xe4, 0x62, 0x08, 0x00, 0x68, 0x10, 0x00, 0x00, 0xde, 0x62, 0x08, 0x00, 0xdf, 0x62, 
        0x08, 0x00, 0xe2, 0x62, 0x08, 0x00, 0xdd, 0x62, 0x08, 0x00, 0xdc, 0x62, 0x08, 0x00, 0xe1, 
        0x62, 0x08, 0x00, 0xe3, 0x62, 0x08, 0x00, 0xe0, 0x62, 0x08, 0x00, 0xff, 0xff, 0x00, 0x00, 
        0x2c, 0x24, 0x08, 0x00, 0x38, 0x64, 0x08, 0x00, 0x04, 0x50, 0x1a, 0x00, 0x6b, 0xf7, 0x04, 
        0x00, 0xf4, 0xfc, 0x00, 0x00, 0xd9, 0xe5, 0x01, 0x00, 0x47, 0x76, 0x04, 0x00, 0xec, 0x62, 
        0x08, 0x00, 0x91, 0x74, 0x04, 0x00, 0x91, 0xf7, 0x01, 0x00, 0x8b, 0x09, 0x04, 0x00, 0x8b, 
        0xf7, 0x00, 0x00, 0x47, 0x15, 0x05, 0x00, 0x14, 0x54, 0x08, 0x00, 0xbd, 0x59, 0x05, 0x00, 
        0xe7, 0x59, 0x05, 0x00, 0x14, 0x24, 0x08, 0x00, 0x21, 0x8f, 0x03, 0x00, 0x85, 0x26, 0x04, 
        0x00, 0xdc, 0x50, 0x08, 0x00, 0xa6, 0x05, 0x00, 0x00, 0xd5, 0x2a, 0x00, 0x00, 0x2a, 0xfe, 
        0x00, 0x00, 0x1d, 0x26, 0x05, 0x00, 0x99, 0x94, 0x03, 0x00, 0xa9, 0x25, 0x05, 0x00, 0x40, 
        0x1e, 0x80, 0x00, 0xed, 0x4b, 0x19, 0x50, 0xeb, 0x49, 0x0a, 0x50, 0xf7, 0x46, 0x00, 0xb5, 
        0xeb, 0x4a, 0x01, 0x8b, 
    
        0x01, 0x05, 0xff, 0xff, 0x7c, 0x70, 0x08, 0x00, 0xfa, 0x91, 0x42, 0x07, 0xd0, 0x40, 0x69, 
        0x40, 0x30, 0x2c, 0x21, 0x01, 0x22, 0x96, 0x46, 0xe8, 0x4a, 0xfe, 0x44, 0x10, 0x47, 0xe7, 
        0x48, 0x2b, 0x30, 0x00, 0xbd, 0xf8, 0xb5, 0x07, 0x1c, 0x7d, 0x69, 0xb8, 0x20, 0x41, 0x5d, 
        0xe4, 0x4a, 0x01, 0x29, 0x05, 0xd1, 0xc7, 0x26, 0x71, 0x5d, 0x01, 0x29, 0x05, 0xd0, 0x03, 
        0x29, 0x03, 0xd0, 0x78, 0x60, 0x10, 0x1c, 0x15, 0x30, 0xf8, 0xbd, 0x00, 0x24, 0xc0, 0x20, 
        0x44, 0x55, 0x70, 0x5d, 0x00, 0x90, 0x74, 0x55, 0x28, 0x1c, 0x01, 0x21, 0x8e, 0x46, 0xda, 
        0x49, 0xfe, 0x44, 0x08, 0x47, 0x00, 0x98, 0x70, 0x55, 0xbf, 0x26, 0x70, 0x5d, 0x01, 0x28, 
        0x16, 0xd1, 0xe9, 0x8e, 0x2a, 0x8f, 0x28, 0x1c, 0x01, 0x23, 0x9e, 0x46, 0xd4, 0x4b, 0xfe, 
        0x44, 0x18, 0x47, 0x00, 0x04, 0x00, 0x0c, 0x04, 0x28, 0x06, 0xdd, 0x6c, 0x8d, 0xc0, 0x1e, 
        0x84, 0x42, 0x06, 0xdb, 0x04, 0x04, 0x24, 0x0c, 0x03, 0xe0, 0x03, 0x21, 0xc0, 0x20, 0x41, 
        0x55, 0x74, 0x55, 0xbc, 0x61, 0xc9, 0x48, 0x2b, 0x30, 0xf8, 0xbd, 0x01, 0x1c, 0x0a, 0x7b, 
        0xec, 0x48, 0x00, 0x2a, 0x02, 0xd0, 0xc9, 0x69, 0x02, 0x29, 0x01, 0xd1, 0x63, 0x30, 0xf7, 
        0x46, 0xee, 0x49, 0x43, 0x39, 0x08, 0x18, 0xf7, 0x46, 0x01, 0x6a, 0xc8, 0x7b, 0x00, 0x02, 
        0x89, 0x7b, 0x01, 0x43, 0xec, 0x48, 0x52, 0x30, 0x02, 0x88, 0xe9, 0x48, 0x91, 0x42, 0x01, 
        0xd1, 0x2d, 0x30, 0xf7, 0x46, 0x29, 0x30, 0xf7, 0x46, 0xf0, 0xb5, 0xe7, 0x49, 0x00, 0x7f, 
        0xc0, 0x00, 0x40, 0x18, 0x02, 0x1f, 0x13, 0x88, 0xb2, 0x48, 0xda, 0x38, 0x18, 0x40, 0x10, 
        0x80, 0x2f, 0x27, 0x3f, 0x02, 0xe2, 0x4e, 0x37, 0x82, 0x0d, 0x04, 0x2d, 0x0c, 0x35, 0x80, 
        0x14, 0x24, 0x11, 0xe0, 
    
        0x01, 0x05, 0xff, 0xff, 0x76, 0x71, 0x08, 0x00, 0xfa, 0x64, 0x20, 0xa6, 0x46, 0xdf, 0x49, 
        0xfe, 0x44, 0x08, 0x47, 0x68, 0x1e, 0x05, 0x06, 0x2d, 0x0e, 0x21, 0xe0, 0x64, 0x20, 0x01, 
        0x21, 0x8e, 0x46, 0xda, 0x49, 0xfe, 0x44, 0x08, 0x47, 0x60, 0x1e, 0x04, 0x06, 0x24, 0x0e, 
        0xb0, 0x89, 0x80, 0x0b, 0x01, 0xd2, 0x00, 0x2c, 0xf1, 0xd1, 0xb1, 0x89, 0x48, 0x05, 0xd4, 
        0x4a, 0x40, 0x0f, 0x1d, 0xd0, 0x10, 0x1c, 0x01, 0x22, 0x14, 0x1c, 0x96, 0x46, 0xf0, 0x4b, 
        0xfe, 0x44, 0x18, 0x47, 0x07, 0x20, 0x00, 0x02, 0x70, 0x81, 0x37, 0x82, 0xed, 0x48, 0x30, 
        0x81, 0x35, 0x80, 0x14, 0x25, 0xb0, 0x89, 0x80, 0x0b, 0x01, 0xd2, 0x00, 0x2d, 0xcf, 0xd1, 
        0xb1, 0x89, 0x48, 0x05, 0x40, 0x0f, 0x05, 0xd0, 0xc7, 0x48, 0x02, 0x22, 0xa6, 0x46, 0xe4, 
        0x4b, 0xfe, 0x44, 0x18, 0x47, 0x70, 0x88, 0x40, 0x07, 0x06, 0xd0, 0xc2, 0x48, 0x29, 0x30, 
        0x01, 0x21, 0x8e, 0x46, 0xea, 0x49, 0xfe, 0x44, 0x08, 0x47, 0xba, 0x48, 0xff, 0x30, 0x34, 
        0x30, 0xf0, 0xbd, 0x10, 0xb5, 0x01, 0x6a, 0xe7, 0x4a, 0x12, 0x68, 0x92, 0x88, 0x12, 0x13, 
        0x92, 0x07, 0x93, 0x0f, 0xe5, 0x4a, 0x02, 0x2b, 0x01, 0xd0, 0x13, 0x88, 0x00, 0xe0, 0x03, 
        0x8b, 0x44, 0x68, 0x0c, 0x19, 0x44, 0x60, 0x83, 0x61, 0x48, 0x88, 0x18, 0x1a, 0x10, 0x80, 
        0xad, 0x48, 0xe7, 0x30, 0x10, 0xbd, 0x70, 0xb5, 0x05, 0x1c, 0x68, 0x68, 0x00, 0x28, 0x1a, 
        0xd1, 0xdb, 0x4e, 0x35, 0x20, 0x00, 0x01, 0x84, 0x19, 0x20, 0x68, 0x01, 0x21, 0x8e, 0x46, 
        0xd9, 0x49, 0xfe, 0x44, 0x08, 0x47, 0x20, 0x7f, 0x00, 0x28, 0x0d, 0xd0, 0xd7, 0x48, 0x00, 
        0x78, 0x02, 0x28, 0x09, 0xd0, 0xe0, 0x7f, 0x50, 0x21, 0x41, 0x43, 0x71, 0x18, 0x48, 0x8e, 
        0x01, 0x30, 0x48, 0x86, 
    
        0x01, 0x05, 0xff, 0xff, 0x70, 0x72, 0x08, 0x00, 0xfa, 0x60, 0x8a, 0x01, 0x38, 0x60, 0x82, 
        0x00, 0x20, 0xcb, 0x49, 0x08, 0x60, 0x01, 0x20, 0x86, 0x46, 0xce, 0x48, 0xfe, 0x44, 0x00, 
        0x47, 0x68, 0x60, 0xcd, 0x48, 0x65, 0x30, 0x70, 0xbd, 0xcd, 0x48, 0xd5, 0x30, 0xf7, 0x46, 
        0x00, 0xb5, 0x40, 0x69, 0x01, 0x21, 0x8e, 0x46, 0xca, 0x49, 0xfe, 0x44, 0x08, 0x47, 0xca, 
        0x48, 0x35, 0x30, 0x00, 0xbd, 0x41, 0x69, 0x09, 0x7c, 0x06, 0x29, 0x02, 0xd1, 0x01, 0x21, 
        0xc7, 0x4a, 0x11, 0x80, 0x0f, 0x21, 0x81, 0x60, 0xc6, 0x48, 0x53, 0x30, 0xf7, 0x46, 0xc1, 
        0x68, 0x43, 0x68, 0x0a, 0x78, 0x0c, 0x2a, 0x07, 0xd1, 0xc3, 0x4a, 0x12, 0x78, 0x00, 0x2a, 
        0x01, 0xd1, 0x06, 0x22, 0x00, 0xe0, 0x07, 0x22, 0x4a, 0x70, 0x43, 0x61, 0xbf, 0x48, 0x09, 
        0x30, 0xf7, 0x46, 0x10, 0xb5, 0x80, 0x69, 0xbc, 0x49, 0x09, 0x78, 0x00, 0x29, 0x09, 0xd1, 
        0x06, 0x24, 0x04, 0x70, 0x01, 0x30, 0x00, 0x21, 0x01, 0x22, 0x96, 0x46, 0xb9, 0x4a, 0xfe, 
        0x44, 0x10, 0x47, 0x08, 0xe0, 0x07, 0x24, 0x04, 0x70, 0x01, 0x30, 0x00, 0x21, 0x01, 0x22, 
        0x96, 0x46, 0xb4, 0x4a, 0xfe, 0x44, 0x10, 0x47, 0x04, 0x70, 0x01, 0x30, 0x0d, 0x21, 0x01, 
        0x24, 0xa6, 0x46, 0xb0, 0x4a, 0xfe, 0x44, 0x10, 0x47, 0xaf, 0x49, 0xa6, 0x46, 0xad, 0x4a, 
        0xfe, 0x44, 0x10, 0x47, 0xae, 0x48, 0x5d, 0x30, 0x10, 0xbd, 0x01, 0x1c, 0xae, 0x48, 0x02, 
        0x78, 0xac, 0x48, 0x00, 0x2a, 0x01, 0xd0, 0x5d, 0x30, 0xf7, 0x46, 0x28, 0x22, 0x8a, 0x60, 
        0xc0, 0x1c, 0xf7, 0x46, 0xa9, 0x49, 0x09, 0x78, 0x05, 0x29, 0x02, 0xd1, 0x01, 0x21, 0xa8, 
        0x4a, 0x11, 0x70, 0x23, 0x21, 0x81, 0x60, 0xa7, 0x48, 0x27, 0x30, 0xf7, 0x46, 0x10, 0xb5, 
        0x01, 0x7e, 0x00, 0x7d, 
    
        0x01, 0x05, 0xff, 0xff, 0x6a, 0x73, 0x08, 0x00, 0xfa, 0x08, 0x43, 0xa6, 0x4c, 0x0a, 0xd0, 
        0x00, 0x20, 0xa3, 0x49, 0x08, 0x70, 0x01, 0x20, 0x86, 0x46, 0xa2, 0x48, 0xfe, 0x44, 0x00, 
        0x47, 0x20, 0x1c, 0x79, 0x30, 0x10, 0xbd, 0x20, 0x1c, 0x71, 0x30, 0x10, 0xbd, 0x81, 0x69, 
        0x4a, 0x78, 0xc2, 0x60, 0x49, 0x78, 0x18, 0x29, 0x01, 0xdb, 0x17, 0x21, 0xc1, 0x60, 0x9b, 
        0x48, 0x39, 0x30, 0xf7, 0x46, 0x70, 0xb5, 0x44, 0x68, 0x85, 0x68, 0x01, 0x26, 0xb6, 0x02, 
        0x05, 0xe0, 0x01, 0x20, 0x86, 0x46, 0x97, 0x48, 0xfe, 0x44, 0x00, 0x47, 0x01, 0x3e, 0xa0, 
        0x78, 0x61, 0x78, 0x09, 0x1a, 0x03, 0x29, 0x0e, 0xd0, 0xc9, 0x1c, 0x0c, 0xd0, 0x00, 0x2e, 
        0x0c, 0xd0, 0x03, 0x28, 0x02, 0xdb, 0xc0, 0x1e, 0x00, 0x06, 0x00, 0x0e, 0x34, 0x21, 0x41, 
        0x43, 0x08, 0x19, 0x03, 0x30, 0x28, 0x60, 0x0a, 0xe0, 0x00, 0x2e, 0xe3, 0xd1, 0x04, 0x21, 
        0x8a, 0x48, 0x0a, 0x1c, 0x33, 0x1c, 0x01, 0x24, 0xa6, 0x46, 0x89, 0x4c, 0xfe, 0x44, 0x20, 
        0x47, 0x88, 0x48, 0x21, 0x30, 0x70, 0xbd, 0x10, 0xb5, 0x87, 0x4c, 0xa0, 0x88, 0x01, 0x21, 
        0x8e, 0x46, 0x86, 0x49, 0xfe, 0x44, 0x08, 0x47, 0x00, 0x28, 0x01, 0xd1, 0x86, 0x48, 0xa0, 
        0x80, 0x84, 0x48, 0xff, 0x30, 0x6e, 0x30, 0x10, 0xbd, 0xc0, 0x46, 0x04, 0xf3, 0x1a, 0x00, 
        0x80, 0x7b, 0x08, 0x00, 0xd9, 0xfc, 0x00, 0x00, 0x99, 0x94, 0x03, 0x00, 0xf9, 0x8c, 0x00, 
        0x00, 0xa9, 0x86, 0x00, 0x00, 0x15, 0x86, 0x00, 0x00, 0x71, 0x69, 0x08, 0x00, 0xfc, 0xb5, 
        0x04, 0x1c, 0xa0, 0x69, 0x0e, 0x21, 0x0e, 0x18, 0x21, 0x7f, 0x00, 0x29, 0x35, 0xd1, 0x30, 
        0x1c, 0x01, 0x25, 0xae, 0x46, 0x76, 0x49, 0xfe, 0x44, 0x08, 0x47, 0x00, 0x28, 0x01, 0xd1, 
        0x00, 0x27, 0x08, 0xe0, 
    
        0x01, 0x05, 0xff, 0xff, 0x64, 0x74, 0x08, 0x00, 0xfa, 0xae, 0x46, 0x73, 0x49, 0xfe, 0x44, 
        0x08, 0x47, 0x00, 0x78, 0xa8, 0x21, 0x41, 0x43, 0x71, 0x48, 0x47, 0x5c, 0x38, 0x1c, 0xae, 
        0x46, 0x70, 0x49, 0xfe, 0x44, 0x08, 0x47, 0x80, 0x00, 0x00, 0x90, 0x38, 0x1c, 0xae, 0x46, 
        0x6d, 0x49, 0xfe, 0x44, 0x08, 0x47, 0xae, 0x46, 0x6c, 0x49, 0xfe, 0x44, 0x08, 0x47, 0x01, 
        0x1c, 0x01, 0x90, 0x02, 0x36, 0x30, 0x1c, 0x00, 0x9a, 0x89, 0x18, 0xae, 0x46, 0x68, 0x4a, 
        0xfe, 0x44, 0x10, 0x47, 0x01, 0x9a, 0x3b, 0x1c, 0x87, 0x20, 0x00, 0x99, 0xae, 0x46, 0x58, 
        0x4d, 0xfe, 0x44, 0x28, 0x47, 0xa0, 0x69, 0x60, 0x60, 0x63, 0x48, 0x81, 0x30, 0xfc, 0xbd, 
        0x62, 0x48, 0x1b, 0x30, 0xf7, 0x46, 0xc0, 0x46, 0xad, 0x99, 0x00, 0x00, 0x60, 0x49, 0x0a, 
        0x1c, 0x3a, 0x32, 0x12, 0x78, 0x09, 0x78, 0x89, 0x18, 0x41, 0x60, 0x5e, 0x48, 0x83, 0x30, 
        0xf7, 0x46, 0xc6, 0x05, 0x00, 0x00, 0x55, 0xde, 0x02, 0x00, 0x62, 0x4f, 0x08, 0x00, 0x00, 
        0xa0, 0x1b, 0x00, 0x18, 0x80, 0x1b, 0x00, 0xc3, 0x8e, 0x03, 0x00, 0xeb, 0x07, 0x00, 0x00, 
        0xf8, 0xb5, 0x00, 0x25, 0x00, 0x95, 0x49, 0x49, 0x5d, 0x48, 0x00, 0x88, 0x88, 0x42, 0x01, 
        0xd0, 0x01, 0x26, 0x06, 0xe0, 0x28, 0x1c, 0x01, 0x21, 0x8e, 0x46, 0x50, 0x4a, 0xfe, 0x44, 
        0x10, 0x47, 0x2e, 0x1c, 0x3f, 0x4f, 0x01, 0x24, 0x3c, 0x76, 0xa6, 0x46, 0x4d, 0x48, 0xfe, 
        0x44, 0x00, 0x47, 0x3d, 0x72, 0x4c, 0x4f, 0xb8, 0x6d, 0x69, 0x46, 0xa6, 0x46, 0x38, 0x4a, 
        0xfe, 0x44, 0x10, 0x47, 0x15, 0x21, 0x00, 0x98, 0x01, 0x70, 0x00, 0x98, 0x46, 0x70, 0xb8, 
        0x6d, 0x2a, 0x1c, 0x00, 0x99, 0xa6, 0x46, 0x45, 0x4b, 0xfe, 0x44, 0x18, 0x47, 0x44, 0x48, 
        0x29, 0x1c, 0xa6, 0x46, 
    
        0x01, 0x05, 0xff, 0xff, 0x5e, 0x75, 0x08, 0x00, 0xfa, 0x44, 0x4a, 0xfe, 0x44, 0x10, 0x47, 
        0x01, 0x1c, 0x43, 0x48, 0xa6, 0x46, 0x43, 0x4a, 0xfe, 0x44, 0x10, 0x47, 0x42, 0x48, 0x3b, 
        0x30, 0xf8, 0xbd, 0xc0, 0x46, 0x53, 0x87, 0x04, 0x00, 0x03, 0x13, 0x00, 0x00, 0x10, 0xb5, 
        0x04, 0x1c, 0x29, 0x49, 0x3e, 0x48, 0x00, 0x88, 0x88, 0x42, 0x05, 0xd1, 0x00, 0x20, 0x01, 
        0x21, 0x8e, 0x46, 0x31, 0x4a, 0xfe, 0x44, 0x10, 0x47, 0x01, 0x20, 0xa0, 0x60, 0x39, 0x48, 
        0x57, 0x30, 0x10, 0xbd, 0x2d, 0x87, 0x04, 0x00, 0xd4, 0x48, 0x08, 0x00, 0xd8, 0x62, 0x08, 
        0x00, 0x84, 0x45, 0x08, 0x00, 0xa3, 0x56, 0x05, 0x00, 0xce, 0x0f, 0x08, 0x00, 0x29, 0x19, 
        0x02, 0x00, 0x0f, 0x1a, 0x02, 0x00, 0x81, 0x26, 0x01, 0x00, 0xdb, 0xef, 0x04, 0x00, 0xb9, 
        0x28, 0x05, 0x00, 0xd4, 0x62, 0x08, 0x00, 0xdb, 0x22, 0x03, 0x00, 0x31, 0x4f, 0x08, 0x00, 
        0x5d, 0x86, 0x02, 0x00, 0xe7, 0x2a, 0x00, 0x00, 0x9a, 0x1b, 0x00, 0x00, 0x5d, 0x15, 0x00, 
        0x00, 0xa5, 0xe0, 0x01, 0x00, 0xf2, 0x62, 0x08, 0x00, 0x6d, 0x17, 0x08, 0x00, 0x29, 0x22, 
        0x08, 0x00, 0x2f, 0x85, 0x03, 0x00, 0x1e, 0x17, 0x08, 0x00, 0xf1, 0xca, 0x03, 0x00, 0xc1, 
        0xcb, 0x03, 0x00, 0x91, 0x90, 0x03, 0x00, 0x17, 0x8f, 0x03, 0x00, 0x1f, 0x03, 0x00, 0x00, 
        0xdf, 0x87, 0x04, 0x00, 0xbd, 0x59, 0x05, 0x00, 0x14, 0x24, 0x08, 0x00, 0x19, 0x90, 0x01, 
        0x00, 0x89, 0x8d, 0x01, 0x00, 0xff, 0xff, 0x00, 0x00, 0xf5, 0x2a, 0x00, 0x00, 0xd9, 0x8f, 
        0x01, 0x00, 0xcb, 0x18, 0x08, 0x00, 0xc5, 0x79, 0x04, 0x00, 0xe9, 0x76, 0x04, 0x00, 0xc5, 
        0x76, 0x04, 0x00, 0xd5, 0x2a, 0x00, 0x00, 0x39, 0x14, 0x02, 0x00, 0x9d, 0xb1, 0x03, 0x00, 
        0x87, 0x0f, 0x08, 0x00, 
    
        0x01, 0x05, 0xff, 0xcb, 0x58, 0x76, 0x08, 0x00, 0xc6, 0x79, 0x95, 0x01, 0x00, 0x29, 0xd9, 
        0x00, 0x00, 0x11, 0xde, 0x02, 0x00, 0x14, 0x54, 0x08, 0x00, 0xe7, 0x59, 0x05, 0x00, 0x22, 
        0x60, 0x1a, 0x00, 0x6b, 0xf7, 0x04, 0x00, 0x14, 0x0a, 0x00, 0x00, 0x3f, 0x87, 0x04, 0x00, 
        0x59, 0xdd, 0x02, 0x00, 0xf0, 0x62, 0x08, 0x00, 0xd5, 0x44, 0x00, 0x00, 0xff, 0xb5, 0x68, 
        0x46, 0xff, 0xf7, 0x1a, 0xf9, 0xff, 0xbd, 0xff, 0xb5, 0x68, 0x46, 0xff, 0xf7, 0xda, 0xf8, 
        0xff, 0xbd, 0xff, 0xb5, 0x68, 0x46, 0xff, 0xf7, 0x56, 0xfb, 0xff, 0xbd, 0xff, 0xb5, 0x68, 
        0x46, 0xfe, 0xf7, 0xf7, 0xff, 0xff, 0xbd, 0xff, 0xb5, 0x68, 0x46, 0xff, 0xf7, 0x42, 0xf9, 
        0xff, 0xbd, 0xff, 0xb5, 0x68, 0x46, 0xff, 0xf7, 0x23, 0xf9, 0xff, 0xbd, 0xff, 0xb5, 0x68, 
        0x46, 0xff, 0xf7, 0x72, 0xfb, 0xff, 0xbd, 0xff, 0xb5, 0x68, 0x46, 0xff, 0xf7, 0x93, 0xf8, 
        0xff, 0xbd, 0xff, 0xb5, 0x68, 0x46, 0xff, 0xf7, 0x56, 0xf8, 0xff, 0xbd, 0xff, 0xb5, 0x68, 
        0x46, 0xfe, 0xf7, 0x5b, 0xff, 0xff, 0xbd, 0xff, 0xb5, 0x68, 0x46, 0xfe, 0xf7, 0xec, 0xff, 
        0xff, 0xbd, 0xff, 0xb5, 0x68, 0x46, 0xff, 0xf7, 0x29, 0xfa, 0xff, 0xbd, 0xff, 0xb5, 0x68, 
        0x46, 0xff, 0xf7, 0x54, 0xfa, 0xff, 0xbd, 0xff, 0xb5, 0x68, 0x46, 0xff, 0xf7, 0x8b, 0xf9, 
        0xff, 0xbd, 0xff, 0xb5, 0x68, 0x46, 0xff, 0xf7, 0xc6, 0xf9, 0xff, 0xbd, 
    
        0x01, 0x05, 0xff, 0x8d, 0x78, 0x7b, 0x08, 0x00, 0x88, 0x00, 0xb5, 0xf8, 0xf0, 0x41, 0xfa, 
        0x00, 0xbd, 0x77, 0x70, 0x08, 0x00, 0xa9, 0x72, 0x08, 0x00, 0x07, 0x72, 0x08, 0x00, 0x37, 
        0x72, 0x08, 0x00, 0xc1, 0x72, 0x08, 0x00, 0x95, 0x72, 0x08, 0x00, 0xe3, 0x72, 0x08, 0x00, 
        0x35, 0x73, 0x08, 0x00, 0x4d, 0x73, 0x08, 0x00, 0x8f, 0x72, 0x08, 0x00, 0xf5, 0x62, 0x08, 
        0x00, 0x00, 0x00, 0x00, 0x00, 0x65, 0x73, 0x08, 0x00, 0x8d, 0x73, 0x08, 0x00, 0xff, 0x73, 
        0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0xa3, 0x73, 0x08, 0x00, 0x31, 0x71, 0x08, 0x00, 0x4f, 
        0x71, 0x08, 0x00, 0x01, 0x75, 0x08, 0x00, 0x81, 0x75, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 
        0x00, 0x00, 0x00, 0x00, 0x41, 0x74, 0x08, 0x00, 0xc5, 0x74, 0x08, 0x00, 0xd1, 0x74, 0x08, 
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
        0x00, 0x00, 0x97, 0x70, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 
    
        0x01, 0x05, 0xff, 0x85, 0x04, 0xf3, 0x1a, 0x00, 0x80, 0x1e, 0x8d, 0x00, 0x00, 0x2c, 0x23, 
        0x03, 0x00, 0x3a, 0xdf, 0x02, 0x00, 0x3a, 0x1a, 0x02, 0x00, 0x64, 0x86, 0x02, 0x00, 0xe8, 
        0x28, 0x05, 0x00, 0x7e, 0x15, 0x00, 0x00, 0xa6, 0xe0, 0x01, 0x00, 0x54, 0x85, 0x03, 0x00, 
        0x52, 0x27, 0x01, 0x00, 0x7c, 0xbf, 0x02, 0x00, 0xff, 0xff, 0xff, 0xff, 0x2e, 0xcc, 0x03, 
        0x00, 0xc8, 0x90, 0x03, 0x00, 0xf0, 0x8e, 0x01, 0x00, 0xff, 0xff, 0xff, 0xff, 0xbe, 0x59, 
        0x05, 0x00, 0x72, 0xde, 0x02, 0x00, 0x6e, 0xdf, 0x02, 0x00, 0x64, 0xdd, 0x02, 0x00, 0x22, 
        0x45, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xb8, 0x14, 0x02, 0x00, 
        0xae, 0xb1, 0x03, 0x00, 0xf8, 0x95, 0x01, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 
        0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xbc, 0x86, 0x00, 0x00, 0xff, 0xff, 
        0xff, 0xff, 
    
        0x01, 0x05, 0xff, 0xff, 0x00, 0x00, 0x18, 0x00, 0xfa, 0xf0, 0xb5, 0x40, 0x4e, 0x07, 0x22, 
        0x32, 0x70, 0x10, 0x23, 0x73, 0x70, 0x47, 0x20, 0xb0, 0x70, 0x1a, 0x20, 0xf0, 0x70, 0x03, 
        0x25, 0x28, 0x1c, 0x3c, 0x49, 0x01, 0x39, 0x01, 0x24, 0xa6, 0x46, 0x39, 0x4f, 0xfe, 0x44, 
        0x38, 0x47, 0xb2, 0x78, 0xf3, 0x78, 0x28, 0x1c, 0x37, 0x49, 0xa6, 0x46, 0x35, 0x4e, 0xfe, 
        0x44, 0x30, 0x47, 0x28, 0x1c, 0x34, 0x49, 0x01, 0x31, 0xa6, 0x46, 0x34, 0x4a, 0xfe, 0x44, 
        0x10, 0x47, 0x28, 0x1c, 0xb9, 0x21, 0xc9, 0x00, 0xa6, 0x46, 0x30, 0x4a, 0xfe, 0x44, 0x10, 
        0x47, 0xa6, 0x46, 0x2f, 0x48, 0xfe, 0x44, 0x00, 0x47, 0x2f, 0x4b, 0x00, 0x21, 0x08, 0x1c, 
        0x1a, 0x68, 0x00, 0x2a, 0x04, 0xd0, 0x02, 0x07, 0x15, 0x0f, 0x22, 0x1c, 0xaa, 0x40, 0x11, 
        0x43, 0x02, 0x07, 0x12, 0x0f, 0x0f, 0x2a, 0x05, 0xd1, 0xc5, 0x08, 0x06, 0x22, 0x2a, 0x40, 
        0x27, 0x4d, 0xa9, 0x52, 0x00, 0x21, 0x04, 0x33, 0x01, 0x30, 0x20, 0x28, 0xe9, 0xd3, 0x3f, 
        0x20, 0x24, 0x49, 0x08, 0x70, 0xa6, 0x46, 0x24, 0x48, 0xfe, 0x44, 0x00, 0x47, 0x22, 0x49, 
        0x08, 0x60, 0xc8, 0x20, 0x22, 0x49, 0x08, 0x80, 0x3c, 0x20, 0x22, 0x49, 0x08, 0x70, 0x02, 
        0x21, 0x21, 0x4a, 0x11, 0x70, 0xff, 0x21, 0x21, 0x4a, 0x11, 0x70, 0x21, 0x4a, 0x14, 0x70, 
        0x21, 0x4a, 0x14, 0x70, 0x21, 0x4a, 0x14, 0x70, 0x21, 0x4a, 0x10, 0x70, 0x28, 0x20, 0x50, 
        0x70, 0x14, 0x20, 0x90, 0x70, 0x08, 0x20, 0x1e, 0x4a, 0x10, 0x70, 0x1e, 0x48, 0x0c, 0x22, 
        0x02, 0x73, 0x0b, 0x22, 0x82, 0x73, 0x0d, 0x22, 0x42, 0x73, 0x81, 0x20, 0x00, 0x03, 0x1b, 
        0x4a, 0x10, 0x60, 0x1e, 0x48, 0x02, 0x1c, 0x5a, 0x32, 0x14, 0x60, 0x00, 0x22, 0x18, 0x4b, 
        0x1a, 0x70, 0x19, 0x4a, 
    
        0x01, 0x05, 0xff, 0x73, 0xfa, 0x00, 0x18, 0x00, 0x6e, 0x18, 0x4b, 0x1a, 0x80, 0x01, 0x70, 
        0xf0, 0xbd, 0xc0, 0x46, 0xf8, 0x4f, 0x08, 0x00, 0x7b, 0x88, 0x04, 0x00, 0xc6, 0x05, 0x00, 
        0x00, 0x65, 0x88, 0x04, 0x00, 0x6f, 0x64, 0x08, 0x00, 0x80, 0x7b, 0x08, 0x00, 0x84, 0xf3, 
        0x1a, 0x00, 0xbf, 0x11, 0x08, 0x00, 0xe8, 0x62, 0x08, 0x00, 0x47, 0x76, 0x04, 0x00, 0xda, 
        0x62, 0x08, 0x00, 0xe1, 0x62, 0x08, 0x00, 0xe2, 0x62, 0x08, 0x00, 0xe3, 0x62, 0x08, 0x00, 
        0xde, 0x62, 0x08, 0x00, 0xdf, 0x62, 0x08, 0x00, 0xe0, 0x62, 0x08, 0x00, 0x10, 0x31, 0x19, 
        0x00, 0x15, 0x13, 0x08, 0x00, 0xd8, 0x11, 0x08, 0x00, 0xf4, 0x20, 0x08, 0x00, 0xf2, 0x62, 
        0x08, 0x00, 0xf0, 0x62, 0x08, 0x00, 0xff, 0xff, 0x00, 0x00, 0x62, 0x4f, 0x08, 0x00, 
    
        0x01, 0x83, 0xff, 0x14, 0x79, 0x7b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
    
        // 
        // 
        // 
        // 
        0x01, 0x0c, 0xfd, 0x09, 0x01, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x64, 0x00, 
    
        0x01, 0x09, 0xfd, 0x08, 0x58, 0x60, 0x1a, 0x00, 0x00, 0x10, 0x00, 0x10, 
    
        0x01, 0x09, 0xfd, 0x08, 0x10, 0x60, 0x1a, 0x00, 0x10, 0x00, 0x10, 0x00, 
    
        0x01, 0x76, 0xfd, 0x31, 0x01, 0x21, 0x54, 0x00, 0x00, 0x61, 0x57, 0x00, 0x00, 0x14, 0x05, 
        0x0a, 0x05, 0x00, 0x07, 0x06, 0x0a, 0x04, 0x05, 0x08, 0x09, 0x0b, 0x0c, 0x0d, 0x0e, 0x10, 
        0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 
        0x10, 0x10, 0x10, 0x10, 0x00, 0x00, 0x00, 0x00, 
    
        0x01, 0x80, 0xfd, 0x06, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 
    
        0x01, 0x80, 0xfd, 0x06, 0x3c, 0xf0, 0x5f, 0x00, 0x00, 0x00, 
    
        0x01, 0x1c, 0xfd, 0x14, 0xff, 0x88, 0x13, 0x00, 0x00, 0xd0, 0x07, 0x00, 0x00, 0xff, 0xff, 
        0x01, 0xff, 0xff, 0xff, 0xfa, 0x00, 0x00, 0x00, 0x00, 
    
        // 
        // 
        // 
        0x01, 0x38, 0xfe, 0x00, 
    
        // 
        // #################################################################
        // ## START of CC2564 Adds-On
        // #################################################################
        // 
        // ## Enable fast clock XTAL support
        0x01, 0x1c, 0xfd, 0x14, 0x01, 0x88, 0x13, 0x00, 0x00, 0xd0, 0x07, 0x00, 0x00, 0xff, 0xff, 
        0x04, 0xff, 0xff, 0xff, 0xfa, 0x00, 0x00, 0x00, 0x00, 
    
        // 
        // ## Enable eHCILL
        0x01, 0x2b, 0xfd, 0x05, 0x10, 0x00, 0x50, 0x00, 0x96, 
    
        // 
        0x01, 0x0c, 0xfd, 0x09, 0x01, 0x01, 0x00, 0xff, 0xff, 0xff, 0xff, 0x64, 0x00, 
    
        // 
        // #################################################################
        // ## END of CC2564 Adds-On
        // #################################################################
        // 
    };
    
    const uint32_t cc256x_init_script_size = sizeof(cc256x_init_script);
    

    BLE_init_cc2564B_1.2.c
    // init script created from BLE_init_cc2564B_1.2.bts
    #include <stdint.h>
    
    #if defined(__GNUC__) && (__MSP430X__ > 0)
    __attribute__((section (".fartext")))
    #endif
    const uint8_t cc256x_init_script[] = {
        // #--------------------------------------------------------------------------------
        // # Description:   BLE FW Initialization Script
        // #
        // # Compatibility: BL6450B
        // #
        // # Last Updated:  19-Oct-2014  13:57:11.15
        // #
        // # Version:       2.0
        // #
        // #--------------------------------------------------------------------------------
        // 
        // 
        // #LE Enable
        0x01, 0x5b, 0xfd, 0x02, 0x01, 0x01, 
    
        // 
        // # Disable Cortex Sleep
        0x01, 0xa8, 0xfd, 0x01, 0x01, 
    
        // 
        // 
        // # Cortex Reset (hold in reset while loading IMEM)
        0x01, 0x09, 0xfd, 0x08, 0x00, 0xc0, 0x1b, 0x00, 0x01, 0x00, 0x01, 0x00, 
    
        // ########################
        // # Patch Start
        // ########################
        // 
        0x01, 0x05, 0xff, 0x0d, 0xac, 0x4b, 0x1b, 0x00, 0x08, 0x91, 0xff, 0x47, 0xf2, 0x9b, 0x35, 
        0x47, 0xf2, 
    
        0x01, 0x05, 0xff, 0x55, 0x20, 0x63, 0x1b, 0x00, 0x50, 0x30, 0xbd, 0x00, 0x00, 0x00, 0x00, 
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
    
        0x01, 0x05, 0xff, 0x5d, 0x98, 0x73, 0x1b, 0x00, 0x58, 0x70, 0x47, 0x02, 0x46, 0x14, 0x3a, 
        0x1e, 0xd0, 0x52, 0x1e, 0x24, 0xd1, 0x8a, 0x78, 0x02, 0x2a, 0x11, 0xd9, 0x12, 0x1f, 0x02, 
        0x2a, 0x0e, 0xd9, 0x1d, 0x3a, 0x1c, 0xd0, 0x92, 0x1f, 0x02, 0x2a, 0x19, 0xd9, 0x09, 0x3a, 
        0x17, 0xd0, 0x89, 0x88, 0x40, 0xf2, 0x00, 0x00, 0xc2, 0xf2, 0x30, 0x00, 0x08, 0x43, 0xfd, 
        0xf7, 0x4b, 0xbe, 0x09, 0x89, 0x40, 0xf2, 0x00, 0x00, 0xc2, 0xf2, 0x30, 0x00, 0x08, 0x43, 
        0xfd, 0xf7, 0x43, 0xbe, 0x89, 0x88, 0x40, 0xf2, 0x00, 0x00, 0xc2, 0xf2, 0x30, 0x00, 0x08, 
        0x43, 0xfd, 0xf7, 0x3b, 0xbe, 0x70, 0x47, 
    
        // 
        // ########################
        // # Patch End
        // ########################
        // 
        // #release Cortex Reset
        0x01, 0x09, 0xfd, 0x08, 0x00, 0xc0, 0x1b, 0x00, 0x00, 0x00, 0x01, 0x00, 
    
        // 
        // # Enable Cortex Sleep
        0x01, 0xa8, 0xfd, 0x01, 0x00, 
    
        // 
        // #RESET BLE
        0x01, 0x5b, 0xfd, 0x02, 0x01, 0x00, 
    
        // 
        0x01, 0xdd, 0xfd, 0x01, 0x01, 
    
    // BTstack: added HCI_VS_Sleep_Mode_Configurations 0xFD0C template for eHCILL
    0x01, 0x0c, 0xfd, 9 , 1, 0, 0,  0xff, 0xff, 0xff, 0xff, 100, 0
    };
    
    const uint32_t cc256x_init_script_size = sizeof(cc256x_init_script);
    

  • Hi Gigi,

    After my last message here, I tried and achieved following:

    • Changed hciattach so that it sends one after other 2 scripts: CC2564B_BT_4.0_SP and then CC2564B_BLE_Add-On. The initialization was ok, but after I got strange behaviour: I set both my laptops in "hciconfig piscan" and CC2564 sometimes found one laptop, sometimes other, sometimes both, sometimes does not found any. And both laptops could not find CC2564.
    • As I wrote here before in my first messages here when I sent only one CC2564B_BT_4.0_SP then I got something like:

    / # hciattach ttyS4 texas
    Found a Texas Instruments' chip!
    Firmware file : /lib/firmware/ti-connectivity/TIInit_6.7.16.bts
    Loaded BTS script version 1
    texas: changing baud rate to 115200, flow control to 1
    Can't init device hci0: Device or resource busy (16)Can't initialize device: Device or resource busy

    Ok I found in kernel what was a problem: kernel asks for "read local features", in response of module sees that module has LE functionality then the linux kernel tries to request some LE things one of them is the "LE read supported states" and the modul answers on it with 0x0C (busy) in HCI event. Then my next step was:

    • I modified kernel so that in the answer on "read local features" I reset the LMP_LE bit and as result kernel does not initializes the LE features. Then I initializes chip only with one script CC2564B_BT_4.0_SP and BT classic things worked fine: I could find both my laptops, laptops saw module and I could ping them. But I disabled LE at all
    • Via Mr. Laurenti I got new BTS script from you, activated back what I changed in kernel and I have again a same:

    / # hciattach ttyS4 texas
    Found a Texas Instruments' chip!
    Firmware file : /lib/firmware/ti-connectivity/TIInit_6.7.16.bts
    Loaded BTS script version 1
    texas: changing baud rate to 115200, flow control to 1
    Can't init device hci0: Device or resource busy (16)Can't initialize device: Device or resource busy

    So is the actual state. I got the BT classic features running when I deactivated some things in linux kernel and I could not get LE things running at all. Do you have an idea what could I do?

    I am using Linux 4.0, blueZ 5.27

    Thank you for help,

    Regards,

    Sergey

  • Hi Sergey,

    The script I sent to you via Mr. Laurenti is nothing but the CC2564B_BT_4.0_SP + CC2564B_BLE_Add-On in one bts file (same as what you were doing in step#1). It is strange that it did not work.

    Do you think that this is not a CC2564B module (but infact a CC2564 module)? Can you send me the exact reply to "read local version" ? Possibly we are trying to download the wrong firmware?

    Regards,
    Gigi Joseph.
  • Hi Gigi,

    You confused me. I repeated my test with your script and got the same error again. I converted your script in C-header file and I could see that the big file from you is not exactly the merge of both. There are some differences. I could attach the converted file if you allow it.

    >Do you think that this is not a CC2564B module (but infact a CC2564 module)?
    That was already my suspicion too. Since from one side I see on www.ti.com/.../cc2564modnem that EK module based on CC2564 (without B) but from other side in the hciattach-SW the script file name "TIInit_6.7.16.bts" composed using the response on "0x01 0x01 0x10 0x00" request on chip (is it the "read local version" that you mean?) and the hciattach-SW requested from me that file that composed as:

    static const char *get_firmware_name(const uint8_t *respond)
    {
    #define FIRMWARE_DIRECTORY "/lib/firmware/ti-connectivity/"
    static char firmware_file_name[PATH_MAX] = {0};
    uint16_t version = 0, chip = 0, min_ver = 0, maj_ver = 0;

    version = MAKEWORD(respond[13], respond[14]);
    chip = (version & 0x7C00) >> 10;
    min_ver = (version & 0x007F);
    maj_ver = (version & 0x0380) >> 7;

    if (version & 0x8000)
    maj_ver |= 0x0008;

    sprintf(firmware_file_name, FIRMWARE_DIRECTORY "TIInit_%d.%d.%d.bts", chip, maj_ver, min_ver);

    return firmware_file_name;
    }

    And using information on the WIKI web-page I decided to take scripts for CC2564B aka "TIInit_6.7.16.bts".
    But you know the things better than me. I inserted in hciattach printing the answer on "0x01 0x01 0x10 0x00". Here is result:

    / # hciattach ttyS4 texas
    Got HCI event answer on 0x01 0x01 0x10 0x00
    Answer: 0x04 0x0e 0x0c 0x01 0x01 0x10 0x00 0x06 0x00 0x00 0x06 0x0d 0x00 0x90 0x1b 0x00
    Found a Texas Instruments' chip!
    Firmware file : /lib/firmware/ti-connectivity/TIInit_6.7.16.bts
    Loaded BTS script version 1
    texas: changing baud rate to 115200, flow control to 1



    Best regards,
    Sergey
  • Hi Sergey,

    LMP Sub Version: 0x1b90. This means you have CC256xB device.

    The only difference between the bts that I sent you and the one that you used is that in my bts, there is a Set_Baud_Rate command at the beginning. But it should not matter because the command only sets the default baud rate (115200).

    To debug further, can you please share the kernel logs (with BlueZ debug enabled) using the bts file that I gave you?

    I am pretty sure that the firmware is downloaded and working, but for some reason the hciattach has some issue...

    Regards,
    Gigi Joseph.
  • Hi Gigi,

    I don't think that hciattach is the reason of this problem. Since it is pretty simple: it asks for the version, recognized that the TI chip connected, composed the script name based on answered chip version, loads this script and then calls ioctl(dd, HCIDEVUP, dev_id) and all further initializations running in the kernel hci_core and hci_event modules. And, as I wrote, kernel recognized that module has LE feature, tried to get supported LE states and the answer of module cause the problem. I think that the module initialization is the reason of this problem.

    in your common script I see several differences, not only one you described. But anyway even with loading of two scripts one after other the initialization was without error, but further activities of chip was not ok (see my step 1).

    Here is the full debug things of test. As you see my TIInit_6.7.16.bts file has 10143 bytes (you can compare with yours) and initializations in kernel running with error for same "opcode 0x201c"

    Best regards,
    Sergey


    /lib/firmware/ti-connectivity # uname -a
    Linux 7-p32 4.0.0 #568 PREEMPT Thu Apr 16 19:04:00 CEST 2015 armv5tejl GNU/Linux
    /lib/firmware/ti-connectivity # bluetoothctl --version
    5.27
    /lib/firmware/ti-connectivity # ls -al TIInit_6.7.16.bts
    -rw-rw-rw- 1 root root 10143 Apr 16 06:12 TIInit_6.7.16.bts
    /lib/firmware/ti-connectivity # hciattach ttyS4 texas
    Got HCI event answer on 0x01 0x01 0x10 0x00
    Answer: 0x04 0x0e 0x0c 0x01 0x01 0x10 0x00 0x06 0x00 0x00 0x06 0x0d 0x00 0x90 0x1b 0x00
    Found a Texas Instruments' chip!
    Firmware file : /lib/firmware/ti-connectivity/TIInit_6.7.16.bts
    Loaded BTS script version 1
    texas: changing baud rate to 115200, flow control to 1
    [ 69.644531] Core ver 2.20
    [ 69.656250] HCI device and connection manager initialized
    [ 69.675781] HCI socket layer initialized
    [ 69.683593] L2CAP socket layer initialized
    [ 69.695312] SCO socket layer initialized
    [ 69.726562] HCI UART driver ver 2.2
    [ 69.730468] HCI H4 protocol initialized
    [ 69.738281] HCI BCSP protocol initialized
    [ 69.742187] HCILL protocol initialized
    [ 69.746093] HCIATH3K protocol initialized
    [ 69.750000] HCI Three-wire UART (H5) protocol initialized
    [ 69.761718] tty c390a800
    [ 69.765625]
    [ 69.765625] hu c39c06c0
    [ 69.769531]
    [ 69.773437] c39c2000 name hci0 bus 3
    [ 69.781250] hdev hci0 event 1
    [ 69.781250] hdev (null) len 8
    [ 69.800781] hci0 orig refcnt 3
    [ 69.804687] hci0
    [ 69.808593] hci0 c39c2000
    [ 69.812500] hci0 c39c2000
    [ 69.816406] hci0 start
    [ 69.820312] hci0 0
    [ 69.820312] hci0 opcode 0x1003 plen 0
    [ 69.828125] skb len 3
    [ 69.828125] hci0 opcode 0x1001 plen 0
    [ 69.832031] skb len 3
    [ 69.835937] hci0 opcode 0x1009 plen 0
    [ 69.839843] skb len 3
    [ 69.839843] length 3
    [ 69.847656] hci0 cmd_cnt 1 cmd queued 3
    [ 69.851562] hci0 type 1 len 3
    [ 69.851562] hci0: type 1 len 3
    [ 69.855468] hu c39c06c0 skb c2f11ce0
    [ 69.863281] device awake, sending normally
    [ 69.867187]
    [ 69.867187]
    [ 69.867187] hu c39c06c0 count 9 rx_state 0 rx_count 0
    [ 69.875000] Event packet
    [ 69.875000] Event header: evt 0x0e plen 12
    [ 69.878906] len 12 room 1846
    [ 69.898437] hu c39c06c0 count 6 rx_state 4 rx_count 6
    [ 69.906250] Complete data
    [ 69.906250] hci0
    [ 69.910156] hci0 Event packet
    [ 69.914062] hci0 status 0x00
    [ 69.917968] opcode 0x1003 status 0x00
    [ 69.921875] hci0 opcode 0x1003
    [ 69.925781] hci0 cmd_cnt 1 cmd queued 2
    [ 69.929687] hci0 type 1 len 3
    [ 69.937500] hci0: type 1 len 3
    [ 69.937500] hu c39c06c0 skb c2e98320
    [ 69.945312] device awake, sending normally
    [ 69.949218]
    [ 69.949218]
    [ 69.949218] hu c39c06c0 count 8 rx_state 0 rx_count 0
    [ 69.957031] Event packet
    [ 69.957031] Event header: evt 0x0e plen 12
    [ 69.960937] len 12 room 1846
    [ 69.972656] hu c39c06c0 count 7 rx_state 4 rx_count 7
    [ 69.980468] Complete data
    [ 69.980468] hci0
    [ 69.984375] hci0 Event packet
    [ 69.988281] hci0 status 0x00
    [ 69.996093] opcode 0x1001 status 0x00
    [ 69.996093] hci0 opcode 0x1001
    [ 70.003906] hci0 cmd_cnt 1 cmd queued 1
    [ 70.007812] hci0 type 1 len 3
    [ 70.011718] hci0: type 1 len 3
    [ 70.015625] hu c39c06c0 skb c2f51aa0
    [ 70.019531] device awake, sending normally
    [ 70.023437]
    [ 70.023437]
    [ 70.031250] hu c39c06c0 count 13 rx_state 0 rx_count 0
    [ 70.035156] Event packet
    [ 70.039062] Event header: evt 0x0e plen 10
    [ 70.042968] len 10 room 1846
    [ 70.042968] Complete data
    [ 70.050781] hci0
    [ 70.050781] hci0 Event packet
    [ 70.054687] hci0 status 0x00
    [ 70.058593] opcode 0x1009 status 0x00
    [ 70.062500] hci0 opcode 0x1009
    [ 70.062500] hci0 result 0x00
    [ 70.070312] hci0 end: err 0
    [ 70.070312] hci0 start
    [ 70.074218] hci0 opcode 0x1005 plen 0
    [ 70.078125] skb len 3
    [ 70.078125] hci0 opcode 0x0c23 plen 0
    [ 70.082031] skb len 3
    [ 70.085937] hci0 opcode 0x0c14 plen 0
    [ 70.089843] skb len 3
    [ 70.089843] hci0 opcode 0x0c25 plen 0
    [ 70.093750] skb len 3
    [ 70.097656] hci0 opcode 0x0c38 plen 0
    [ 70.101562] skb len 3
    [ 70.101562] hci0 opcode 0x0c39 plen 0
    [ 70.105468] skb len 3
    [ 70.109375] hci0 opcode 0x0c05 plen 1
    [ 70.113281] skb len 4
    [ 70.117187] hci0 opcode 0x0c16 plen 2
    [ 70.117187] skb len 5
    [ 70.121093] hci0 opcode 0x2002 plen 0
    [ 70.125000] skb len 3
    [ 70.128906] hci0 opcode 0x2003 plen 0
    [ 70.128906] skb len 3
    [ 70.132812] hci0 opcode 0x201c plen 0
    [ 70.136718] skb len 3
    [ 70.140625] hci0 opcode 0x200f plen 0
    [ 70.140625] skb len 3
    [ 70.144531] hci0 opcode 0x2010 plen 0
    [ 70.148437] skb len 3
    [ 70.152343] hci0 opcode 0x1002 plen 0
    [ 70.160156] skb len 3
    [ 70.160156] hci0 opcode 0x0c52 plen 241
    [ 70.167968] skb len 244
    [ 70.167968] hci0 opcode 0x0c45 plen 1
    [ 70.171875] skb len 4
    [ 70.175781] hci0 opcode 0x0c58 plen 0
    [ 70.179687] skb len 3
    [ 70.179687] hci0 opcode 0x1004 plen 1
    [ 70.183593] skb len 4
    [ 70.187500] length 18
    [ 70.187500] hci0 cmd_cnt 1 cmd queued 18
    [ 70.191406] hci0 type 1 len 3
    [ 70.195312] hci0: type 1 len 3
    [ 70.199218] hu c39c06c0 skb c2e769e0
    [ 70.203125] device awake, sending normally
    [ 70.207031]
    [ 70.242187]
    [ 70.257812] hu c39c06c0 count 14 rx_state 0 rx_count 0
    [ 70.261718] Event packet
    [ 70.265625] Event header: evt 0x0e plen 11
    [ 70.269531] len 11 room 1846
    [ 70.269531] Complete data
    [ 70.273437] hci0
    [ 70.273437] hci0 Event packet
    [ 70.277343] hci0 status 0x00
    [ 70.281250] hci0 acl mtu 1021:4 sco mtu 180:4
    [ 70.285156] opcode 0x1005 status 0x00
    [ 70.289062] hci0 opcode 0x1005
    [ 70.292968] hci0 cmd_cnt 1 cmd queued 17
    [ 70.296875] hci0 type 1 len 3
    [ 70.300781] hci0: type 1 len 3
    [ 70.304687] hu c39c06c0 skb c2e67020
    [ 70.308593] device awake, sending normally
    [ 70.312500]
    [ 70.332031]
    [ 70.332031] hu c39c06c0 count 10 rx_state 0 rx_count 0
    [ 70.335937] Event packet
    [ 70.339843] Event header: evt 0x0e plen 7
    [ 70.343750] len 7 room 1846
    [ 70.347656] Complete data
    [ 70.347656] hci0
    [ 70.351562] hci0 Event packet
    [ 70.355468] hci0 status 0x00
    [ 70.355468] hci0 class 0x001f00
    [ 70.359375] opcode 0x0c23 status 0x00
    [ 70.367187] hci0 opcode 0x0c23
    [ 70.367187] hci0 cmd_cnt 1 cmd queued 16
    [ 70.371093] hci0 type 1 len 3
    [ 70.375000] hci0: type 1 len 3
    [ 70.378906] hu c39c06c0 skb c2f51aa0
    [ 70.382812] device awake, sending normally
    [ 70.386718]
    [ 70.406250]
    [ 70.406250] hu c39c06c0 count 9 rx_state 0 rx_count 0
    [ 70.410156] Event packet
    [ 70.414062] Event header: evt 0x0e plen 252
    [ 70.417968] len 252 room 1846
    [ 70.437500] hu c39c06c0 count 218 rx_state 4 rx_count 246
    [ 70.445312] hu c39c06c0 count 28 rx_state 4 rx_count 28
    [ 70.449218] Complete data
    [ 70.453125] hci0
    [ 70.453125] hci0 Event packet
    [ 70.457031] hci0 status 0x00
    [ 70.460937] opcode 0x0c14 status 0x00
    [ 70.464843] hci0 opcode 0x0c14
    [ 70.464843] hci0 cmd_cnt 1 cmd queued 15
    [ 70.472656] hci0 type 1 len 3
    [ 70.476562] hci0: type 1 len 3
    [ 70.476562] hu c39c06c0 skb c2e679e0
    [ 70.480468] device awake, sending normally
    [ 70.484375]
    [ 70.500000]
    [ 70.500000] hu c39c06c0 count 9 rx_state 0 rx_count 0
    [ 70.503906] Event packet
    [ 70.507812] Event header: evt 0x0e plen 6
    [ 70.511718] len 6 room 1846
    [ 70.515625] Complete data
    [ 70.515625] hci0
    [ 70.519531] hci0 Event packet
    [ 70.523437] hci0 status 0x00
    [ 70.523437] hci0 voice setting 0x0060
    [ 70.527343] opcode 0x0c25 status 0x00
    [ 70.531250] hci0 opcode 0x0c25
    [ 70.535156] hci0 cmd_cnt 1 cmd queued 14
    [ 70.539062] hci0 type 1 len 3
    [ 70.542968] hci0: type 1 len 3
    [ 70.546875] hu c39c06c0 skb c2e964a0
    [ 70.546875] device awake, sending normally
    [ 70.554687]
    [ 70.578125]
    [ 70.578125] hu c39c06c0 count 8 rx_state 0 rx_count 0
    [ 70.582031] Event packet
    [ 70.585937] Event header: evt 0x0e plen 5
    [ 70.589843] len 5 room 1846
    [ 70.593750] Complete data
    [ 70.597656] hci0
    [ 70.597656] hci0 Event packet
    [ 70.601562] hci0 status 0x00
    [ 70.605468] hci0 num iac 5
    [ 70.609375] opcode 0x0c38 status 0x00
    [ 70.613281] hci0 opcode 0x0c38
    [ 70.617187] hci0 cmd_cnt 1 cmd queued 13
    [ 70.621093] hci0 type 1 len 3
    [ 70.625000] hci0: type 1 len 3
    [ 70.625000] hu c39c06c0 skb c2e801a0
    [ 70.628906] device awake, sending normally
    [ 70.632812]
    [ 70.648437]
    [ 70.648437] hu c39c06c0 count 9 rx_state 0 rx_count 0
    [ 70.656250] Event packet
    [ 70.656250] Event header: evt 0x0e plen 8
    [ 70.660156] len 8 room 1846
    [ 70.671875] hu c39c06c0 count 2 rx_state 4 rx_count 2
    [ 70.675781] Complete data
    [ 70.679687] hci0
    [ 70.679687] hci0 Event packet
    [ 70.687500] hci0 opcode 0x0c39
    [ 70.687500] opcode 0x0c39 status 0x00
    [ 70.691406] hci0 opcode 0x0c39
    [ 70.695312] hci0 cmd_cnt 1 cmd queued 12
    [ 70.699218] hci0 type 1 len 4
    [ 70.707031] hci0: type 1 len 4
    [ 70.707031] hu c39c06c0 skb c2e96860
    [ 70.710937] device awake, sending normally
    [ 70.714843]
    [ 70.718750]
    [ 70.730468] hu c39c06c0 count 7 rx_state 0 rx_count 0
    [ 70.734375] Event packet
    [ 70.738281] Event header: evt 0x0e plen 4
    [ 70.742187] len 4 room 1846
    [ 70.742187] Complete data
    [ 70.746093] hci0
    [ 70.750000] hci0 Event packet
    [ 70.750000] hci0 opcode 0x0c05
    [ 70.753906] opcode 0x0c05 status 0x00
    [ 70.757812] hci0 opcode 0x0c05
    [ 70.761718] hci0 cmd_cnt 1 cmd queued 11
    [ 70.765625] hci0 type 1 len 5
    [ 70.769531] hci0: type 1 len 5
    [ 70.773437] hu c39c06c0 skb c2e966e0
    [ 70.777343] device awake, sending normally
    [ 70.781250]
    [ 70.800781]
    [ 70.800781] hu c39c06c0 count 7 rx_state 0 rx_count 0
    [ 70.808593] Event packet
    [ 70.808593] Event header: evt 0x0e plen 4
    [ 70.812500] len 4 room 1846
    [ 70.816406] Complete data
    [ 70.820312]
    [ 70.820312] hci0
    [ 70.824218] hci0 Event packet
    [ 70.824218] hci0 opcode 0x0c16
    [ 70.828125] opcode 0x0c16 status 0x00
    [ 70.832031] hci0 opcode 0x0c16
    [ 70.835937] sock c354c6a0
    [ 70.839843] hci0 cmd_cnt 1 cmd queued 10
    [ 70.843750] hci0 type 1 len 3
    [ 70.847656] hci0: type 1 len 3
    [ 70.851562] hu c39c06c0 skb c2e96c20
    [ 70.855468] device awake, sending normally
    [ 70.859375]
    [ 70.867187] sock c354c6a0 sk c2f5a800
    [ 70.875000] 0
    [ 70.875000] hci0 orig refcnt 4
    [ 70.882812] cmd 400448c9 arg 0
    [ 70.882812] 0
    [ 70.898437] hci0 orig refcnt 5
    [ 70.906250]
    [ 70.910156] hu c39c06c0 count 10 rx_state 0 rx_count 0
    [ 70.914062] Event packet
    [ 70.917968] Event header: evt 0x0e plen 7
    [ 70.921875] len 7 room 1846
    [ 70.925781] Complete data
    [ 70.929687] hci0
    [ 70.929687] hdev c39c2000 len 9
    [ 70.933593] hci0 Event packet
    [ 70.937500] hci0 status 0x00
    [ 70.937500] hci0 le mtu 27:15
    [ 70.941406] opcode 0x2002 status 0x00
    [ 70.945312] hci0 opcode 0x2002
    [ 70.949218] hci0 cmd_cnt 1 cmd queued 9
    [ 70.953125] hci0 type 1 len 3
    [ 70.957031] hdev c39c2000 len 3
    [ 70.957031] hci0: type 1 len 3
    [ 70.960937] hu c39c06c0 skb c2e80da0
    [ 70.964843] device awake, sending normally
    [ 70.968750]
    [ 70.980468]
    [ 70.980468] hu c39c06c0 count 9 rx_state 0 rx_count 0
    [ 70.984375] Event packet
    [ 70.988281] Event header: evt 0x0e plen 12
    [ 70.992187] len 12 room 1846
    [ 71.011718] hu c39c06c0 count 6 rx_state 4 rx_count 6
    [ 71.015625] Complete data
    [ 71.019531] hci0
    [ 71.023437] hdev c39c2000 len 14
    [ 71.027343] hci0 Event packet
    [ 71.031250] hci0 status 0x00
    [ 71.035156] opcode 0x2003 status 0x00
    [ 71.039062] hci0 opcode 0x2003
    [ 71.042968] hci0 cmd_cnt 1 cmd queued 8
    [ 71.046875] hci0 type 1 len 3
    [ 71.054687] hdev c39c2000 len 3
    [ 71.054687] hci0: type 1 len 3
    [ 71.062500] hu c39c06c0 skb c2e80ce0
    [ 71.062500] device awake, sending normally
    [ 71.070312]
    [ 71.070312]
    [ 71.078125] hu c39c06c0 count 15 rx_state 0 rx_count 0
    [ 71.082031] Event packet
    [ 71.085937] Event header: evt 0x0e plen 12
    [ 71.089843] len 12 room 1846
    [ 71.089843] Complete data
    [ 71.097656] hci0
    [ 71.097656] hdev c39c2000 len 14
    [ 71.101562] hci0 Event packet
    [ 71.105468] hci0 status 0x0c
    [ 71.105468] opcode 0x201c status 0x0c
    [ 71.113281] hci0 opcode 0x201c
    [ 71.113281] hci0 result 0x0c
    [ 71.117187] hci0 end: err -16
    [ 71.121093] hdev c39c2000 tty c390a800
    [ 71.136718] hu c39c06c0
    [ 71.140625] hdev c39c2000
    [ 71.140625] hdev c39c2000 tty c390a800
    [ 71.148437] hu c39c06c0
    [ 71.148437] hci0 c39c2000
    [ 71.156250] hci0 c39c2000
    [ 71.164062] hci0 start
    [ 71.171875] hci0 0
    [ 71.171875] hci0 opcode 0x1003 plen 0
    [ 71.179687] skb len 3
    [ 71.183593] hci0 opcode 0x1001 plen 0
    [ 71.187500] skb len 3
    [ 71.191406] hci0 opcode 0x1009 plen 0
    [ 71.195312] skb len 3
    [ 71.199218] length 3
    [ 71.203125] hci0 cmd_cnt 1 cmd queued 3
    [ 71.210937] hci0 type 1 len 3
    [ 71.214843] hdev c39c2000 len 3
    [ 71.214843] hci0: type 1 len 3
    [ 71.222656] hu c39c06c0 skb c2e801a0
    [ 71.222656] device awake, sending normally
    [ 71.230468]
    [ 71.230468]
    [ 71.230468] hu c39c06c0 count 9 rx_state 0 rx_count 0
    [ 71.238281] Event packet
    [ 71.238281] Event header: evt 0x0e plen 12
    [ 71.242187] len 12 room 1846
    [ 71.257812] hu c39c06c0 count 6 rx_state 4 rx_count 6
    [ 71.261718] Complete data
    [ 71.265625] hci0
    [ 71.269531] hdev c39c2000 len 14
    [ 71.273437] hci0 Event packet
    [ 71.277343] hci0 status 0x00
    [ 71.281250] opcode 0x1003 status 0x00
    [ 71.285156] hci0 opcode 0x1003
    [ 71.292968] hci0 cmd_cnt 1 cmd queued 2
    [ 71.296875] hci0 type 1 len 3
    [ 71.300781] hdev c39c2000 len 3
    [ 71.304687] hci0: type 1 len 3
    [ 71.308593] hu c39c06c0 skb c2e96860
    [ 71.312500] device awake, sending normally
    [ 71.320312]
    [ 71.324218]
    [ 71.324218] hu c39c06c0 count 9 rx_state 0 rx_count 0
    [ 71.328125] Event packet
    [ 71.332031] Event header: evt 0x0e plen 12
    [ 71.335937] len 12 room 1846
    [ 71.343750] hu c39c06c0 count 6 rx_state 4 rx_count 6
    [ 71.347656] Complete data
    [ 71.351562] hci0
    [ 71.351562] hdev c39c2000 len 14
    [ 71.359375] hci0 Event packet
    [ 71.363281] hci0 status 0x00
    [ 71.367187] opcode 0x1001 status 0x00
    [ 71.371093] hci0 opcode 0x1001
    [ 71.375000] hci0 cmd_cnt 1 cmd queued 1
    [ 71.378906] hci0 type 1 len 3
    [ 71.382812] hdev c39c2000 len 3
    [ 71.386718] hci0: type 1 len 3
    [ 71.390625] hu c39c06c0 skb c2e966e0
    [ 71.394531] device awake, sending normally
    [ 71.402343]
    [ 71.402343]
    [ 71.406250] hu c39c06c0 count 13 rx_state 0 rx_count 0
    [ 71.410156] Event packet
    [ 71.414062] Event header: evt 0x0e plen 10
    [ 71.417968] len 10 room 1846
    [ 71.421875] Complete data
    [ 71.425781] hci0
    [ 71.425781] hdev c39c2000 len 12
    [ 71.429687] hci0 Event packet
    [ 71.433593] hci0 status 0x00
    [ 71.433593] opcode 0x1009 status 0x00
    [ 71.437500] hci0 opcode 0x1009
    [ 71.441406] hci0 result 0x00
    [ 71.445312] hci0 end: err 0
    [ 71.457031] hci0 start
    [ 71.464843] hci0 opcode 0x1005 plen 0
    [ 71.464843] skb len 3
    [ 71.472656] hci0 opcode 0x0c23 plen 0
    [ 71.472656] skb len 3
    [ 71.480468] hci0 opcode 0x0c14 plen 0
    [ 71.484375] skb len 3
    [ 71.488281] hci0 opcode 0x0c25 plen 0
    [ 71.492187] skb len 3
    [ 71.496093] hci0 opcode 0x0c38 plen 0
    [ 71.503906] skb len 3
    [ 71.507812] hci0 opcode 0x0c39 plen 0
    [ 71.515625] skb len 3
    [ 71.515625] hci0 opcode 0x0c05 plen 1
    [ 71.523437] skb len 4
    [ 71.523437] hci0 opcode 0x0c16 plen 2
    [ 71.531250] skb len 5
    [ 71.531250] hci0 opcode 0x2002 plen 0
    [ 71.539062] skb len 3
    [ 71.539062] hci0 opcode 0x2003 plen 0
    [ 71.546875] skb len 3
    [ 71.546875] hci0 opcode 0x201c plen 0
    [ 71.554687] skb len 3
    [ 71.554687] hci0 opcode 0x200f plen 0
    [ 71.562500] skb len 3
    [ 71.566406] hci0 opcode 0x2010 plen 0
    [ 71.570312] skb len 3
    [ 71.574218] hci0 opcode 0x1002 plen 0
    [ 71.578125] skb len 3
    [ 71.582031] hci0 opcode 0x0c52 plen 241
    [ 71.585937] skb len 244
    [ 71.589843] hci0 opcode 0x0c45 plen 1
    [ 71.597656] skb len 4
    [ 71.601562] hci0 opcode 0x0c58 plen 0
    [ 71.609375] skb len 3
    [ 71.609375] hci0 opcode 0x1004 plen 1
    [ 71.617187] skb len 4
    [ 71.617187] length 18
    [ 71.621093] hci0 cmd_cnt 1 cmd queued 18
    [ 71.625000] hci0 type 1 len 3
    [ 71.628906] hdev c39c2000 len 3
    [ 71.632812] hci0: type 1 len 3
    [ 71.636718] hu c39c06c0 skb c2f51ce0
    [ 71.640625] device awake, sending normally
    [ 71.644531]
    [ 71.648437]
    [ 71.648437] hu c39c06c0 count 9 rx_state 0 rx_count 0
    [ 71.656250] Event packet
    [ 71.656250] Event header: evt 0x0e plen 11
    [ 71.660156] len 11 room 1846
    [ 71.671875] hu c39c06c0 count 5 rx_state 4 rx_count 5
    [ 71.679687] Complete data
    [ 71.679687] hci0
    [ 71.683593] hdev c39c2000 len 13
    [ 71.687500] hci0 Event packet
    [ 71.695312] hci0 status 0x00
    [ 71.695312] hci0 acl mtu 1021:4 sco mtu 180:4
    [ 71.703125] opcode 0x1005 status 0x00
    [ 71.707031] hci0 opcode 0x1005
    [ 71.707031] hci0 cmd_cnt 1 cmd queued 17
    [ 71.714843] hci0 type 1 len 3
    [ 71.718750] hdev c39c2000 len 3
    [ 71.718750] hci0: type 1 len 3
    [ 71.726562] hu c39c06c0 skb c2e80b60
    [ 71.726562] device awake, sending normally
    [ 71.734375]
    [ 71.734375]
    [ 71.734375] hu c39c06c0 count 9 rx_state 0 rx_count 0
    [ 71.742187] Event packet
    [ 71.742187] Event header: evt 0x0e plen 7
    [ 71.746093] len 7 room 1846
    [ 71.765625] hu c39c06c0 count 1 rx_state 4 rx_count 1
    [ 71.769531] Complete data
    [ 71.773437] hci0
    [ 71.777343] hdev c39c2000 len 9
    [ 71.777343] hci0 Event packet
    [ 71.785156] hci0 status 0x00
    [ 71.785156] hci0 class 0x001f00
    [ 71.789062] opcode 0x0c23 status 0x00
    [ 71.792968] hci0 opcode 0x0c23
    [ 71.796875] hci0 cmd_cnt 1 cmd queued 16
    [ 71.800781] hci0 type 1 len 3
    [ 71.804687] hdev c39c2000 len 3
    [ 71.808593] hci0: type 1 len 3
    [ 71.812500] hu c39c06c0 skb c2e801a0
    [ 71.816406] device awake, sending normally
    [ 71.820312]
    [ 71.839843]
    [ 71.839843] hu c39c06c0 count 9 rx_state 0 rx_count 0
    [ 71.843750] Event packet
    [ 71.847656] Event header: evt 0x0e plen 252
    [ 71.851562] len 252 room 1846
    [ 71.863281] hu c39c06c0 count 246 rx_state 4 rx_count 246
    [ 71.867187] Complete data
    [ 71.871093] hci0
    [ 71.875000] hdev c39c2000 len 254
    [ 71.878906] hci0 Event packet
    [ 71.882812] hci0 status 0x00
    [ 71.886718] opcode 0x0c14 status 0x00
    [ 71.890625] hci0 opcode 0x0c14
    [ 71.898437] hci0 cmd_cnt 1 cmd queued 15
    [ 71.902343] hci0 type 1 len 3
    [ 71.906250] hdev c39c2000 len 3
    [ 71.910156] hci0: type 1 len 3
    [ 71.914062] hu c39c06c0 skb c2e86da0
    [ 71.917968] device awake, sending normally
    [ 71.921875]
    [ 71.921875]
    [ 71.929687] hu c39c06c0 count 9 rx_state 0 rx_count 0
    [ 71.933593] Event packet
    [ 71.937500] Event header: evt 0x0e plen 6
    [ 71.941406] len 6 room 1846
    [ 71.941406] Complete data
    [ 71.945312] hci0
    [ 71.949218] hdev c39c2000 len 8
    [ 71.949218] hci0 Event packet
    [ 71.953125] hci0 status 0x00
    [ 71.957031] opcode 0x0c25 status 0x00
    [ 71.960937] hci0 opcode 0x0c25
    [ 71.964843] hci0 cmd_cnt 1 cmd queued 14
    [ 71.968750] hci0 type 1 len 3
    [ 71.972656] hdev c39c2000 len 3
    [ 71.976562] hci0: type 1 len 3
    [ 71.976562] hu c39c06c0 skb c2e809e0
    [ 71.980468] device awake, sending normally
    [ 71.988281]
    [ 72.011718]
    [ 72.011718] hu c39c06c0 count 8 rx_state 0 rx_count 0
    [ 72.015625] Event packet
    [ 72.019531] Event header: evt 0x0e plen 5
    [ 72.023437] len 5 room 1846
    [ 72.027343] Complete data
    [ 72.027343] hci0
    [ 72.031250] hdev c39c2000 len 7
    [ 72.035156] hci0 Event packet
    [ 72.039062] hci0 status 0x00
    [ 72.039062] hci0 num iac 5
    [ 72.042968] opcode 0x0c38 status 0x00
    [ 72.046875] hci0 opcode 0x0c38
    [ 72.050781] hci0 cmd_cnt 1 cmd queued 13
    [ 72.054687] hci0 type 1 len 3
    [ 72.054687] hdev c39c2000 len 3
    [ 72.058593] hci0: type 1 len 3
    [ 72.062500] hu c39c06c0 skb c2e96860
    [ 72.066406] device awake, sending normally
    [ 72.070312]
    [ 72.093750]
    [ 72.093750] hu c39c06c0 count 11 rx_state 0 rx_count 0
    [ 72.101562] Event packet
    [ 72.101562] Event header: evt 0x0e plen 8
    [ 72.105468] len 8 room 1846
    [ 72.109375] Complete data
    [ 72.113281] hci0
    [ 72.113281] hdev c39c2000 len 10
    [ 72.117187] hci0 Event packet
    [ 72.121093] hci0 opcode 0x0c39
    [ 72.125000] opcode 0x0c39 status 0x00
    [ 72.128906] hci0 opcode 0x0c39
    [ 72.132812] hci0 cmd_cnt 1 cmd queued 12
    [ 72.136718] hci0 type 1 len 4
    [ 72.136718] hdev c39c2000 len 4
    [ 72.140625] hci0: type 1 len 4
    [ 72.144531] hu c39c06c0 skb c2e80620
    [ 72.148437] device awake, sending normally
    [ 72.152343]
    [ 72.183593]
    [ 72.183593] hu c39c06c0 count 7 rx_state 0 rx_count 0
    [ 72.187500] Event packet
    [ 72.191406] Event header: evt 0x0e plen 4
    [ 72.195312] len 4 room 1846
    [ 72.199218] Complete data
    [ 72.203125] hci0
    [ 72.203125] hdev c39c2000 len 6
    [ 72.207031] hci0 Event packet
    [ 72.210937] hci0 opcode 0x0c05
    [ 72.214843] opcode 0x0c05 status 0x00
    [ 72.218750] hci0 opcode 0x0c05
    [ 72.222656] hci0 cmd_cnt 1 cmd queued 11
    [ 72.226562] hci0 type 1 len 5
    [ 72.226562] hdev c39c2000 len 5
    [ 72.234375] hci0: type 1 len 5
    [ 72.234375] hu c39c06c0 skb c2e80ce0
    [ 72.238281] device awake, sending normally
    [ 72.242187]
    [ 72.261718]
    [ 72.265625] hu c39c06c0 count 7 rx_state 0 rx_count 0
    [ 72.269531] Event packet
    [ 72.273437] Event header: evt 0x0e plen 4
    [ 72.277343] len 4 room 1846
    [ 72.281250] Complete data
    [ 72.285156] hci0
    [ 72.285156] hdev c39c2000 len 6
    [ 72.289062] hci0 Event packet
    [ 72.292968] hci0 opcode 0x0c16
    [ 72.296875] opcode 0x0c16 status 0x00
    [ 72.300781] hci0 opcode 0x0c16
    [ 72.300781] hci0 cmd_cnt 1 cmd queued 10
    [ 72.308593] hci0 type 1 len 3
    [ 72.312500] hdev c39c2000 len 3
    [ 72.312500] hci0: type 1 len 3
    [ 72.316406] hu c39c06c0 skb c2e80560
    [ 72.320312] device awake, sending normally
    [ 72.328125]
    [ 72.339843]
    [ 72.339843] hu c39c06c0 count 9 rx_state 0 rx_count 0
    [ 72.343750] Event packet
    [ 72.347656] Event header: evt 0x0e plen 7
    [ 72.351562] len 7 room 1846
    [ 72.367187] hu c39c06c0 count 1 rx_state 4 rx_count 1
    [ 72.375000] Complete data
    [ 72.375000] hci0
    [ 72.382812] hdev c39c2000 len 9
    [ 72.382812] hci0 Event packet
    [ 72.386718] hci0 status 0x00
    [ 72.390625] hci0 le mtu 27:15
    [ 72.394531] opcode 0x2002 status 0x00
    [ 72.402343] hci0 opcode 0x2002
    [ 72.406250] hci0 cmd_cnt 1 cmd queued 9
    [ 72.410156] hci0 type 1 len 3
    [ 72.414062] hdev c39c2000 len 3
    [ 72.417968] hci0: type 1 len 3
    [ 72.421875] hu c39c06c0 skb c2e80920
    [ 72.425781] device awake, sending normally
    [ 72.429687]
    [ 72.433593]
    [ 72.433593] hu c39c06c0 count 9 rx_state 0 rx_count 0
    [ 72.441406] Event packet
    [ 72.441406] Event header: evt 0x0e plen 12
    [ 72.445312] len 12 room 1846
    [ 72.457031] hu c39c06c0 count 6 rx_state 4 rx_count 6
    [ 72.464843] Complete data
    [ 72.464843] hci0
    [ 72.468750] hdev c39c2000 len 14
    [ 72.472656] hci0 Event packet
    [ 72.476562] hci0 status 0x00
    [ 72.480468] opcode 0x2003 status 0x00
    [ 72.484375] hci0 opcode 0x2003
    [ 72.492187] hci0 cmd_cnt 1 cmd queued 8
    [ 72.496093] hci0 type 1 len 3
    [ 72.496093] hdev c39c2000 len 3
    [ 72.503906] hci0: type 1 len 3
    [ 72.507812] hu c39c06c0 skb c2e966e0
    [ 72.511718] device awake, sending normally
    [ 72.515625]
    [ 72.515625]
    [ 72.523437] hu c39c06c0 count 13 rx_state 0 rx_count 0
    [ 72.527343] Event packet
    [ 72.531250] Event header: evt 0x0e plen 12
    [ 72.535156] len 12 room 1846
    [ 72.542968] hu c39c06c0 count 2 rx_state 4 rx_count 2
    [ 72.550781] Complete data
    [ 72.550781] hci0
    [ 72.554687] hdev c39c2000 len 14
    [ 72.558593] hci0 Event packet
    [ 72.566406] hci0 status 0x0c
    [ 72.566406] opcode 0x201c status 0x0c
    [ 72.574218] hci0 opcode 0x201c
    [ 72.578125] hci0 result 0x0c
    [ 72.578125] hci0 end: err -16
    [ 72.585937] hdev c39c2000
    [ 72.585937] hdev c39c2000 tty c390a800
    [ 72.593750] hu c39c06c0
    [ 72.597656] hci0 orig refcnt 6
    Can't i[ 72.609375] sock c354c6a0 sk c2f5a800
    nit [ 72.613281] hci0 orig refcnt 5
    device hci0: Device or resource busy (16)Can't initiali[ 72.621093] tty c390a800
    z[ 72.621093] hdev c39c2000
    e device: Device or r[ 72.628906] c39c2000 name hci0 bus 3
    e[ 72.628906] hci0 c39c2000
    source busy
    [ 72.636718] hci0 err 0x13
    [ 72.636718] hdev hci0 event 2
    [ 72.644531] hdev (null) len 8
    [ 72.648437] length 0
    [ 72.648437] All LE connection parameters were removed
    [ 72.667968] hci0 orig refcnt 2
    [ 72.671875] hu c39c06c0
    /lib/firmware/ti-connectivity #
  • Hi Gigi,

    And just for comparing this happened when I send one after another two files: TIInit_6.7.16.bts and TIInit_6.7.16_addson.bts. Requesting of "0x201c" opcode was ok. But then the module does not work propertly in classic mode.

    Other question that we had here: is it possible to run both things for this module: classic and LE simultaneously? I mean is that was good idea to try classic things after I loaded both scripts?

    Best regards,
    Sergey

    /lib/firmware/ti-connectivity # ls -al
    total 28
    drwxrwxr-x 2 root root 408 Apr 17 08:33 .
    drwxrwxr-x 4 root root 816 Apr 14 06:56 ..
    -rw-rw-r-- 1 root root 8945 Apr 10 05:49 TIInit_6.7.16.bts
    -rw-rw-r-- 1 root root 1230 Apr 13 06:55 TIInit_6.7.16_addson.bts
    -rw-rw-rw- 1 root root 10143 Apr 16 06:12 new_TIInit_6.7.16.bts
    /lib/firmware/ti-connectivity # hciattach ttyS4 cc2564
    Found a Texas Instruments' chip!
    Firmware file : /lib/firmware/ti-connectivity/TIInit_6.7.16.bts
    Loaded BTS script version 1
    texas: changing baud rate to 115200, flow control to 1
    Firmware adds-on file : /lib/firmware/ti-connectivity/TIInit_6.7.16_addson.bts
    Loaded BTS script version 1
    [ 78.652343] Core ver 2.20
    [ 78.667968] HCI device and connection manager initialized
    [ 78.683593] HCI socket layer initialized
    [ 78.695312] L2CAP socket layer initialized
    [ 78.707031] SCO socket layer initialized
    [ 78.734375] HCI UART driver ver 2.2
    [ 78.738281] HCI H4 protocol initialized
    [ 78.746093] HCI BCSP protocol initialized
    [ 78.750000] HCILL protocol initialized
    [ 78.757812] HCIATH3K protocol initialized
    [ 78.761718] HCI Three-wire UART (H5) protocol initialized
    [ 78.769531] tty c390a800
    [ 78.773437]
    [ 78.773437] hu c2dea580
    [ 78.781250]
    [ 78.781250] c2df5000 name hci0 bus 3
    [ 78.792968] hdev hci0 event 1
    [ 78.804687] hdev (null) len 8
    [ 78.808593] hci0 orig refcnt 3
    [ 78.816406] hci0
    [ 78.816406] hci0 c2df5000
    [ 78.820312] hci0 c2df5000
    [ 78.824218] hci0 start
    [ 78.828125] hci0 0
    [ 78.832031] hci0 opcode 0x1003 plen 0
    [ 78.835937] skb len 3
    [ 78.839843] hci0 opcode 0x1001 plen 0
    [ 78.843750] skb len 3
    [ 78.847656] hci0 opcode 0x1009 plen 0
    [ 78.851562] skb len 3
    [ 78.855468] length 3
    [ 78.859375] hci0 cmd_cnt 1 cmd queued 3
    [ 78.863281] hci0 type 1 len 3
    [ 78.871093] hci0: type 1 len 3
    [ 78.871093] hu c2dea580 skb c2debda0
    [ 78.878906] device awake, sending normally
    [ 78.882812]
    [ 78.882812]
    [ 78.882812] hu c2dea580 count 9 rx_state 0 rx_count 0
    [ 78.890625] Event packet
    [ 78.890625] Event header: evt 0x0e plen 12
    [ 78.894531] len 12 room 1846
    [ 78.910156] hu c2dea580 count 6 rx_state 4 rx_count 6
    [ 78.914062] Complete data
    [ 78.917968] hci0
    [ 78.917968] hci0 Event packet
    [ 78.925781] hci0 status 0x00
    [ 78.925781] opcode 0x1003 status 0x00
    [ 78.929687] hci0 opcode 0x1003
    [ 78.933593] hci0 cmd_cnt 1 cmd queued 2
    [ 78.937500] hci0 type 1 len 3
    [ 78.941406] hci0: type 1 len 3
    [ 78.945312] hu c2dea580 skb c2e40f20
    [ 78.949218] device awake, sending normally
    [ 78.953125]
    [ 78.953125]
    [ 78.953125] hu c2dea580 count 10 rx_state 0 rx_count 0
    [ 78.960937] Event packet
    [ 78.960937] Event header: evt 0x0e plen 12
    [ 78.968750] len 12 room 1846
    [ 78.988281] hu c2dea580 count 5 rx_state 4 rx_count 5
    [ 78.992187] Complete data
    [ 78.996093] hci0
    [ 78.996093] hci0 Event packet
    [ 79.003906] hci0 status 0x00
    [ 79.003906] opcode 0x1001 status 0x00
    [ 79.011718] hci0 opcode 0x1001
    [ 79.011718] hci0 cmd_cnt 1 cmd queued 1
    [ 79.019531] hci0 type 1 len 3
    [ 79.019531] hci0: type 1 len 3
    [ 79.023437] hu c2dea580 skb c2debb60
    [ 79.027343] device awake, sending normally
    [ 79.031250]
    [ 79.042968]
    [ 79.042968] hu c2dea580 count 9 rx_state 0 rx_count 0
    [ 79.046875] Event packet
    [ 79.050781] Event header: evt 0x0e plen 10
    [ 79.054687] len 10 room 1846
    [ 79.062500] hu c2dea580 count 4 rx_state 4 rx_count 4
    [ 79.066406] Complete data
    [ 79.070312] hci0
    [ 79.074218] hci0 Event packet
    [ 79.078125] hci0 status 0x00
    [ 79.082031] opcode 0x1009 status 0x00
    [ 79.085937] hci0 opcode 0x1009
    [ 79.089843] hci0 result 0x00
    [ 79.093750] hci0 end: err 0
    [ 79.097656] hci0 start
    [ 79.101562] hci0 opcode 0x1005 plen 0
    [ 79.105468] skb len 3
    [ 79.109375] hci0 opcode 0x0c23 plen 0
    [ 79.113281] skb len 3
    [ 79.117187] hci0 opcode 0x0c14 plen 0
    [ 79.121093] skb len 3
    [ 79.125000] hci0 opcode 0x0c25 plen 0
    [ 79.128906] skb len 3
    [ 79.132812] hci0 opcode 0x0c38 plen 0
    [ 79.136718] skb len 3
    [ 79.140625] hci0 opcode 0x0c39 plen 0
    [ 79.144531] skb len 3
    [ 79.148437] hci0 opcode 0x0c05 plen 1
    [ 79.152343] skb len 4
    [ 79.156250] hci0 opcode 0x0c16 plen 2
    [ 79.160156] skb len 5
    [ 79.164062] hci0 opcode 0x2002 plen 0
    [ 79.167968] skb len 3
    [ 79.171875] hci0 opcode 0x2003 plen 0
    [ 79.175781] skb len 3
    [ 79.179687] hci0 opcode 0x201c plen 0
    [ 79.183593] skb len 3
    [ 79.187500] hci0 opcode 0x200f plen 0
    [ 79.195312] skb len 3
    [ 79.195312] hci0 opcode 0x2010 plen 0
    [ 79.203125] skb len 3
    [ 79.207031] hci0 opcode 0x1002 plen 0
    [ 79.210937] skb len 3
    [ 79.214843] hci0 opcode 0x0c52 plen 241
    [ 79.222656] skb len 244
    [ 79.222656] hci0 opcode 0x0c45 plen 1
    [ 79.226562] skb len 4
    [ 79.230468] hci0 opcode 0x0c58 plen 0
    [ 79.234375] skb len 3
    [ 79.234375] hci0 opcode 0x1004 plen 1
    [ 79.238281] skb len 4
    [ 79.242187] length 18
    [ 79.242187] hci0 cmd_cnt 1 cmd queued 18
    [ 79.246093] hci0 type 1 len 3
    [ 79.250000] hci0: type 1 len 3
    [ 79.253906] hu c2dea580 skb c2f1be60
    [ 79.257812] device awake, sending normally
    [ 79.261718]
    [ 79.281250]
    [ 79.285156] hu c2dea580 count 11 rx_state 0 rx_count 0
    [ 79.289062] Event packet
    [ 79.292968] Event header: evt 0x0e plen 11
    [ 79.296875] len 11 room 1846
    [ 79.304687] hu c2dea580 count 3 rx_state 4 rx_count 3
    [ 79.308593] Complete data
    [ 79.312500] hci0
    [ 79.312500] hci0 Event packet
    [ 79.320312] hci0 status 0x00
    [ 79.324218] hci0 acl mtu 1021:4 sco mtu 180:4
    [ 79.328125] opcode 0x1005 status 0x00
    [ 79.332031] hci0 opcode 0x1005
    [ 79.335937] hci0 cmd_cnt 1 cmd queued 17
    [ 79.339843] hci0 type 1 len 3
    [ 79.343750] hci0: type 1 len 3
    [ 79.343750] hu c2dea580 skb c2f1b260
    [ 79.347656] device awake, sending normally
    [ 79.351562]
    [ 79.363281]
    [ 79.363281] hu c2dea580 count 9 rx_state 0 rx_count 0
    [ 79.371093] Event packet
    [ 79.371093] Event header: evt 0x0e plen 7
    [ 79.375000] len 7 room 1846
    [ 79.382812] hu c2dea580 count 1 rx_state 4 rx_count 1
    [ 79.386718] Complete data
    [ 79.390625] hci0
    [ 79.394531] hci0 Event packet
    [ 79.398437] hci0 status 0x00
    [ 79.402343] hci0 class 0x001f00
    [ 79.410156] opcode 0x0c23 status 0x00
    [ 79.410156] hci0 opcode 0x0c23
    [ 79.417968] hci0 cmd_cnt 1 cmd queued 16
    [ 79.421875] hci0 type 1 len 3
    [ 79.421875] hci0: type 1 len 3
    [ 79.425781] hu c2dea580 skb c2debb60
    [ 79.429687] device awake, sending normally
    [ 79.433593]
    [ 79.441406]
    [ 79.441406] hu c2dea580 count 9 rx_state 0 rx_count 0
    [ 79.445312] Event packet
    [ 79.449218] Event header: evt 0x0e plen 252
    [ 79.453125] len 252 room 1846
    [ 79.468750] hu c2dea580 count 148 rx_state 4 rx_count 246
    [ 79.472656] hu c2dea580 count 98 rx_state 4 rx_count 98
    [ 79.476562] Complete data
    [ 79.480468] hci0
    [ 79.484375] hci0 Event packet
    [ 79.488281] hci0 status 0x00
    [ 79.492187] opcode 0x0c14 status 0x00
    [ 79.500000] hci0 opcode 0x0c14
    [ 79.503906] hci0 cmd_cnt 1 cmd queued 15
    [ 79.507812] hci0 type 1 len 3
    [ 79.511718] hci0: type 1 len 3
    [ 79.515625] hu c2dea580 skb c2deb320
    [ 79.519531] device awake, sending normally
    [ 79.523437]
    [ 79.527343]
    [ 79.531250] hu c2dea580 count 9 rx_state 0 rx_count 0
    [ 79.539062] Event packet
    [ 79.539062] Event header: evt 0x0e plen 6
    [ 79.542968] len 6 room 1846
    [ 79.546875] Complete data
    [ 79.550781] hci0
    [ 79.554687] hci0 Event packet
    [ 79.558593] hci0 status 0x00
    [ 79.562500] hci0 voice setting 0x0060
    [ 79.570312] opcode 0x0c25 status 0x00
    [ 79.570312] hci0 opcode 0x0c25
    [ 79.574218] hci0 cmd_cnt 1 cmd queued 14
    [ 79.578125] hci0 type 1 len 3
    [ 79.582031] hci0: type 1 len 3
    [ 79.585937] hu c2dea580 skb c2deb7a0
    [ 79.589843] device awake, sending normally
    [ 79.593750]
    [ 79.605468]
    [ 79.605468] hu c2dea580 count 8 rx_state 0 rx_count 0
    [ 79.609375] Event packet
    [ 79.613281] Event header: evt 0x0e plen 5
    [ 79.617187] len 5 room 1846
    [ 79.621093] Complete data
    [ 79.621093] hci0
    [ 79.625000] hci0 Event packet
    [ 79.628906] hci0 status 0x00
    [ 79.628906] hci0 num iac 5
    [ 79.632812] opcode 0x0c38 status 0x00
    [ 79.636718] hci0 opcode 0x0c38
    [ 79.640625] hci0 cmd_cnt 1 cmd queued 13
    [ 79.644531] hci0 type 1 len 3
    [ 79.648437] hci0: type 1 len 3
    [ 79.648437] hu c2dea580 skb c2deb6e0
    [ 79.652343] device awake, sending normally
    [ 79.656250]
    [ 79.675781]
    [ 79.675781] hu c2dea580 count 9 rx_state 0 rx_count 0
    [ 79.683593] Event packet
    [ 79.683593] Event header: evt 0x0e plen 8
    [ 79.691406] len 8 room 1846
    [ 79.699218] hu c2dea580 count 2 rx_state 4 rx_count 2
    [ 79.703125] Complete data
    [ 79.707031] hci0
    [ 79.707031] hci0 Event packet
    [ 79.710937] hci0 opcode 0x0c39
    [ 79.714843] opcode 0x0c39 status 0x00
    [ 79.718750] hci0 opcode 0x0c39
    [ 79.722656] hci0 cmd_cnt 1 cmd queued 12
    [ 79.726562] hci0 type 1 len 4
    [ 79.726562] hci0: type 1 len 4
    [ 79.730468] hu c2dea580 skb c2f1b3e0
    [ 79.734375] device awake, sending normally
    [ 79.738281]
    [ 79.757812]
    [ 79.761718] hu c2dea580 count 7 rx_state 0 rx_count 0
    [ 79.765625] Event packet
    [ 79.769531] Event header: evt 0x0e plen 4
    [ 79.773437] len 4 room 1846
    [ 79.773437] Complete data
    [ 79.781250] hci0
    [ 79.781250] hci0 Event packet
    [ 79.785156] hci0 opcode 0x0c05
    [ 79.789062] opcode 0x0c05 status 0x00
    [ 79.792968] hci0 opcode 0x0c05
    [ 79.796875] hci0 cmd_cnt 1 cmd queued 11
    [ 79.800781] hci0 type 1 len 5
    [ 79.804687] hci0: type 1 len 5
    [ 79.808593] hu c2dea580 skb c2f1b4a0
    [ 79.812500] device awake, sending normally
    [ 79.820312]
    [ 79.832031]
    [ 79.832031] hu c2dea580 count 7 rx_state 0 rx_count 0
    [ 79.839843] Event packet
    [ 79.839843] Event header: evt 0x0e plen 4
    [ 79.843750] len 4 room 1846
    [ 79.847656] Complete data
    [ 79.851562] hci0
    [ 79.855468] hci0 Event packet
    [ 79.863281] hci0 opcode 0x0c16
    [ 79.863281] opcode 0x0c16 status 0x00
    [ 79.871093] hci0 opcode 0x0c16
    [ 79.871093] hci0 cmd_cnt 1 cmd queued 10
    [ 79.878906] hci0 type 1 len 3
    [ 79.878906] hci0: type 1 len 3
    [ 79.882812] hu c2dea580 skb c2f1b920
    [ 79.886718] device awake, sending normally
    [ 79.890625]
    [ 79.906250]
    [ 79.906250] hu c2dea580 count 9 rx_state 0 rx_count 0
    [ 79.914062] Event packet
    [ 79.914062] Event header: evt 0x0e plen 7
    [ 79.917968] len 7 room 1846
    [ 79.921875]
    [ 79.929687] sock c354c560
    [ 79.933593] hu c2dea580 count 1 rx_state 4 rx_count 1
    [ 79.937500] Complete data
    [ 79.941406] hci0
    [ 79.945312] hci0 Event packet
    [ 79.949218] hci0 status 0x00
    [ 79.953125] hci0 le mtu 27:15
    [ 79.957031] opcode 0x2002 status 0x00
    [ 79.960937] hci0 opcode 0x2002
    [ 79.968750] hci0 cmd_cnt 1 cmd queued 9
    [ 79.972656] hci0 type 1 len 3
    [ 79.972656] hci0: type 1 len 3
    [ 79.976562] hu c2dea580 skb c2debaa0
    [ 79.980468] device awake, sending normally
    [ 79.984375]
    [ 79.988281] sock c354c560 sk c2ee5600
    [ 80.000000] 0
    [ 80.003906]
    [ 80.007812] hci0 orig refcnt 4
    [ 80.011718] hu c2dea580 count 15 rx_state 0 rx_count 0
    [ 80.015625] Event packet
    [ 80.019531] Event header: evt 0x0e plen 12
    [ 80.023437] len 12 room 1846
    [ 80.027343] Complete data
    [ 80.031250] hci0
    [ 80.031250] hci0 Event packet
    [ 80.035156] hci0 status 0x00
    [ 80.039062] opcode 0x2003 status 0x00
    [ 80.042968] hci0 opcode 0x2003
    [ 80.042968] hci0 cmd_cnt 1 cmd queued 8
    [ 80.050781] hci0 type 1 len 3
    [ 80.050781] hci0: type 1 len 3
    [ 80.054687] hu c2dea580 skb c2deb920
    [ 80.058593] device awake, sending normally
    [ 80.062500]
    [ 80.066406] cmd 400448c9 arg 0
    [ 80.066406] 0
    [ 80.074218] hci0 orig refcnt 5
    [ 80.089843]
    [ 80.089843] hu c2dea580 count 11 rx_state 0 rx_count 0
    [ 80.097656] Event packet
    [ 80.097656] Event header: evt 0x0e plen 12
    [ 80.105468] len 12 room 1846
    [ 80.113281] hu c2dea580 count 4 rx_state 4 rx_count 4
    [ 80.121093] Complete data
    [ 80.121093] hci0
    [ 80.125000] hdev c2df5000 len 14
    [ 80.128906] hci0 Event packet
    [ 80.132812] hci0 status 0x00
    [ 80.136718] opcode 0x201c status 0x00
    [ 80.140625] hci0 opcode 0x201c
    [ 80.144531] hci0 cmd_cnt 1 cmd queued 7
    [ 80.152343] hci0 type 1 len 3
    [ 80.152343] hdev c2df5000 len 3
    [ 80.156250] hci0: type 1 len 3
    [ 80.160156] hu c2dea580 skb c2f1b7a0
    [ 80.164062] device awake, sending normally
    [ 80.167968]
    [ 80.171875]
    [ 80.171875] hu c2dea580 count 8 rx_state 0 rx_count 0
    [ 80.179687] Event packet
    [ 80.179687] Event header: evt 0x0e plen 5
    [ 80.183593] len 5 room 1846
    [ 80.187500] Complete data
    [ 80.195312] hci0
    [ 80.195312] hdev c2df5000 len 7
    [ 80.199218] hci0 Event packet
    [ 80.203125] hci0 status 0x00 size 25
    [ 80.207031] opcode 0x200f status 0x00
    [ 80.210937] hci0 opcode 0x200f
    [ 80.210937] hci0 cmd_cnt 1 cmd queued 6
    [ 80.218750] hci0 type 1 len 3
    [ 80.218750] hdev c2df5000 len 3
    [ 80.222656] hci0: type 1 len 3
    [ 80.226562] hu c2dea580 skb c2dc3320
    [ 80.230468] device awake, sending normally
    [ 80.234375]
    [ 80.261718]
    [ 80.261718] hu c2dea580 count 7 rx_state 0 rx_count 0
    [ 80.269531] Event packet
    [ 80.269531] Event header: evt 0x0e plen 4
    [ 80.273437] len 4 room 1846
    [ 80.277343] Complete data
    [ 80.281250] hci0
    [ 80.285156] hdev c2df5000 len 6
    [ 80.289062] hci0 Event packet
    [ 80.292968] hci0 status 0x00
    [ 80.300781] opcode 0x2010 status 0x00
    [ 80.304687] hci0 opcode 0x2010
    [ 80.304687] hci0 cmd_cnt 1 cmd queued 5
    [ 80.312500] hci0 type 1 len 3
    [ 80.316406] hdev c2df5000 len 3
    [ 80.320312] hci0: type 1 len 3
    [ 80.324218] hu c2dea580 skb c31850e0
    [ 80.328125] device awake, sending normally
    [ 80.335937]
    [ 80.339843]
    [ 80.339843] hu c2dea580 count 9 rx_state 0 rx_count 0
    [ 80.347656] Event packet
    [ 80.347656] Event header: evt 0x0e plen 68
    [ 80.351562] len 68 room 1846
    [ 80.363281] hu c2dea580 count 62 rx_state 4 rx_count 62
    [ 80.367187] Complete data
    [ 80.371093] hci0
    [ 80.371093] hdev c2df5000 len 70
    [ 80.378906] hci0 Event packet
    [ 80.378906] hci0 status 0x00
    [ 80.382812] opcode 0x1002 status 0x00
    [ 80.390625] hci0 opcode 0x1002
    [ 80.390625] hci0 cmd_cnt 1 cmd queued 4
    [ 80.394531] hci0 type 1 len 244
    [ 80.402343] hdev c2df5000 len 244
    [ 80.402343] hci0: type 1 len 244
    [ 80.406250] hu c2dea580 skb c2db4aa0
    [ 80.410156] device awake, sending normally
    [ 80.414062]
    [ 80.417968]
    [ 80.441406] hu c2dea580 count 7 rx_state 0 rx_count 0
    [ 80.445312] Event packet
    [ 80.449218] Event header: evt 0x0e plen 4
    [ 80.453125] len 4 room 1846
    [ 80.453125] Complete data
    [ 80.460937] hci0
    [ 80.460937] hdev c2df5000 len 6
    [ 80.464843] hci0 Event packet
    [ 80.468750] hci0 opcode 0x0c52
    [ 80.472656] opcode 0x0c52 status 0x00
    [ 80.480468] hci0 opcode 0x0c52
    [ 80.480468] hci0 cmd_cnt 1 cmd queued 3
    [ 80.484375] hci0 type 1 len 4
    [ 80.488281] hdev c2df5000 len 4
    [ 80.492187] hci0: type 1 len 4
    [ 80.496093] hu c2dea580 skb c2f1bce0
    [ 80.500000] device awake, sending normally
    [ 80.503906]
    [ 80.511718]
    [ 80.511718] hu c2dea580 count 7 rx_state 0 rx_count 0
    [ 80.519531] Event packet
    [ 80.519531] Event header: evt 0x0e plen 4
    [ 80.523437] len 4 room 1846
    [ 80.527343] Complete data
    [ 80.531250] hci0
    [ 80.531250] hdev c2df5000 len 6
    [ 80.535156] hci0 Event packet
    [ 80.539062] hci0 opcode 0x0c45
    [ 80.542968] opcode 0x0c45 status 0x00
    [ 80.546875] hci0 opcode 0x0c45
    [ 80.550781] hci0 cmd_cnt 1 cmd queued 2
    [ 80.554687] hci0 type 1 len 3
    [ 80.554687] hdev c2df5000 len 3
    [ 80.558593] hci0: type 1 len 3
    [ 80.562500] hu c2dea580 skb c2dc3020
    [ 80.566406] device awake, sending normally
    [ 80.570312]
    [ 80.597656]
    [ 80.597656] hu c2dea580 count 8 rx_state 0 rx_count 0
    [ 80.605468] Event packet
    [ 80.605468] Event header: evt 0x0e plen 5
    [ 80.609375] len 5 room 1846
    [ 80.613281] Complete data
    [ 80.617187] hci0
    [ 80.617187] hdev c2df5000 len 7
    [ 80.621093] hci0 Event packet
    [ 80.625000] hci0 status 0x00
    [ 80.625000] opcode 0x0c58 status 0x00
    [ 80.628906] hci0 opcode 0x0c58
    [ 80.632812] hci0 cmd_cnt 1 cmd queued 1
    [ 80.636718] hci0 type 1 len 4
    [ 80.640625] hdev c2df5000 len 4
    [ 80.644531] hci0: type 1 len 4
    [ 80.644531] hu c2dea580 skb c2f1b560
    [ 80.648437] device awake, sending normally
    [ 80.652343]
    [ 80.679687]
    [ 80.679687] hu c2dea580 count 8 rx_state 0 rx_count 0
    [ 80.683593] Event packet
    [ 80.687500] Event header: evt 0x0e plen 14
    [ 80.691406] len 14 room 1846
    [ 80.699218] hu c2dea580 count 9 rx_state 4 rx_count 9
    [ 80.703125] Complete data
    [ 80.707031] hci0
    [ 80.710937] hdev c2df5000 len 16
    [ 80.714843] hci0 Event packet
    [ 80.718750] hci0 status 0x00
    [ 80.722656] opcode 0x1004 status 0x00
    [ 80.730468] hci0 opcode 0x1004
    [ 80.730468] hci0 result 0x00
    [ 80.734375] hci0 end: err 0
    [ 80.738281] hci0 start
    [ 80.742187] hci0 opcode 0x0c01 plen 8
    [ 80.746093] skb len 11
    [ 80.750000] hci0 opcode 0x0c0d plen 7
    [ 80.753906] skb len 10
    [ 80.757812] hci0 opcode 0x080f plen 2
    [ 80.761718] skb len 5
    [ 80.765625] hci0 opcode 0x0c1b plen 0
    [ 80.769531] skb len 3
    [ 80.773437] hci0 opcode 0x0c46 plen 0
    [ 80.777343] skb len 3
    [ 80.781250] hci0 opcode 0x2001 plen 8
    [ 80.785156] skb len 11
    [ 80.789062] hci0 opcode 0x2007 plen 0
    [ 80.792968] skb len 3
    [ 80.796875] length 7
    [ 80.800781] hci0 cmd_cnt 1 cmd queued 7
    [ 80.804687] hci0 type 1 len 11
    [ 80.808593] hdev c2df5000 len 11
    [ 80.812500] hci0: type 1 len 11
    [ 80.816406] hu c2dea580 skb c2dc3320
    [ 80.820312] device awake, sending normally
    [ 80.824218]
    [ 80.832031]
    [ 80.832031] hu c2dea580 count 3 rx_state 0 rx_count 0
    [ 80.839843] Event packet
    [ 80.839843] Event header: evt 0x0e plen 4
    [ 80.847656] len 4 room 1846
    [ 80.855468] hu c2dea580 count 4 rx_state 4 rx_count 4
    [ 80.859375] Complete data
    [ 80.863281] hci0
    [ 80.867187] hdev c2df5000 len 6
    [ 80.871093] hci0 Event packet
    [ 80.875000] hci0 opcode 0x0c01
    [ 80.882812] opcode 0x0c01 status 0x00
    [ 80.886718] hci0 opcode 0x0c01
    [ 80.886718] hci0 cmd_cnt 1 cmd queued 6
    [ 80.894531] hci0 type 1 len 10
    [ 80.898437] hdev c2df5000 len 10
    [ 80.902343] hci0: type 1 len 10
    [ 80.906250] hu c2dea580 skb c31850e0
    [ 80.910156] device awake, sending normally
    [ 80.914062]
    [ 80.925781]
    [ 80.925781] hu c2dea580 count 3 rx_state 0 rx_count 0
    [ 80.933593] Event packet
    [ 80.933593] Event header: evt 0x0e plen 8
    [ 80.937500] len 8 room 1846
    [ 80.945312] hu c2dea580 count 8 rx_state 4 rx_count 8
    [ 80.949218] Complete data
    [ 80.953125] hci0
    [ 80.957031] hdev c2df5000 len 10
    [ 80.960937] hci0 Event packet
    [ 80.964843] hci0 status 0x00
    [ 80.972656] hci0 opcode 0x0c0d
    [ 80.972656] opcode 0x0c0d status 0x00
    [ 80.976562] hci0 opcode 0x0c0d
    [ 80.980468] hci0 cmd_cnt 1 cmd queued 5
    [ 80.984375] hci0 type 1 len 5
    [ 80.988281] hdev c2df5000 len 5
    [ 80.992187] hci0: type 1 len 5
    [ 80.996093] hu c2dea580 skb c2f1b560
    [ 81.000000] device awake, sending normally
    [ 81.003906]
    [ 81.007812]
    [ 81.007812] hu c2dea580 count 7 rx_state 0 rx_count 0
    [ 81.015625] Event packet
    [ 81.015625] Event header: evt 0x0e plen 4
    [ 81.019531] len 4 room 1846
    [ 81.023437] Complete data
    [ 81.027343] hci0
    [ 81.027343] hdev c2df5000 len 6
    [ 81.031250] hci0 Event packet
    [ 81.035156] hci0 status 0x00
    [ 81.039062] hci0 opcode 0x080f
    [ 81.039062] opcode 0x080f status 0x00
    [ 81.042968] hci0 opcode 0x080f
    [ 81.046875] hci0 cmd_cnt 1 cmd queued 4
    [ 81.050781] hci0 type 1 len 3
    [ 81.054687] hdev c2df5000 len 3
    [ 81.058593] hci0: type 1 len 3
    [ 81.058593] hu c2dea580 skb c2f1b4a0
    [ 81.062500] device awake, sending normally
    [ 81.070312]
    [ 81.089843]
    [ 81.089843] hu c2dea580 count 11 rx_state 0 rx_count 0
    [ 81.093750] Event packet
    [ 81.097656] Event header: evt 0x0e plen 8
    [ 81.101562] len 8 room 1846
    [ 81.105468] Complete data
    [ 81.109375] hci0
    [ 81.109375] hdev c2df5000 len 10
    [ 81.113281] hci0 Event packet
    [ 81.117187] hci0 status 0x00
    [ 81.117187] opcode 0x0c1b status 0x00
    [ 81.121093] hci0 opcode 0x0c1b
    [ 81.125000] hci0 cmd_cnt 1 cmd queued 3
    [ 81.128906] hci0 type 1 len 3
    [ 81.132812] hdev c2df5000 len 3
    [ 81.136718] hci0: type 1 len 3
    [ 81.136718] hu c2dea580 skb c2deb0e0
    [ 81.140625] device awake, sending normally
    [ 81.144531]
    [ 81.171875]
    [ 81.179687] hu c2dea580 count 8 rx_state 0 rx_count 0
    [ 81.183593] Event packet
    [ 81.187500] Event header: evt 0x0e plen 5
    [ 81.191406] len 5 room 1846
    [ 81.191406] Complete data
    [ 81.199218] hci0
    [ 81.199218] hdev c2df5000 len 7
    [ 81.203125] hci0 Event packet
    [ 81.207031] hci0 status 0x00
    [ 81.210937] opcode 0x0c46 status 0x00
    [ 81.214843] hci0 opcode 0x0c46
    [ 81.214843] hci0 cmd_cnt 1 cmd queued 2
    [ 81.218750] hci0 type 1 len 11
    [ 81.222656] hdev c2df5000 len 11
    [ 81.226562] hci0: type 1 len 11
    [ 81.230468] hu c2dea580 skb c2db4e60
    [ 81.234375] device awake, sending normally
    [ 81.238281]
    [ 81.265625]
    [ 81.265625] hu c2dea580 count 1 rx_state 0 rx_count 0
    [ 81.273437] Event packet
    [ 81.277343] hu c2dea580 count 6 rx_state 1 rx_count 2
    [ 81.281250] Event header: evt 0x0e plen 4
    [ 81.285156] len 4 room 1846
    [ 81.289062] Complete data
    [ 81.292968] hci0
    [ 81.292968] hdev c2df5000 len 6
    [ 81.296875] hci0 Event packet
    [ 81.300781] hci0 opcode 0x2001
    [ 81.300781] opcode 0x2001 status 0x00
    [ 81.304687] hci0 opcode 0x2001
    [ 81.308593] hci0 cmd_cnt 1 cmd queued 1
    [ 81.312500] hci0 type 1 len 3
    [ 81.316406] hdev c2df5000 len 3
    [ 81.320312] hci0: type 1 len 3
    [ 81.320312] hu c2dea580 skb c2deb920
    [ 81.324218] device awake, sending normally
    [ 81.328125]
    [ 81.343750]
    [ 81.347656] hu c2dea580 count 8 rx_state 0 rx_count 0
    [ 81.355468] Event packet
    [ 81.355468] Event header: evt 0x0e plen 5
    [ 81.359375] len 5 room 1846
    [ 81.363281] Complete data
    [ 81.367187] hci0
    [ 81.367187] hdev c2df5000 len 7
    [ 81.371093] hci0 Event packet
    [ 81.375000] hci0 status 0x00
    [ 81.378906] opcode 0x2007 status 0x00
    [ 81.382812] hci0 opcode 0x2007
    [ 81.386718] hci0 result 0x00
    [ 81.386718] hci0 end: err 0
    [ 81.390625] hci0 start
    [ 81.394531] hci0 opcode 0x0c12 plen 7
    [ 81.398437] skb len 10
    [ 81.402343] length 1
    [ 81.406250] hci0 cmd_cnt 1 cmd queued 1
    [ 81.406250] hci0 type 1 len 10
    [ 81.410156] hdev c2df5000 len 10
    [ 81.414062] hci0: type 1 len 10
    [ 81.417968] hu c2dea580 skb c2e6f560
    [ 81.421875] device awake, sending normally
    [ 81.425781]
    [ 81.445312]
    [ 81.449218] hu c2dea580 count 5 rx_state 0 rx_count 0
    [ 81.453125] Event packet
    [ 81.457031] Event header: evt 0x0e plen 6
    [ 81.460937] len 6 room 1846
    [ 81.464843] hu c2dea580 count 4 rx_state 4 rx_count 4
    [ 81.472656] Complete data
    [ 81.472656] hci0
    [ 81.476562] hdev c2df5000 len 8
    [ 81.480468] hci0 Event packet
    [ 81.488281] hci0 status 0x00
    [ 81.488281] opcode 0x0c12 status 0x00
    [ 81.496093] hci0 opcode 0x0c12
    [ 81.496093] hci0 result 0x00
    [ 81.500000] hci0 end: err 0
    [ 81.503906] hci0 orig refcnt 6
    [ 81.507812] hdev hci0 event 3
    [ 81.511718] hdev (null) len 8
    [ 81.515625] len 6
    [ 81.515625] hci0 c2df5000
    [ 81.519531] hci0 orig refcnt 7
    [ 81.527343] sock c354c560 sk c2ee5600
    [ 81.531250] hci0 orig refcnt 6
    Device setup complete
    /lib/firmware/ti-connectivity #
  • Hi Sergey,

    >>> Other question that we had here: is it possible to run both things for this module: classic and LE simultaneously?
    Yes, it is possible.

    >>> But then the module does not work propertly in classic mode.

    Now that we know it is the correct firmware that is being downloaded, is it possible to get firmware logs to understand what is going on in the device side? Please refer to: processors.wiki.ti.com/.../CC256x_Logger_User_Guide

    Regards,
    Gigi Joseph.
  • Hi Gigi,

    I don't have the USB to serial converter that works with 1,8V. I order it and then make tests and write here the results. I need several days for it

    Best regards,
    Sergey
  • Hi Gigi,


    As I found on http://e2e.ti.com/support/wireless_connectivity/f/660/p/377792/1331014 the logger SW is not open for public downloading. Could you please send it to cc2564b@yahoo.de ?


    Best regards,

    Sergey

  • Hi Sergey,

    I believe you'd have received the Logger tool.
    Please share the logger logs for further analysis.

    Regards,
    Gigi Joseph.
  • Hi Gigi,

    Thank you, I got a logger. But I didn't find ili-file for my chip for parsing output. I loged out what happened when I call hciattach with your big bts-file.  I attached file to this message. Probably it is enough for you. If not, write what shoud I do yet.

    Best Regards,

    Sergey

    PS. I could not send this message with attached lgr file. TI doesnt allow this extension. I changed extension from lgr to doc.

    cc2564b.doc

  • Hi Gigi,


    I did some tests and found that hciattach not only sends the commands to the module, it interprets them for searching for the "0x1c, 0xfd" commands. These command it interprets as deep_standby and after sending of such command no further commands will be sent. And such commands I see twice in your script. It is: " 0x01, 0x1c, 0xfd, 0x14, 0xff, 0x88, 0x13, 0x00, 0x00, 0xd0, 0x07, 0x00, 0x00, 0xff, 0xff, 0x01, 0xff, 0xff, 0xff, 0xfa, 0x00, 0x00, 0x00, 0x00" before

    // #LE Enable
    0x01, 0x5b, 0xfd, 0x02, 0x01, 0x01


    And once again    

    // ## Enable fast clock XTAL support
    0x01, 0x1c, 0xfd, 0x14, 0x01, 0x88, 0x13, 0x00, 0x00, 0xd0, 0x07, 0x00, 0x00, 0xff, 0xff, 0x04, 0xff, 0xff, 0xff, 0xfa, 0x00, 0x00, 0x00, 0x00

    This is a reason why you did not see the "le enable" in debug messages that I sent.

    Ok, I disable the part that stops further sending of HCI commands from script when "0x1c, 0xfd" occur and repeated test. Also I inserted  messages to see what hciattach sends to the module. In Linux-Messages I see that all script messages was sent to the module and linux didn't get the answer on the first message that it sends. It was "HCI_OP_READ_LOCAL_FEATURES    0x1003". After sending of whole script from you, the module just does not answer on first command from linux. In debug messages of the module I see multiple "H4 receive handler - no buffers available (1)" . I repeated test twice with same result. cc2564b_5.doc

    Linux_messages.txt
    / # hciattach ttyS4 texas
    Got HCI event answer on 0x01 0x01 0x10 0x00
    Answer: 0x04 0x0e 0x0c 0x01 0x01 0x10 0x00 0x06 0x00 0x00 0x06 0x0d 0x00 0x90 0x1b 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x 
    Found a Texas Instruments' chip!
    Firmware file : /lib/firmware/ti-connectivity/TIInit_6.7.16.bts
    hcill_installed: 0
    Sending script to serial device
    Loaded BTS script version 1
    C
    brf_size: 56
    C
    brf_size: 2
    C
    brf_size: 34
    C
    brf_size: 2
    C
    brf_size: 41
    C
    brf_size: 2
    C
    brf_size: 28
    C
    brf_size: 2
    C
    brf_size: 2
    C
    brf_size: 2
    C
    brf_size: 2
    C
    brf_size: 86
    C
    brf_size: 82
    C
    brf_size: 1
    C
    brf_size: 66
    C
    brf_size: 26
    C
    brf_size: 66
    C
    brf_size: 1
    C
    brf_size: 24
    C
    brf_size: 8
    W, brf_size: 8
    CMD: 0x01 0x36 0xff 0x04 0x00 0xc2 0x01 0x00 
    brf_size: 15
    R
    brf_size: 1
    C
    brf_size: 8
    S
    texas: changing baud rate to 115200, flow control to 1
    brf_size: 66
    C
    brf_size: 24
    C
    brf_size: 66
    C
    brf_size: 1
    C
    brf_size: 66
    C
    brf_size: 36
    C
    brf_size: 66
    C
    brf_size: 10
    W, brf_size: 10
    CMD: 0x01 0x03 0xff 0x06 0x31 0x4f 0x08 0x00 0x01 0x00 
    brf_size: 15
    R
    brf_size: 66
    C
    brf_size: 34
    C
    brf_size: 66
    C
    brf_size: 1
    C
    brf_size: 6
    W, brf_size: 6
    CMD: 0x01 0x37 0xfe 0x02 0x07 0x10 
    brf_size: 15
    R
    brf_size: 1
    C
    brf_size: 1
    C
    brf_size: 259
    W, brf_size: 259
    CMD: 0x01 0x05 0xff 0xff 0xd0 0x62 0x08 0x00 0xfa 0x07 0x10 0x47 0x1a 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  
    brf_size: 15
    R
    brf_size: 259
    W, brf_size: 259
    CMD: 0x01 0x05 0xff 0xff 0xca 0x63 0x08 0x00 0xfa 0x28 0x35 0x01 0x36 0x02 0x2e 0xd8 0xd3 0x00 0x98 0x44 0x60 0x08 0x48 0x33 0x30 0x00 0x90 0xff 0xbd 0xc0 0x46 0xad 0x45 0x05 0x00 0x93 0xe4 0x04 0x00 0x38 0x1d  
    brf_size: 15
    R
    brf_size: 259
    W, brf_size: 259
    CMD: 0x01 0x05 0xff 0xff 0xc4 0x64 0x08 0x00 0xfa 0x9d 0x77 0x26 0x4b 0xcb 0x61 0x09 0x23 0x93 0x70 0x25 0x4a 0x0a 0x62 0x0a 0x22 0xa2 0x77 0x24 0x4a 0x4a 0x62 0x0b 0x22 0x02 0x70 0x24 0x4a 0x8a 0x62 0x0c 0x22  
    brf_size: 15
    R
    brf_size: 259
    W, brf_size: 259
    CMD: 0x01 0x05 0xff 0xff 0xbe 0x65 0x08 0x00 0xfa 0xa6 0x46 0xe4 0x4a 0xfe 0x44 0x10 0x47 0x00 0x28 0x0c 0xd4 0xe3 0x48 0x00 0x78 0x04 0x28 0x08 0xd1 0xe2 0x48 0x00 0x78 0x03 0x28 0x04 0xd1 0x2e 0x60 0xa6 0x46  
    brf_size: 15
    R
    brf_size: 259
    W, brf_size: 259
    CMD: 0x01 0x05 0xff 0xff 0xb8 0x66 0x08 0x00 0xfa 0x86 0x46 0xd8 0x48 0xfe 0x44 0x00 0x47 0x02 0x20 0xa0 0x70 0xd6 0x48 0xca 0x30 0x28 0x62 0x30 0xbd 0xf8 0xb5 0x06 0x1c 0xb7 0x69 0xb0 0x8a 0x00 0x90 0xd3 0x49  
    brf_size: 15
    R
    brf_size: 259
    W, brf_size: 259
    CMD: 0x01 0x05 0xff 0xff 0xb2 0x67 0x08 0x00 0xfa 0x22 0xdd 0x68 0x71 0x70 0xbd 0x28 0x78 0x00 0x28 0x1d 0xd1 0xe0 0x4e 0x30 0x1c 0x01 0x24 0xa6 0x46 0xdf 0x49 0xfe 0x44 0x08 0x47 0xa8 0x70 0xe8 0x1c 0x31 0x1c  
    brf_size: 15
    R
    brf_size: 259
    W, brf_size: 259
    CMD: 0x01 0x05 0xff 0xff 0xac 0x68 0x08 0x00 0xfa 0x96 0x46 0xdc 0x4a 0xfe 0x44 0x10 0x47 0x02 0x20 0x30 0x55 0xda 0x49 0x97 0x20 0xc0 0x00 0x40 0x18 0x28 0x62 0x70 0xbd 0x70 0xb5 0x02 0x69 0xd4 0x8e 0x15 0x8f  
    brf_size: 15
    R
    brf_size: 259
    W, brf_size: 259
    CMD: 0x01 0x05 0xff 0xff 0xa6 0x69 0x08 0x00 0xfa 0x18 0x18 0x10 0xbd 0xc0 0x46 0x50 0x17 0x08 0x00 0x00 0x04 0x1a 0x00 0xb5 0xf5 0x04 0x00 0xf9 0x15 0x05 0x00 0xd9 0x8f 0x01 0x00 0x70 0xb5 0x0d 0x1c 0x06 0x1c  
    brf_size: 15
    R
    brf_size: 259
    W, brf_size: 259
    CMD: 0x01 0x05 0xff 0xff 0xa0 0x6a 0x08 0x00 0xfa 0x87 0x6d 0x08 0x00 0x29 0x6e 0x08 0x00 0xf0 0xb5 0x07 0x1c 0xb9 0x69 0x48 0x78 0xfe 0x69 0x02 0x1f 0x3b 0xd0 0x21 0x3a 0x41 0xd1 0x04 0x22 0xb2 0x80 0x0c 0x22  
    brf_size: 15
    R
    brf_size: 259
    W, brf_size: 259
    CMD: 0x01 0x05 0xff 0xff 0x9a 0x6b 0x08 0x00 0xfa 0x20 0x62 0x10 0xbd 0xc0 0x46 0x69 0x7d 0x02 0x00 0xf2 0x62 0x08 0x00 0x93 0xe4 0x04 0x00 0x2e 0x2e 0x08 0x00 0x30 0xb5 0x01 0x69 0xdb 0x4a 0xc8 0x68 0x90 0x42  
    brf_size: 15
    R
    brf_size: 259
    W, brf_size: 259
    CMD: 0x01 0x05 0xff 0xff 0x94 0x6c 0x08 0x00 0xfa 0x00 0x92 0xd3 0x4a 0xb7 0x42 0x11 0xd1 0x76 0x46 0x36 0x06 0x36 0x16 0x5e 0x43 0x67 0x46 0x3e 0x41 0x00 0x2d 0x04 0xdc 0x00 0x2b 0x0b 0xdd 0x12 0x78 0x96 0x19  
    brf_size: 15
    R
    brf_size: 259
    W, brf_size: 259
    CMD: 0x01 0x05 0xff 0xff 0x8e 0x6d 0x08 0x00 0xfa 0x01 0x20 0x86 0x46 0xa1 0x48 0xfe 0x44 0x00 0x47 0xa0 0x49 0x08 0x60 0x8d 0x48 0x04 0x80 0x44 0x80 0x10 0xbd 0xcd 0x16 0x03 0x00 0xd4 0x62 0x08 0x00 0xd6 0x62  
    brf_size: 15
    R
    brf_size: 259
    W, brf_size: 259
    CMD: 0x01 0x05 0xff 0xff 0x88 0x6e 0x08 0x00 0xfa 0x00 0x47 0x78 0xbd 0xfb 0x4f 0x08 0x00 0x89 0x91 0x04 0x00 0x61 0xde 0x00 0x00 0xf0 0xb5 0x87 0xb0 0x06 0x90 0x6b 0x48 0x07 0x68 0x01 0x24 0xa6 0x46 0x62 0x48  
    brf_size: 15
    R
    brf_size: 259
    W, brf_size: 259
    CMD: 0x01 0x05 0xff 0xff 0x82 0x6f 0x08 0x00 0xfa 0x30 0x1c 0x12 0x38 0xc4 0x51 0x08 0x20 0xc0 0x19 0x04 0x21 0xae 0x46 0x33 0x4a 0xfe 0x44 0x10 0x47 0xb3 0x20 0xc0 0x00 0xc4 0x51 0x57 0x20 0x00 0x01 0xc4 0x51  
    brf_size: 15
    R
    brf_size: 259
    W, brf_size: 259
    CMD: 0x01 0x05 0xff 0xff 0x7c 0x70 0x08 0x00 0xfa 0x91 0x42 0x07 0xd0 0x40 0x69 0x40 0x30 0x2c 0x21 0x01 0x22 0x96 0x46 0xe8 0x4a 0xfe 0x44 0x10 0x47 0xe7 0x48 0x2b 0x30 0x00 0xbd 0xf8 0xb5 0x07 0x1c 0x7d 0x69  
    brf_size: 15
    R
    brf_size: 259
    W, brf_size: 259
    CMD: 0x01 0x05 0xff 0xff 0x76 0x71 0x08 0x00 0xfa 0x64 0x20 0xa6 0x46 0xdf 0x49 0xfe 0x44 0x08 0x47 0x68 0x1e 0x05 0x06 0x2d 0x0e 0x21 0xe0 0x64 0x20 0x01 0x21 0x8e 0x46 0xda 0x49 0xfe 0x44 0x08 0x47 0x60 0x1e  
    brf_size: 15
    R
    brf_size: 259
    W, brf_size: 259
    CMD: 0x01 0x05 0xff 0xff 0x70 0x72 0x08 0x00 0xfa 0x60 0x8a 0x01 0x38 0x60 0x82 0x00 0x20 0xcb 0x49 0x08 0x60 0x01 0x20 0x86 0x46 0xce 0x48 0xfe 0x44 0x00 0x47 0x68 0x60 0xcd 0x48 0x65 0x30 0x70 0xbd 0xcd 0x48  
    brf_size: 15
    R
    brf_size: 259
    W, brf_size: 259
    CMD: 0x01 0x05 0xff 0xff 0x6a 0x73 0x08 0x00 0xfa 0x08 0x43 0xa6 0x4c 0x0a 0xd0 0x00 0x20 0xa3 0x49 0x08 0x70 0x01 0x20 0x86 0x46 0xa2 0x48 0xfe 0x44 0x00 0x47 0x20 0x1c 0x79 0x30 0x10 0xbd 0x20 0x1c 0x71 0x30  
    brf_size: 15
    R
    brf_size: 259
    W, brf_size: 259
    CMD: 0x01 0x05 0xff 0xff 0x64 0x74 0x08 0x00 0xfa 0xae 0x46 0x73 0x49 0xfe 0x44 0x08 0x47 0x00 0x78 0xa8 0x21 0x41 0x43 0x71 0x48 0x47 0x5c 0x38 0x1c 0xae 0x46 0x70 0x49 0xfe 0x44 0x08 0x47 0x80 0x00 0x00 0x90  
    brf_size: 15
    R
    brf_size: 259
    W, brf_size: 259
    CMD: 0x01 0x05 0xff 0xff 0x5e 0x75 0x08 0x00 0xfa 0x44 0x4a 0xfe 0x44 0x10 0x47 0x01 0x1c 0x43 0x48 0xa6 0x46 0x43 0x4a 0xfe 0x44 0x10 0x47 0x42 0x48 0x3b 0x30 0xf8 0xbd 0xc0 0x46 0x53 0x87 0x04 0x00 0x03 0x13  
    brf_size: 15
    R
    brf_size: 207
    W, brf_size: 207
    CMD: 0x01 0x05 0xff 0xcb 0x58 0x76 0x08 0x00 0xc6 0x79 0x95 0x01 0x00 0x29 0xd9 0x00 0x00 0x11 0xde 0x02 0x00 0x14 0x54 0x08 0x00 0xe7 0x59 0x05 0x00 0x22 0x60 0x1a 0x00 0x6b 0xf7 0x04 0x00 0x14 0x0a 0x00 0x00  
    brf_size: 15
    R
    brf_size: 145
    W, brf_size: 145
    CMD: 0x01 0x05 0xff 0x8d 0x78 0x7b 0x08 0x00 0x88 0x00 0xb5 0xf8 0xf0 0x41 0xfa 0x00 0xbd 0x77 0x70 0x08 0x00 0xa9 0x72 0x08 0x00 0x07 0x72 0x08 0x00 0x37 0x72 0x08 0x00 0xc1 0x72 0x08 0x00 0x95 0x72 0x08 0x00  
    brf_size: 15
    R
    brf_size: 137
    W, brf_size: 137
    CMD: 0x01 0x05 0xff 0x85 0x04 0xf3 0x1a 0x00 0x80 0x1e 0x8d 0x00 0x00 0x2c 0x23 0x03 0x00 0x3a 0xdf 0x02 0x00 0x3a 0x1a 0x02 0x00 0x64 0x86 0x02 0x00 0xe8 0x28 0x05 0x00 0x7e 0x15 0x00 0x00 0xa6 0xe0 0x01 0x00  
    brf_size: 15
    R
    brf_size: 259
    W, brf_size: 259
    CMD: 0x01 0x05 0xff 0xff 0x00 0x00 0x18 0x00 0xfa 0xf0 0xb5 0x40 0x4e 0x07 0x22 0x32 0x70 0x10 0x23 0x73 0x70 0x47 0x20 0xb0 0x70 0x1a 0x20 0xf0 0x70 0x03 0x25 0x28 0x1c 0x3c 0x49 0x01 0x39 0x01 0x24 0xa6 0x46  
    brf_size: 15
    R
    brf_size: 119
    W, brf_size: 119
    CMD: 0x01 0x05 0xff 0x73 0xfa 0x00 0x18 0x00 0x6e 0x18 0x4b 0x1a 0x80 0x01 0x70 0xf0 0xbd 0xc0 0x46 0xf8 0x4f 0x08 0x00 0x7b 0x88 0x04 0x00 0xc6 0x05 0x00 0x00 0x65 0x88 0x04 0x00 0x6f 0x64 0x08 0x00 0x80 0x7b  
    brf_size: 15
    R
    brf_size: 24
    W, brf_size: 24
    CMD: 0x01 0x83 0xff 0x14 0x79 0x7b 0x08 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
    brf_size: 15
    R
    brf_size: 1
    C
    brf_size: 1
    C
    brf_size: 1
    C
    brf_size: 1
    C
    brf_size: 13
    W, brf_size: 13
    CMD: 0x01 0x0c 0xfd 0x09 0x01 0x00 0xff 0xff 0xff 0xff 0xff 0x64 0x00 
    brf_size: 15
    R
    brf_size: 12
    W, brf_size: 12
    CMD: 0x01 0x09 0xfd 0x08 0x58 0x60 0x1a 0x00 0x00 0x10 0x00 0x10 
    brf_size: 15
    R
    brf_size: 12
    W, brf_size: 12
    CMD: 0x01 0x09 0xfd 0x08 0x10 0x60 0x1a 0x00 0x10 0x00 0x10 0x00 
    brf_size: 15
    R
    brf_size: 53
    W, brf_size: 53
    CMD: 0x01 0x76 0xfd 0x31 0x01 0x21 0x54 0x00 0x00 0x61 0x57 0x00 0x00 0x14 0x05 0x0a 0x05 0x00 0x07 0x06 0x0a 0x04 0x05 0x08 0x09 0x0b 0x0c 0x0d 0x0e 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10  
    brf_size: 15
    R
    brf_size: 10
    W, brf_size: 10
    CMD: 0x01 0x80 0xfd 0x06 0x00 0x01 0x00 0x00 0x00 0x01 
    brf_size: 15
    R
    brf_size: 10
    W, brf_size: 10
    CMD: 0x01 0x80 0xfd 0x06 0x3c 0xf0 0x5f 0x00 0x00 0x00 
    brf_size: 15
    R
    brf_size: 24
    W, brf_size: 24
    CMD: 0x01 0x1c 0xfd 0x14 0xff 0x88 0x13 0x00 0x00 0xd0 0x07 0x00 0x00 0xff 0xff 0x01 0xff 0xff 0xff 0xfa 0x00 0x00 0x00 0x00 
    brf_size: 15
    R
    brf_size: 1
    C
    brf_size: 82
    C
    brf_size: 46
    C
    brf_size: 2
    C
    brf_size: 25
    C
    brf_size: 2
    C
    brf_size: 42
    C
    brf_size: 2
    C
    brf_size: 21
    C
    brf_size: 2
    C
    brf_size: 82
    C
    brf_size: 1
    C
    brf_size: 1
    C
    brf_size: 11
    C
    brf_size: 6
    W, brf_size: 6
    CMD: 0x01 0x5b 0xfd 0x02 0x01 0x01 
    brf_size: 15
    R
    brf_size: 1
    C
    brf_size: 23
    C
    brf_size: 5
    W, brf_size: 5
    CMD: 0x01 0xa8 0xfd 0x01 0x01 
    brf_size: 15
    R
    brf_size: 1
    C
    brf_size: 1
    C
    brf_size: 50
    C
    brf_size: 12
    W, brf_size: 12
    CMD: 0x01 0x09 0xfd 0x08 0x00 0xc0 0x1b 0x00 0x01 0x00 0x01 0x00 
    brf_size: 15
    R
    brf_size: 25
    C
    brf_size: 14
    C
    brf_size: 25
    C
    brf_size: 1
    C
    brf_size: 17
    W, brf_size: 17
    CMD: 0x01 0x05 0xff 0x0d 0xac 0x4b 0x1b 0x00 0x08 0x91 0xff 0x47 0xf2 0x9b 0x35 0x47 0xf2 
    brf_size: 15
    R
    brf_size: 89
    W, brf_size: 89
    CMD: 0x01 0x05 0xff 0x55 0x20 0x63 0x1b 0x00 0x50 0x30 0xbd 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  
    brf_size: 15
    R
    brf_size: 97
    W, brf_size: 97
    CMD: 0x01 0x05 0xff 0x5d 0x98 0x73 0x1b 0x00 0x58 0x70 0x47 0x02 0x46 0x14 0x3a 0x1e 0xd0 0x52 0x1e 0x24 0xd1 0x8a 0x78 0x02 0x2a 0x11 0xd9 0x12 0x1f 0x02 0x2a 0x0e 0xd9 0x1d 0x3a 0x1c 0xd0 0x92 0x1f 0x02 0x2a  
    brf_size: 15
    R
    brf_size: 1
    C
    brf_size: 25
    C
    brf_size: 12
    C
    brf_size: 25
    C
    brf_size: 1
    C
    brf_size: 22
    C
    brf_size: 12
    W, brf_size: 12
    CMD: 0x01 0x09 0xfd 0x08 0x00 0xc0 0x1b 0x00 0x00 0x00 0x01 0x00 
    brf_size: 15
    R
    brf_size: 1
    C
    brf_size: 22
    C
    brf_size: 5
    W, brf_size: 5
    CMD: 0x01 0xa8 0xfd 0x01 0x00 
    brf_size: 15
    R
    brf_size: 1
    C
    brf_size: 11
    C
    brf_size: 6
    W, brf_size: 6
    CMD: 0x01 0x5b 0xfd 0x02 0x01 0x00 
    brf_size: 15
    R
    brf_size: 1
    C
    brf_size: 5
    W, brf_size: 5
    CMD: 0x01 0xdd 0xfd 0x01 0x01 
    brf_size: 15
    R
    brf_size: 1
    C
    brf_size: 1
    C
    brf_size: 4
    W, brf_size: 4
    CMD: 0x01 0x38 0xfe 0x00 
    brf_size: 15
    R
    brf_size: 1
    C
    brf_size: 66
    C
    brf_size: 27
    C
    brf_size: 66
    C
    brf_size: 1
    C
    brf_size: 34
    C
    brf_size: 24
    W, brf_size: 24
    CMD: 0x01 0x1c 0xfd 0x14 0x01 0x88 0x13 0x00 0x00 0xd0 0x07 0x00 0x00 0xff 0xff 0x04 0xff 0xff 0xff 0xfa 0x00 0x00 0x00 0x00 
    brf_size: 15
    R
    brf_size: 1
    C
    brf_size: 17
    C
    brf_size: 9
    W, brf_size: 9
    CMD: 0x01 0x2b 0xfd 0x05 0x10 0x00 0x50 0x00 0x96 
    brf_size: 15
    R
    brf_size: 1
    C
    brf_size: 13
    W, brf_size: 13
    CMD: 0x01 0x0c 0xfd 0x09 0x01 0x01 0x00 0xff 0xff 0xff 0xff 0x64 0x00 
    brf_size: 15
    R
    brf_size: 1
    C
    brf_size: 66
    C
    brf_size: 25
    C
    brf_size: 66
    C
    brf_size: 1
    C
    brf_size: 0
    
    [   45.261718] Core ver 2.20
    [   45.273437] NET: Registered protocol family 31
    [   45.285156] HCI device and connection manager initialized
    [   45.292968] HCI socket layer initialized
    [   45.304687] L2CAP socket layer initialized
    [   45.308593] SCO socket layer initialized
    [   45.335937] HCI UART driver ver 2.2
    [   45.339843] HCI H4 protocol initialized
    [   45.347656] HCI BCSP protocol initialized
    [   45.347656] HCILL protocol initialized
    [   45.355468] HCIATH3K protocol initialized
    [   45.355468] HCI Three-wire UART (H5) protocol initialized
    [   45.363281] tty c390c800
    [   45.367187] 
    [   45.367187] hu c336ef80
    [   45.371093] 
    [   45.371093] c33cc000 name hci0 bus 3
    [   45.382812] hdev hci0 event 1
    [   45.382812] hdev   (null) len 8
    [   45.390625] hci0 orig refcnt 3
    [   45.390625] hci0
    [   45.394531] hci0 c33cc000
    [   45.398437] hci0 c33cc000
    [   45.398437] hci0 start
    [   45.402343] hci0 0
    [   45.402343] hci0 opcode 0x1003 plen 0
    [   45.406250] skb len 3
    [   45.410156] hci0 opcode 0x1001 plen 0
    [   45.414062] skb len 3
    [   45.414062] hci0 opcode 0x1009 plen 0
    [   45.417968] skb len 3
    [   45.421875] length 3
    [   45.425781] hci0 cmd_cnt 1 cmd queued 3
    [   45.429687] hci0 type 1 len 3
    [   45.429687] hci0: type 1 len 3
    [   45.433593] hu c336ef80 skb c338fc20
    [   45.437500] device awake, sending normally
    [   45.441406] 
    [   45.445312] 
    [   46.449218] 
    
    Adde[   46.453125] sock c3537540
    d [   46.453125] sock c3537540 sk c33b6000
    de[   46.457031] 0
    vi[   46.460937] hci0 orig refcnt 4
    ce[   46.464843] cmd 400448c9 arg 0
     [   46.464843] 0
    h[   46.468750] hci0 orig refcnt 5
    ci0
    [   47.453125] hci0 command 0x1003 tx timeout
    [   47.457031] hci0 cmd_cnt 1 cmd queued 2
    [   47.460937] hci0 type 1 len 3
    [   47.464843] hdev c33cc000 len 3
    [   47.468750] hci0: type 1 len 3
    [   47.468750] hu c336ef80 skb c338f0e0
    [   47.472656] device awake, sending normally
    [   47.476562] 
    [   47.480468] 
    [   49.484375] hci0 command 0x1001 tx timeout
    [   49.488281] hci0 cmd_cnt 1 cmd queued 1
    [   49.492187] hci0 type 1 len 3
    [   49.496093] hdev c33cc000 len 3
    [   49.496093] hci0: type 1 len 3
    [   49.500000] hu c336ef80 skb c338f4a0
    [   49.503906] device awake, sending normally
    [   49.507812] 
    [   49.511718] 
    [   51.523437] hci0 command 0x1009 tx timeout
    [   51.523437] hci0 cmd_cnt 1 cmd queued 0
    [   55.425781] hci0 end: err -110
    [   55.429687] hdev c33cc000 tty c390c800
    [   55.433593] hu c336ef80
    [   55.433593] hdev c33cc000
    [   55.437500] hdev c33cc000 tty c390c800
    [   55.441406] hu c336ef80
    [   55.445312] hci0 c33cc000
    [   55.445312] hci0 c33cc000
    [   55.449218] hci0 start
    [   55.453125] hci0 0
    [   55.453125] hci0 opcode 0x1003 plen 0
    [   55.457031] skb len 3
    [   55.460937] hci0 opcode 0x1001 plen 0
    [   55.464843] skb len 3
    [   55.464843] hci0 opcode 0x1009 plen 0
    [   55.468750] skb len 3
    [   55.472656] length 3
    [   55.472656] hci0 cmd_cnt 1 cmd queued 3
    [   55.476562] hci0 type 1 len 3
    [   55.480468] hdev c33cc000 len 3
    [   55.484375] hci0: type 1 len 3
    [   55.488281] hu c336ef80 skb c338f020
    [   55.488281] device awake, sending normally
    [   55.496093] 
    [   55.496093] 
    [   55.496093] hdev c33cc000
    [   55.500000] hdev c33cc000 tty c390c800
    [   55.503906] hu c336ef80
    [   55.507812] hci0 orig refcnt 6
    Initialization t[   55.511718] tty c390c800
    i[   55.511718] hdev c33cc000
    me[   55.515625] c33cc000 name hci0 bus 3
    d o[   55.519531] hci0 c33cc000
    [   55.523437] hci0 err 0x13
    
    [   55.523437] hdev hci0 event 2
    [   55.527343] hdev   (null) len 8
    [   55.531250] hci0 orig refcnt 5
    [   55.539062] length 0
    [   55.539062] All LE connection parameters were removed
    [   55.554687] hci0 orig refcnt 2
    [   55.554687] hu c336ef80
    [   55.562500] sock c3537540 sk c33b6000
    

    Could you answer please how is possible to fix this case? Does anyone got the CC2564B module running with the blueZ in classic and LE modes?

    I attached the result debug files. lgr file renamed again into doc

    Best regards,

    Sergey

  • Hi Sergey,

    Please confirm the status of the issue after removing the extra "0xFD0C" command from the bts file.

    Regards,
    Gigi Joseph.
  • Hi Gigi,


    You did not receive my email? Here is the last one:

    "

    Von: Velykokhatko, Sergey
    Gesendet: Montag, 18. Mai 2015 08:50
    An: 'Gigi, Joseph'
    Cc: Gold, Martin; Alberts, John
    Betreff: AW: Bluetooth® CC256x Forum: CC2564MODNEM not running with BlueZ 5.27

    Hi Gigi,

    Only preliminary results: with the script (where you commented out that „deep sleep“ HCI command) the basic things seems to be ok. For test I removed all my changes in kernel and in hciatach. And I got:
    •    hciattach runned without that error messages from the kernel side (see forum messages)
    •    I put module in piscan (BT classic) mode and my latptop found it
    •    I put my laptop in piscan mode and module sees it
    •    I put modul in LEADV (BT low-energy) mode and Smartphone sees it

    As I see the low level things seems to be ok. For further tests I need to develop some application code but it will take awhile

    Best regards,
    Sergey
    "

    Next days I should get the pulsoximeter with BT connection. Pulsoximeters uses SPP and HDP. But the implementation of connection with it will take a time since the task not on high prio.

    Best Regards,

    Sergey

  • Hi Sergey,

    Thanks for the update, I will mark this as closed.

    Regards,
    Gigi Joseph.
  • Hello Joseph,

    Can I also ask You to provide me CC2564B_BT_4.0_SP + CC2564B_BLE_Add-On (or maybe CC2564B_BT_4.1_SP + CC2564B_BLE_Add-On) in one file? I don't want to change hciattach right now, but I assume I need to send both of these scripts to properly initialize my module.

    I don't know why those files are separate when not-modified hciattach from Bluez sends only one file :/

    I am using CC2564MODNEM so I think it is CC2564B.

    Best,

    Wojtek

  • Hi Sergey,

    it seems, that i have the same issue, you solved. Would it be possible, that you provide the working bts file? I'm not sure how to properly merge the two files.

    Thanks in advance,
    Alexander
  • Hi Gigi,

    This is already not first such message that I got last time via community communication channels. But I never sent that bts file since "subscribed" something for TI when we started to exchange detailed debugging information.

    Will you do something to fix this problem propertly?

    Best regards,
    Sergey
  • Hi,

    at least i was able to understand the file structure of bts files and copied the BLE part in the first "addon section" of the BR/EDR bts file after setting the baudrate. hciattach was then able to initialize the device. scanning, paging and advertising seems to be working. But i'm not sure if it is really properly started. For my understanding, the BLE part is inizialised before BR/EDR is patched. Haven't tried to paste it also in the second addon section, because it seems to work without.

    Best regards,
    Alexander
  • Hi Alexander,


    Please find attached the modified bts file.

    3365.TIInit_6.7.16.bts

    Regards,
    Gigi Joseph.

  • Hello!

    I am using the bts file (3365.TIInit_6.7.16.bts) from last message under Raspbian Wheezy. Now I am trying to use CC2564B chip over uart on newest Raspbian Jessie with latest service pack v.1.5.

    How can I merge theese three files to one bts file (TIInit_6.7.16.bts) to work with hciattach and BlueZ?

    - initscripts-TIInit_6.7.16_bt_spec_4.1.bts
    - initscripts-TIInit_6.7.16_ble_add-on.bts
    - initscripts-TIInit_6.7.16_avpr_add-on.bts

    I will be grateful if you can send me this information.

    Best regards
    Tino