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.

How to make CC2564B discoverable for other devices?

Other Parts Discussed in Thread: CC2564

Hi all,

I am using the CC256x QFN EM board. I got it up and running by applying the correct power-up sequence as described in the CC256x Testing Guide (no fast clock). I can send commands via UART to the device and can see valid responses in the logger tool, so the device is functioning correctly.

One vital piece I can't discover is how to make the CC2564B visible for other devices. I searched for HCI commands in the Bluetooth 4.1 core specification and also in the TI wiki CC256x VS HCI Commands.

Can anyone tell me how to make the CC2564B visible for other devices by sending commands via UART?

Thanks for the help.

  • Hi,

    Did you apply the below patch  http://processors.wiki.ti.com/index.php/TIVA_Bluetopia_Basic_Demo_APPS#CC256XB_Information

    By default discoverable mode is on, and you should be able to discover it.

  • Hi, thanks for your reply.

    I did not apply any patch, because I am not using any C code at all at this moment. I am communicating with the CC256x QFN EM board through UART (using RealTerm) by sending HCI commands like, for example: 0x01 0x09 0x10 0x00 (HCI_READ_BD_ADDR). This works correct. I use the TX_DEBUG port in conjunction with the logger tool to view the details of the UART communication.

    The device is unfortunately not visible. If you can point me in the correct direction what command I can use to change the discoverable mode, that would be very welcome.

  • Hi,

    Please see the Bluetooth specification for the HCI commands (HCI_Write_Scan_Enable)

  • Thanks.

    I tried that command, but with no success. In the logger tool I see the CC2564B is doing both page scan and inquiry scan, but my mobile phone does not detect any Bluetooth device.

    I send the following data: 0x01 0x1A 0x0C 0x01 0x03

    01 - Packet type            = Command
    1A - Command LSB            = 1A ) OpCode 0C1A (= HCI_Write_Scan_Enable)
    0C - Command MSB            = 0C )
    01 - Total parameter length = 1
    03 - Scan enable            = Inquiry Scan enabled + Page Scan enabled
    

  • When looking at the logger when I search for Bluetooth devices with my mobile phone, I notice a slight difference in the logger output.

    Normal logger output:

    lm_lc_start_inquiry_scan
    LC_PICONIZER - allocated network clock 1
    synch event REG received, module INQUIRY SCAN, msi 1
    synch cmd start instance, module INQUIRY SCAN, msi: 1
    LC Inquiry Scan - Start, LAP=0x9e8b33, Window=9 frames
    synch cmd return event STARTED,module INQUIRY SCAN
    synch event FINISH received, module INQUIRY SCAN, msi 1

    Logger output when searching for Bluetooth devices:

    lm_lc_start_inquiry_scan
    LC_PICONIZER - allocated network clock 1
    synch event REG received, module INQUIRY SCAN, msi 1
    synch cmd start instance, module INQUIRY SCAN, msi: 1
    LC Inquiry Scan - Start, LAP=0x9e8b33, Window=9 frames
    synch cmd return event STARTED,module INQUIRY SCAN
    synch event FINISH received, module INQUIRY SCAN, msi 1
    lm_lc_gemini_coex_notify_scan_status

    Almost the same except for the last line: lm_lc_gemini_coex_notify_scan_status

    It looks like something is happening, but what does that extra line mean?

  • Hi,

    What is the service pack you have downloaded?

  • Hi Sundeep,

    I did not use any service pack. When looking at the information about the service packs, I don't see any fixes related to the visibility of the device.

    To follow your advice, I uploaded the latest service pack to the CC2564B to see if it makes any difference and it does not unfortunately. This is what the logger tool tells me about the uploading of the firmware:

    Transport detection: UART detected
    first byte recevied 1
    Disable FLIGHT MODE - Enable TX calibration
    Uart Active Protocol: H4 PROTOCOL
    0x00001562
    0x00001562
    hcic_process_hci_commands: HCIPP_START_VS_LOCK (Group 3f Opcode 0x237)
    Version matched OK.
    hcic_get_num_of_host_commands. Total free = 3, Reported to host = 1
    HCI Send Event: HCI_COMMAND_COMPLETE_EVT

    The hardware evaluation tool tells me something different and says there is a timeout:

    Opening Port Chooser...Port Name: COM8

    Controller Baud Rate: 115200

    Selected Serial Port:COM8...Serial Connecting...Connected to COM8.

    Processing BTS file...
    Finished Processing BTS file

    Processing BTS file...
    Sent: 0x01, 0x37, 0xFE, 0x02, 0x07, 0x10, 

    COM port timed out.

    After uploading the firmware I tested again and the result is exactly the same as before.

    I've got 2 questions about this:

    1. The text Version matched OK in the logger tool means I am already using the latest service pack or is it simply a check to see if the new firmware is uploaded correctly?

    2. I read I have to do upload the service pack after every power cycle: They must be loaded into the corresponding CC256x device after every power cycle. Is this really necessary, because that would not be very practicable.

    Edit: I used service pack bluetooth_init_cc2564B_1.0_BT_Spec_4.1.bts

  • Hi,

    A service pack is required to initialize the CC256x chip(this must be done before any BT operations).

    From what you have pasted, I see you are getting "COM port timed out." while downloading the service pack and it was not successful.

    The COM port timed out, Can be because of the below reason.

    1. The configuration of the PINS is not correct.
    3. Did not follow the power-up sequence properly http://processors.wiki.ti.com/index.php/CC256x_Testing_Guide
    3. Wrong service pack?
    4. Sleep mode not being disabled(Mind that while downloading the SP, using the BHET tool you need to disable sleep).
    5. Module is defective.

    It is required to download the service pack every time you power cycle the CC256x

  • Hi,

    Thanks for your help. I checked the points you mentioned:

    1. PIN configuration is correct, because I can send commands and receive events using that same UART with RealTerm
    2. I followed the power-up sequence correctly and confirmed this via the Logger Tool and by watching HCI_RTS go low on the scope.
    3. I downloaded it directly form the TI website (http://processors.wiki.ti.com/index.php/CC256x_Downloads) and tried bluetooth_init_cc2564B_1.0_BT_Spec_4.1.bts
    and bluetooth_init_cc2564B_1.0_BT_Spec_4.0.bts. Both result in a COM timeout.
    4. I set sleep mode to disabled with the service packs in point 3
    5. Is possible, but everything else is working perfectly. I can send commands, receive command and see the module reacting on the commands via the logger tool.

    The only thing I noticed is that the TX port does not return any data to RealTerm via UART when the TX_DEBUG port is connected to the logger tool.

  • The default software loaded in the CC2564B has the following version numbers:

    Software version - 7.0.16
    Package ID: P0.16

    I tested this with HCI_VS_Get_System_Status (0x01 0x1F 0xFE 0x00). Is there any reference guide where I can find which service packs are integrated by default based on this version number and package id?

  • Hi,

    How are you downloading the SP? using BHET (Bluetooth hardware evaluation tool)? 

    lets say if you are downloading using BlueZ (hciattach_ti.c). The name of the file should be like be like "TIInit_6.7.16.bts".

    Please also provide me the logger logs from bootup.

  • Hi,

    Downloading? You mean uploading? I am sending the SP to the device, not receiving a SP from the device, or do we mean the same thing?

    I am using BHET to load the SP and use bluetooth_init_cc2564B_1.0_BT_Spec_4.1.bts. It is in CC2564B SP from the downloads page: http://processors.wiki.ti.com/images/7/7b/CC2564B_BT_BLE_SP_BTS.zip

    What I did:

    - disable sleep mode
    - save the file as bluetooth_init_cc2564B_1.0_BT_Spec_4.1_sleep_mode_disabled.bts
    - press the BROWSE button and select the file bluetooth_init_cc2564B_1.0_BT_Spec_4.1_sleep_mode_disabled.bts
    - press the SEND button

    Do I understand correctly I need to rename the file to something else to make it work?

    The logger log from bootup:

    1 11:40:23.906 +0:00:00.000 uart_hci parameters: UartDIV=3, OS=23, SP=0, MoB=10
    2 11:40:23.906 +0:00:00.000 temperature sensing: temp 24, read 0x23, vbe 0x299597d, slope 0x1ebf9
    3 11:40:23.906 +0:00:00.000 Temperature region = 6
    4 11:40:23.906 +0:00:00.000 In lc_rf_init_periodic_calibration
    5 11:40:23.906 +0:00:00.000 synch event REG received, module RF_CALIBRATION, msi 0
    6 11:40:23.906 +0:00:00.000 synch cmd start instance, module RF_CALIBRATION, msi: 0
    7 11:40:23.906 +0:00:00.000 synch cmd return event STARTED,module RF_CALIBRATION
    8 11:40:23.906 +0:00:00.000 ORCA Platform
    9 11:40:23.906 +0:00:00.000 Process type: Nominal
    10 11:40:23.906 +0:00:00.000 Chip revision: 6
    11 11:40:23.906 +0:00:00.000 Detected Clock = 26000000 Hz
    12 11:40:23.906 +0:00:00.000 Ref Clock = 26000000 Hz
    13 11:40:23.906 +0:00:00.000 XTAL wakeup mode is disabled
    14 11:40:23.906 +0:00:00.000 Ref Clock is valid for PLL
    15 11:40:23.906 +0:00:00.000 PLL Clock Output is OK
    16 11:40:23.906 +0:00:00.000 PLL Clock Out = 40000000 Hz
    17 11:40:23.906 +0:00:00.000 Clock Working mode: PLL Mode
    18 11:40:23.906 +0:00:00.000 ARM Clock = 40000000 Hz, Slow Clock: External
    19 11:40:23.906 +0:00:00.000 OCP Clock = 8000000 Hz
    20 11:40:23.906 +0:00:00.000 UART HCI baudrate = 115200
    21 11:40:23.906 +0:00:00.000 Gemini type Soft Gemini
    22 11:40:23.906 +0:00:00.000 lm_lc_get_local_features
    23 11:40:23.906 +0:00:00.000 lm_lc_set_brcst_retran
    24 11:40:23.906 +0:00:00.000 lm_lc_self_test_run_init_tests
    25 11:40:23.906 +0:00:00.000 Self Test passed
    26 11:40:23.906 +0:00:00.000 I2C doesn't exist !
    27 11:40:23.906 +0:00:00.000 lm_lc_get_local_bd_addr
    28 11:40:23.906 +0:00:00.000 Software version - 7.0.16
    29 11:40:23.906 +0:00:00.000 Deactivating timer: init
    30 11:40:23.906 +0:00:00.000 lm_lc_rf_periodic_calibration
    31 11:40:23.906 +0:00:00.000 Calibration started. Vector=0x1, 0x0
    32 11:40:23.906 +0:00:00.000 PHY FW Version 3.27
    33 11:40:23.906 +0:00:00.000 random 0xfb9a 0xa04
    34 11:40:23.906 +0:00:00.000 random 0xd037 0x50
    35 11:40:23.906 +0:00:00.000 random 0xcf0a 0xd0e7
    36 11:40:23.906 +0:00:00.000 random 0xc5e5 0x24b7
    37 11:40:23.906 +0:00:00.000 random 0x19bb 0x55dd
    38 11:40:23.906 +0:00:00.000 lm_lc_generate_rand
    39 11:40:23.906 +0:00:00.000 lm_lc_generate_rand
    40 11:40:23.906 +0:00:00.000 synch event FINISH received, module RF_CALIBRATION, msi 0
    41 11:40:23.906 +0:00:00.000 lm_lc_generate_rand
    42 11:40:23.906 +0:00:00.000 lm_lc_generate_rand

    Edit: The TI wiki seems to be in some kind of debug mode, because I can watch the database query log, debug log, PHP includes, memory usage, PHP version, the exact path number of MediaWiki you are using and so on.

  • Hi,

    I meant writing to the Chip when I said downloading.

    from the logs provided I don't even see one command is been set to the chip. only thing i see is GPIO is toggled.

    How are you connection the module to the PC? are you having any Host processor that is connected to your PC?

    also see http://processors.wiki.ti.com/index.php/CC256x_Bluetooth_Hardware_Evaluation_Tool#Setup.C2.A0Configuration

     

  • Hi,

    Okay, we meant the same thing.

    The log I posted is only what happens if I power up the device and follow the power up sequence as described in the wiki: http://processors.wiki.ti.com/index.php/CC256x_Testing_Guide#Required_Voltage_Rail_and_Signal_Sequence. Just to be clear: the log I posted is without loading any SP.

    A few posts above I posted what the logger tool says when I try to load a SP to the deivce, but I ran it again for the full picture. This is what happens if I power up and try to load the SP:

    1 14:48:14.671 +0:00:00.000 uart_hci parameters: UartDIV=3, OS=23, SP=0, MoB=10
    2 14:48:14.687 +0:00:00.016 temperature sensing: temp 24, read 0x23, vbe 0x299597d, slope 0x1ebf9
    3 14:48:14.687 +0:00:00.016 Temperature region = 6
    4 14:48:14.687 +0:00:00.016 In lc_rf_init_periodic_calibration
    5 14:48:14.687 +0:00:00.016 synch event REG received, module RF_CALIBRATION, msi 0
    6 14:48:14.687 +0:00:00.016 synch cmd start instance, module RF_CALIBRATION, msi: 0
    7 14:48:14.718 +0:00:00.047 synch cmd return event STARTED,module RF_CALIBRATION
    8 14:48:14.718 +0:00:00.047 ORCA Platform
    9 14:48:14.718 +0:00:00.047 Process type: Nominal
    10 14:48:14.750 +0:00:00.079 Chip revision: 6
    11 14:48:14.750 +0:00:00.079 Detected Clock = 26000000 Hz
    12 14:48:14.750 +0:00:00.079 Ref Clock = 26000000 Hz
    13 14:48:14.765 +0:00:00.094 XTAL wakeup mode is disabled
    14 14:48:14.765 +0:00:00.094 Ref Clock is valid for PLL
    15 14:48:14.765 +0:00:00.094 PLL Clock Output is OK
    16 14:48:14.781 +0:00:00.110 PLL Clock Out = 40000000 Hz
    17 14:48:14.781 +0:00:00.110 Clock Working mode: PLL Mode
    18 14:48:14.781 +0:00:00.110 ARM Clock = 40000000 Hz, Slow Clock: External
    19 14:48:14.812 +0:00:00.141 OCP Clock = 8000000 Hz
    20 14:48:14.812 +0:00:00.141 UART HCI baudrate = 115200
    21 14:48:14.812 +0:00:00.141 Gemini type Soft Gemini
    22 14:48:14.812 +0:00:00.141 lm_lc_get_local_features
    23 14:48:14.812 +0:00:00.141 lm_lc_set_brcst_retran
    24 14:48:14.812 +0:00:00.141 lm_lc_self_test_run_init_tests
    25 14:48:14.843 +0:00:00.172 Self Test passed
    26 14:48:14.843 +0:00:00.172 I2C doesn't exist !
    27 14:48:14.843 +0:00:00.172 lm_lc_get_local_bd_addr
    28 14:48:14.875 +0:00:00.204 Software version - 7.0.16
    29 14:48:14.875 +0:00:00.204 Deactivating timer: init
    30 14:48:14.875 +0:00:00.204 lm_lc_rf_periodic_calibration
    31 14:48:14.875 +0:00:00.204 Calibration started. Vector=0x1, 0x0
    32 14:48:14.875 +0:00:00.204 PHY FW Version 3.27
    33 14:48:14.875 +0:00:00.204 random 0x20cc 0xa278
    34 14:48:14.890 +0:00:00.219 random 0xe35d 0xb2b6
    35 14:48:14.890 +0:00:00.219 random 0x6d00 0x2029
    36 14:48:14.890 +0:00:00.219 random 0x6457 0x726f
    37 14:48:14.906 +0:00:00.235 random 0x365d 0x5855
    38 14:48:14.906 +0:00:00.235 lm_lc_generate_rand
    39 14:48:14.906 +0:00:00.235 lm_lc_generate_rand
    40 14:48:14.937 +0:00:00.266 synch event FINISH received, module RF_CALIBRATION, msi 0
    41 14:48:14.937 +0:00:00.266 lm_lc_generate_rand
    42 14:48:14.937 +0:00:00.266 lm_lc_generate_rand
    43 14:49:02.640 +0:00:47.969 Transport detection: UART detected
    44 14:49:02.640 +0:00:47.969 first byte recevied 1
    45 14:49:02.687 +0:00:48.016 Disable FLIGHT MODE - Enable TX calibration
    46 14:49:02.734 +0:00:48.063 Uart Active Protocol: H4 PROTOCOL
    47 14:49:02.828 +0:00:48.157 0x00009618 0x00009618 HCI_VS_Start_VS_Lock ---->
    48 14:49:02.859 +0:00:48.188 0x00009618 0x00009618 <---- HCI_Command_Complete_VS_Start_VS_Lock_Event
    49 14:49:02.953 +0:00:48.282 hcic_process_hci_commands: HCIPP_START_VS_LOCK (Group 3f Opcode 0x237)
    50 14:49:03.000 +0:00:48.329 Version matched OK.
    51 14:49:03.031 +0:00:48.360 hcic_get_num_of_host_commands. Total free = 3, Reported to host = 1
    52 14:49:03.078 +0:00:48.407 HCI Send Event: HCI_COMMAND_COMPLETE_EVT

    The module is connected via USB using Raspberry Pi Cable, TTL-232R-RPI (http://www.ftdichip.com/Products/Cables/RPi.htm).

    My setup:

    RF2 connector:

    - Pin 2 (GND) of the RF2 connector is connected to ground
    - Pin 7 and pin 9 (VBAT_MCU) of the RF2 connector are connected to power (3V3)
    - Pin 19 of the RF2 connector is connected to the nSHUTD signal provided by an LPC1768

    RF1 connector:

    - Pin 1 (GND) of the RF1 connector is connected to the black wire (= GND) of the USB cable
    - Pin 5 (SLOW_CLK_EXT_3V3) of the RF1 connector is connected to 32.768 kHz signal provided by an LPC1768 using PWM. This is done because the CC256x QFN EM board is not supplied with a crystal to generate the slow clock (no idea why it is the only part missing).
    - Pin 7 (HCI_RX_3V3) of the RF1 connector is connected to the orange wire (= TXD) of the USB cable
    - Pin 9 (HCI_TX_3V3) of the RF1 connector is connected to the yellow wire (= RXD) of the USB cable

    DEBUG_HDR:

    - Pin 15 (TX_DEBUG_1V8) is connected to the yellow wire (= TXD) of the second USB cable
    - Pin 18 (GND) is connected to the black wire (= GND) of the second USB cable

  • Hi,

    If what you have posted is all you see, then I don't see any reason why it is stopping in between. 

    Did you reset the board before starting the SP download?

    Could you also please clarify that the TTL-232R-RPI  can have any voltage input (3.3V or 1.8V)?

    Please do not copy past the logs in the forum, you can save it as ".lgr" file attach it while posting.

  • Hi,

    The reason why it is stopping is because I have to turn on the power supply to activate the module. Next I have to click on a few buttons in BEHT to start loading the SP. That's why there is no action until +0:00:47.969.

    Is there a special way to reset the board? The schematics of the board do not show any reset options. The only way to reset the board is to disconnect the power supply.

    The TTL-232R-RPI works at TTL level (3V3). It can not handle any voltage input and requires a minimum of 2.2V for Output Voltage High. Theoretically I should not be getting any data from TX_DEBUG, but it works fine anyway.

    Regarding the logs, I did not see any upload possibility, but will look for it next time.

  • Hi,

    Could you please source the fast and slow clock externally and try?

  • Hi Sundeep,

    Sorry for the late response, was quite busy trying to fix the CC2564B.

    The slow clock is already coming from an external source, the microcontroller (see my post from Nov 4 2014 08:30). The fast clock is built on the CC256x QFN EM board. In the schematics of the CC256x QFN EM board you can see parts C22, C23 and Y1 connected to the FREFP and FREFM pins. These parts provide the 26 MHz signal. Do I understand correctly you mean I have to disconnect the already attached fast clock, rebuild the board and try to solder an external 26 MHz signal to the board?

    What I have done:
    I replaced the slow clock coming from the microcontroller with the missing oscillator (OSC1) of 32.768 kHz with the correct frequency and an accuracy of 20 ppm. Unfortunately that did not work at all and only caused problems and constant frame errors from the TX_DBG port. So I disconnected the oscillator again and reconnected the clock signal coming from the microcontroller and the frame errors are gone again.

    I tested some commands via UART and tested the other way around, I performed HCI_Inquiry and let the CC2564B scan for other devices. That works perfectly. I can see 2 mobile phones, see the BD_ADDR of both devices and can even perform HCI_Read_Remote_Name and get the name of the device. I think that proves the module is working exactly as it should? The only thing that is still not possible is to make the device discoverable for other devices.

    Regarding the slow clock:
    What is the reason that piece of the schematic is missing at all? The slow clock is mandatory for the CC2564B but is the only part missing on the CC256x QFN EM board. I can understand if you leave out R26 and effectly disconnect the oscillator, there is room enough to solder that component. The oscillator itself is an SMD component with only connections on the bottom side of the component and has so little space it is merely impossible to solder it in place. I hope you will reconsider the design of the CC256x QFN EM board and put the oscillator on it by default. It will be a great help to your customers.

  • Hi,

    If I understand correctly. You were able to download the SP, and scan for the devices, Right?

    If yes, now you can enable the scan using the HCi command. just to make sue that it is not RF problem, Keep the devices near by while discovering.

    NOTE: Please use bluetooth_init_cc256XB_1.0_BT_Spec_4.0.bts for QFN

  • Hi,

    I did not download any SP. I just powered up the device and performed the scan with HCI_Inquiry:

    Packet type (command)    = 0x01
    OpCode (LSB)             = 0x01
    OpCode (MSB)             = 0x04
    Parameter length         = 0x05
    LAP (3 octets)           = 0x9E8B33
    Inquiry_Length (1 octet) = 0x30 (61.4 sec)
    Num_Responses  (1 octet) = 0x03 (max. 3 responses)

    This results in the following packet:

    0x01 0x01 0x04 0x05 0x33 0x8B 0x9E 0x30 0x03

    The LAP value I used was incorrect at first (0x9E8B3F). The official bluetooth specification mentions LAP can be 0x9E8B00 – 0x9E8B3F and links to a members only area for details. With a bit of searching the following publicly accessible page came up: https://www.bluetooth.org/en-us/specification/assigned-numbers/baseband

    This page mentions:

    0x9E8B33 General/Unlimited Inquiry Access Code (GIAC)

    The value 0x9E8B3F seems to be for future use...

    Using 0x9E8B33 instead of  0x9E8B3F fixed the issue regarding finding other devices with the CC2564B. I put it here in more detail, because perhaps it helps other with a similar issue.

    There were also some RF problems due to a wireless mouse transmitting between 119 - 135 kHz and possibly another wireless mouse transmitting at 2.4 GHz.

    I tested HCI_Write_Scan_Enable again using 0x01 0x1A 0x0C 0x01 0x03 (= inquiry scan + page scan)  but still can not see the CC2564B. I only see 1 extra line appearing, the same as in this previous post of Oct 30 2014 10:35 AM (lm_lc_gemini_coex_notify_scan_status). My phone is located just 1 or 2 centimeters from the CC256x QFN EM board.

    Thanks for the help so far.

  • Hi,

    Loading any SP still does not work, I still get the COM port timeout.

    Perhaps you can give me detailed description about the exact meaning of this line: lm_lc_gemini_coex_notify_scan_status

    I can only find this is a Texas Instrument feature: http://processors.wiki.ti.com/index.php/WL127x_Bluetooth-WLAN_Coexistence_AppNote

    The SoftGemini 3.0 (SG 3.0) algorithm runs on a WLAN-embedded processor, enabling WLAN and Bluetooth (BT) technologies to coexist in a single product.

    The exact meaning of the line lm_lc_gemini_coex_notify_scan_status will probably clear things up.

  • Hi,

    CC256x does not have WLAN.

    Now, Service pack download must be done before any BT operations such as InquiryPage or connections. see http://processors.wiki.ti.com/index.php/CC256x_Testing_Guide#Device_Initialization_Procedure

    What is the host processor you are using? and what about the fast clock?

  • Hi,

    I know CC256x does not have WLAN, but that was not my question. I get the message lm_lc_gemini_coex_notify_scan_status and need a clear explanation of what that message exactly means. If you know the answer to that question can you please provide the answer. If not, can you check internally what the exact meaning of lm_lc_gemini_coex_notify_scan_status is? That would be very helpful.

    Regarding the info you ask:

    - Service pack: I mentioned a few times already I get a COM timeout (see Nov 03 2014 05:04 AM, Nov 04 2014 08:30 AM and my previous post Nov 13 2014 06:32 AM)
    - Host processor: LPC1768 (see Nov 04 2014 08:30 AM)
    - Fast clock: Is already part of your product, the CC256x QFN EM board (see Nov 11 2014 14:39 PM)

    All operations of the CC2564B work as expected (see 2 posts earlier), only HCI_Write_Scan_Enable does not seem to work.

    I truly appreciate your help, but I find it difficult having to answer the same questions over and over again. If anything changes about the 3 above things (COM timeout/host processor/fast clock) I will let you know, okay?

  • Hi,

    Yes I know I was asking the same questions. But I have also mentioned that you need to download the Service Pack (SP) Before running any Bluetooth operations (see the post on  Nov 03 2014 05:21 AM).

    I know you are getting com port timeout, and I have mentioned the reasons for the that as well.

    I think the com port timeout problem should be solved and after that you need to download SP. 

    What ever you do without downloading SP, will not help. Service pack is mandatory initialization scripts that contain platform specific configurations of CC256x.

  • Hi,

    Thanks for your reply. If the service pack is mandatory shouldn't the module do nothing at all? In my case the module is accepting every command and can even find nearby bluetooth devices. Can you explain in more technical detail what the service pack does and why everything else is working fine?

    I already checked all the points you mentioned regarding the com port timeout, but still got no progress on that. Just to check if I understand correctly: the CC2564B is a useless device untill I can load a SP?

    Could you please answer 2 questions for me while I try to make loading the SP work:

    1) What does lm_lc_gemini_coex_notify_scan_status exactly mean?

    2) What is my current service pack when you look at the software version (7.0.16) already in the device (see also Nov 03 2014 07:14 AM)?

  • Hi,

    It should work if you are connecting to the correct com port and using the correct baud rate (also try different baud rates).

    Hope your MCU transparent code is correct?. Did you reset your device before download of  the service pack has started to the board? and have you tried downloading it from the stack you are using 

    Service pack implements LMP. It is internal to TI.

    I not sure what is lm_lc_gemini_coex_notify_scan_status, I can check it internally. But it will be not important.

    SP version will be Chip version + Software version so it should be 6.7.16. You can read local version information even before downloading the SP.

  • Hi,

    thank you for your reply,

    -I'm sure that the com port is correct, and i have tried different baud rates.

    -If reset put power on the device, if have reset it.

    The version of my device is 7.0.16


    I'm still trying to upload te service pack with the "CC2564x Bluetooth Hardware Evalutation Tool".

    I load "bluetooth_init_cc2564B_1.0_BT_Spec_4.1_sleep_mode_disabled.bts", into the Bluetooth module.

    Today it almost load the entire packed, but on the last command it still said "comport timed out".

    2100.output_BHET.txt
    Opening Port Chooser...Port Name: COM21
    
    Controller Baud Rate: 115200
    
    Selected Serial Port:COM21...Serial Connecting...Connected to COM21.
    
    Processing BTS file...
    Finished Processing BTS file
    Selected CrystalModeCombo: ENABLE
    
    
    Selected Sleep Mode: ENABLE
    
    Baud Rate Selected:115200Selected CrystalModeCombo: DISABLE
    
    Selected CrystalModeCombo: ENABLE
    
    
    Selected Sleep Mode: ENABLE
    Processing BTS file...
    Sent: 0x01, 0x37, 0xFE, 0x02, 0x07, 0x10, 
    
    COM port timed out.
    
    
    Selected Sleep Mode: DISABLESelected CrystalModeCombo: ENABLE
    
    
    Baud Rate Selected:115200
    Processing BTS file...
    Sent: 0x01, 0x37, 0xFE, 0x02, 0x07, 0x10, 
    
    Returned: 0xFF, 0x47, 0xFF, 0xFA, 0x1B, 0xA5, 0x33, 0xE6, 0x70, 0x26, 0x26, 0x45, 0x2D, 0x55, 0x62, 0x22, 0x80, 0x24, 0xC5, 0x22, 0x00, 0x02, 0x02, 0x24, 0x02, 0x44, 0x44, 0x00, 0x08, 0x01, 0x34, 0x09, 0x04, 0x01, 0x00, 0x4C, 0x40, 0x00, 0x2C, 0x62, 0x00, 0x88, 0xA0, 0x08, 0x20, 0x00, 0x24, 0x44, 0x00, 0x00, 0x00, 0x92, 0x00, 0x00, 0x00, 0x00, 0x80, 0x40, 0x00, 0x02, 0x40, 0x00, 0x00, 0x22, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x20, 0x40, 0x40, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x90, 0x02, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x24, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x80, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x40, 0x00, 0x00, 0x20, 0x09, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
    
    Unsuccessful: Invalid return parameter
    
    Sent: 0x01, 0x05, 0xFF, 0xFF, 0xD0, 0x62, 0x08, 0x00, 0xFA, 0x07, 0x10, 0x47, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xB5, 0x88, 0xB0, 0x02, 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, 0x39, 0x4A, 0xFE, 0x44, 0x10, 0x47, 0x00, 0x29, 0x01, 0xD1, 0x02, 0x20, 0x07, 0xE0, 0xE5, 0x19, 0x29, 0x88, 0x08, 0x20, 0xB6, 0x46, 0x34, 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, 0x26, 0x4A, 0xFE, 0x44, 0x10, 0x47, 0x03, 0x90, 0x61, 0x08, 0x40, 0x18, 0x01, 0x30, 0x80, 0x01, 0x80, 0x09, 0x04, 0x90, 0x22, 0x48, 0x05, 0x90, 0x00, 0x26, 0x05, 0x9D, 0xA8, 0x7B, 0x00, 0x28, 0x2D, 0xD0, 0x28, 0x7C, 0x39, 0x78, 0x81, 0x42, 0x29, 0xD1, 0x1D, 0x48, 0x00, 0x2E, 0x00, 0xD0, 0x14, 0x30, 0x00, 0x68, 0x80, 0x06, 0x80, 0x0E, 0x03, 0x99, 0x08, 0x18, 0x80, 0x01, 0x80, 0x09, 0x06, 0x90, 0x04, 0x99, 0x01, 0x22, 0x96, 0x46, 0x17, 0x4A, 0xFE, 0x44, 0x10, 0x47, 0x07, 0x90, 0x2D, 0x7B, 0x29, 0x1C, 0x01, 0x22, 0x96, 0x46, 0x14, 0x4A, 0xFE, 0x44, 0x10, 0x47, 0x02, 0x28, 0x0D, 0xDA, 0x2C, 0x19, 0x06, 0x98, 0x00, 0x90, 0x07, 0x98, 0x01, 0x90, 0x03, 0x20, 0x0F, 0x49, 0x04, 0x9A, 0x23, 0x1C, 
    
    Returned: 0x04, 0x0E, 0x04, 0x01, 0x37, 0xFE, 0x00, 
    
    Sent: 0x01, 0x05, 0xFF, 0xFF, 0xCA, 0x63, 0x08, 0x00, 0xFA, 0x01, 0x25, 0xAE, 0x46, 0x0E, 0x4D, 0xFE, 0x44, 0x28, 0x47, 0x05, 0x98, 0x28, 0x30, 0x05, 0x90, 0x01, 0x36, 0x02, 0x2E, 0xC7, 0xD3, 0x02, 0x98, 0x44, 0x60, 0x09, 0x48, 0x33, 0x30, 0x08, 0xB0, 0xF0, 0xBD, 0xAD, 0x45, 0x05, 0x00, 0x93, 0xE4, 0x04, 0x00, 0x38, 0x1D, 0x08, 0x00, 0x0C, 0x05, 0x1A, 0x00, 0x39, 0x7A, 0x04, 0x00, 0xAD, 0x45, 0x05, 0x00, 0x69, 0x07, 0x00, 0x00, 0x9B, 0x88, 0x04, 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, 0x37, 0x4D, 0xAE, 0x7F, 0x01, 0x24, 0xA6, 0x46, 0x33, 0x48, 0xFE, 0x44, 0x00, 0x47, 0xB0, 0x42, 0xF8, 0xD1, 0x03, 0x20, 0x17, 0x21, 0x89, 0x01, 0xA6, 0x46, 0x2F, 0x4A, 0xFE, 0x44, 0x10, 0x47, 0xAD, 0x7F, 0xA6, 0x46, 0x2C, 0x48, 0xFE, 0x44, 0x00, 0x47, 0xA8, 0x42, 0xF9, 0xD1, 0xFE, 0xE7, 0x30, 0xB5, 0x2B, 0x49, 0x08, 0x1F, 0x2B, 0x4A, 0x10, 0x60, 0x04, 0x23, 0x3C, 0x48, 0x03, 0x70, 0x34, 0x48, 0x02, 0x1C, 0x70, 0x3A, 0x21, 0x25, 0x01, 0x24, 0xAC, 0x54, 0x27, 0x4C, 0x0C, 0x60, 0x02, 0x24, 0x54, 0x71, 0x26, 0x4C, 0x4C, 0x60, 0x03, 0x24, 0x14, 0x70, 0x25, 0x4C, 0x8C, 0x60, 0x13, 0x71, 0x24, 0x4B, 0xCB, 0x60, 0x16, 0x23, 0x9B, 0x18, 0x05, 0x24, 0x1C, 0x70, 0x22, 0x4C, 0x0C, 0x61, 
    
    Returned: 0x04, 0x0E, 0x04, 0x01, 0x05, 0xFF, 0x00, 
    
    Sent: 0x01, 0x05, 0xFF, 0xFF, 0xC4, 0x64, 0x08, 0x00, 0xFA, 0x06, 0x24, 0xD4, 0x74, 0x21, 0x4C, 0x4C, 0x61, 0x07, 0x24, 0x94, 0x71, 0x20, 0x4C, 0x8C, 0x61, 0x08, 0x24, 0x9C, 0x77, 0x1F, 0x4B, 0xCB, 0x61, 0x09, 0x23, 0x93, 0x76, 0x1E, 0x4B, 0x0B, 0x62, 0x0A, 0x23, 0x13, 0x77, 0x1D, 0x4A, 0x4A, 0x62, 0x0B, 0x22, 0x02, 0x70, 0x1D, 0x4A, 0x8A, 0x62, 0x0C, 0x22, 0x42, 0x70, 0x1C, 0x4A, 0xCA, 0x62, 0x0D, 0x22, 0xC2, 0x73, 0x1B, 0x4A, 0x0A, 0x63, 0x01, 0x38, 0x0E, 0x22, 0x02, 0x70, 0x1A, 0x4A, 0x4A, 0x63, 0x0F, 0x22, 0x02, 0x71, 0x19, 0x48, 0x88, 0x63, 0x00, 0x20, 0x1A, 0x49, 0x08, 0x60, 0x19, 0x20, 0x40, 0x01, 0x16, 0x49, 0x08, 0x80, 0x30, 0xBD, 0xC0, 0x46, 0xC5, 0x83, 0x04, 0x00, 0x65, 0x88, 0x04, 0x00, 0x3C, 0x4E, 0x08, 0x00, 0x10, 0x64, 0x08, 0x00, 0x70, 0x52, 0x08, 0x00, 0x67, 0x6F, 0x08, 0x00, 0x71, 0x6F, 0x08, 0x00, 0x7B, 0x6F, 0x08, 0x00, 0x85, 0x6F, 0x08, 0x00, 0xA3, 0x6F, 0x08, 0x00, 0xAD, 0x6F, 0x08, 0x00, 0x8F, 0x6F, 0x08, 0x00, 0x99, 0x6F, 0x08, 0x00, 0x49, 0x6F, 0x08, 0x00, 0x3F, 0x6F, 0x08, 0x00, 0xE4, 0x52, 0x08, 0x00, 0x5D, 0x6F, 0x08, 0x00, 0x35, 0x6F, 0x08, 0x00, 0x2B, 0x6F, 0x08, 0x00, 0x21, 0x6F, 0x08, 0x00, 0x53, 0x6F, 0x08, 0x00, 0x98, 0x23, 0x08, 0x00, 0xF2, 0x4F, 0x08, 0x00, 0xD4, 0x62, 0x08, 0x00, 0xF7, 0x46, 0x30, 0xB5, 0x05, 0x1C, 0xBF, 0x4C, 0xA0, 0x78, 0x03, 0x28, 0x0F, 0xD1, 0x20, 0x88, 0x00, 0x28, 0x0C, 0xD1, 0xE8, 0x69, 0x02, 0x28, 0x09, 0xD1, 0x01, 0x20, 0x86, 0x46, 0xE1, 0x48, 0xFE, 0x44, 0x00, 0x47, 0x02, 0x20, 0xA0, 0x70, 0xDF, 0x48, 0xCA, 0x30, 0x28, 0x62, 0x30, 0xBD, 0xF0, 0xB5, 0x05, 0x1C, 0xAE, 0x69, 
    
    Returned: 0x04, 0x0E, 0x04, 0x01, 0x05, 0xFF, 0x00, 
    
    Sent: 0x01, 0x05, 0xFF, 0xFF, 0xBE, 0x65, 0x08, 0x00, 0xFA, 0xAF, 0x8A, 0xDC, 0x48, 0x87, 0x42, 0x15, 0xD1, 0x21, 0x20, 0x81, 0x5D, 0x00, 0x29, 0x11, 0xD0, 0xFF, 0x29, 0x0F, 0xD0, 0x30, 0x1C, 0x01, 0x24, 0xA6, 0x46, 0xD7, 0x4A, 0xFE, 0x44, 0x10, 0x47, 0x30, 0x1C, 0x39, 0x1C, 0x00, 0x22, 0xA6, 0x46, 0xD5, 0x4B, 0xFE, 0x44, 0x18, 0x47, 0xD4, 0x48, 0x9E, 0x30, 0x28, 0x62, 0xF0, 0xBD, 0x70, 0xB5, 0x85, 0x69, 0x00, 0x7D, 0x53, 0x21, 0x40, 0x1A, 0x0C, 0xD0, 0x28, 0x38, 0x21, 0xD1, 0x28, 0x78, 0x03, 0x28, 0x1E, 0xD1, 0x3B, 0x20, 0xC0, 0x43, 0x05, 0x21, 0x49, 0x57, 0x81, 0x42, 0x18, 0xDD, 0x68, 0x71, 0x70, 0xBD, 0x28, 0x78, 0x00, 0x28, 0x13, 0xD1, 0xDB, 0x4E, 0x30, 0x1C, 0x01, 0x24, 0xA6, 0x46, 0xDA, 0x49, 0xFE, 0x44, 0x08, 0x47, 0xA8, 0x70, 0xE8, 0x1C, 0x31, 0x1C, 0x0A, 0x22, 0xA6, 0x46, 0xD7, 0x4B, 0xFE, 0x44, 0x18, 0x47, 0x28, 0x1C, 0xA6, 0x46, 0xD6, 0x49, 0xFE, 0x44, 0x08, 0x47, 0x70, 0xBD, 0x30, 0xB5, 0x45, 0x69, 0x01, 0x7F, 0x00, 0x69, 0x01, 0x22, 0xFF, 0x23, 0x79, 0x33, 0x5B, 0x5D, 0x00, 0x2B, 0x04, 0xD0, 0xEC, 0x78, 0x00, 0x2C, 0x05, 0xD1, 0x00, 0x2B, 0x02, 0xD1, 0xEB, 0x78, 0x00, 0x2B, 0x00, 0xD0, 0x00, 0x22, 0x2B, 0x23, 0xC9, 0x1A, 0x26, 0xD0, 0x54, 0x39, 0x2B, 0xD1, 0xFF, 0x21, 0x7D, 0x31, 0x49, 0x5D, 0x0C, 0x23, 0xC9, 0x1A, 0x1E, 0xD0, 0x01, 0x39, 0x23, 0xD1, 0x01, 0x78, 0x28, 0x1C, 0x01, 0x24, 0xA6, 0x46, 0xE8, 0x4A, 0xFE, 0x44, 0x10, 0x47, 0x01, 0x1C, 0x1A, 0xD0, 0x08, 0x68, 0xA8, 0x42, 0x17, 0xD1, 0xE5, 0x48, 0x00, 0x78, 0x01, 0x28, 0x13, 0xD0, 0x08, 0x79, 0x00, 0x28, 0x10, 0xD0, 0xE9, 0x4D, 0x2C, 0x70, 0x4D, 0x20, 0xA6, 0x46, 
    
    Returned: 0x0E, 0x04, 0x01, 0x05, 0xFF, 0x00, 0x04, 0x0E, 0x04, 0x01, 0x05, 0xFF, 0x00, 
    
    Unsuccessful: Invalid return parameter
    
    Sent: 0x01, 0x05, 0xFF, 0xFF, 0xB8, 0x66, 0x08, 0x00, 0xFA, 0xE8, 0x4A, 0xFE, 0x44, 0x10, 0x47, 0x00, 0x20, 0x28, 0x70, 0x30, 0xBD, 0x01, 0x78, 0x28, 0x1C, 0x01, 0x23, 0x9E, 0x46, 0xE4, 0x4B, 0xFE, 0x44, 0x18, 0x47, 0x30, 0xBD, 0x70, 0xB5, 0x05, 0x1C, 0x2C, 0x69, 0xA2, 0x8E, 0x23, 0x8F, 0x93, 0x42, 0x32, 0xDD, 0xE0, 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, 0xE5, 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, 0x96, 0x46, 0xD8, 0x4A, 0xFE, 0x44, 0x10, 0x47, 0x02, 0x20, 0x30, 0x55, 0xD7, 0x49, 0x97, 0x20, 0xC0, 0x00, 0x40, 0x18, 0x28, 0x62, 0x70, 0xBD, 0x70, 0xB5, 0x02, 0x69, 0xD4, 0x8E, 0x15, 0x8F, 0xA5, 0x42, 0x19, 0xDD, 0xC8, 0x21, 0x8B, 0x5C, 0x40, 0x21, 0x19, 0x40, 0xDE, 0x11, 0xF6, 0x01, 0x31, 0x43, 0x11, 0xD1, 0x2C, 0x1B, 0xCD, 0x49, 0x09, 0x78, 0x09, 0x02, 0x8C, 0x42, 0x0B, 0xDD, 0x02, 0x2B, 0x09, 0xD1, 0xC7, 0x21, 0x89, 0x5C, 0x01, 0x29, 0x01, 0xD0, 0x03, 0x29, 0x03, 0xD1, 0xC9, 0x49, 0xC7, 0x4A, 0x51, 0x18, 0x01, 0x62, 0x70, 0xBD, 0x30, 0xB5, 0xC7, 0x49, 0xC7, 0x4A, 0x13, 0x32, 0x1F, 0x20, 0x00, 0x23, 0x01, 0x24, 0xA6, 0x46, 0xE9, 0x4D, 0xFE, 0x44, 0x28, 0x47, 0xEA, 0x48, 0x00, 0x88, 0x40, 0x0A, 0x00, 0xD2, 0x00, 0x24, 0xE6, 0x48, 0x04, 0x70, 0x30, 0xBD, 
    
    Returned: 0x04, 0x0E, 0x04, 0x01, 0x05, 0xFF, 0x00, 
    
    Sent: 0x01, 0x05, 0xFF, 0xFF, 0xB2, 0x67, 0x08, 0x00, 0xFA, 0x10, 0xB5, 0xE6, 0x49, 0xE7, 0x4A, 0x5D, 0x32, 0x1F, 0x20, 0x00, 0x23, 0x01, 0x24, 0xA6, 0x46, 0xE0, 0x4C, 0xFE, 0x44, 0x20, 0x47, 0x10, 0xBD, 0x38, 0xB5, 0xA5, 0x4B, 0x1B, 0x78, 0x40, 0x8D, 0x01, 0x30, 0x43, 0x43, 0x1B, 0x04, 0x1B, 0x0C, 0xAE, 0x48, 0x91, 0x42, 0x07, 0xDB, 0x8C, 0x1A, 0xC0, 0x1A, 0x84, 0x42, 0x0C, 0xDD, 0x01, 0x20, 0x00, 0x04, 0x24, 0x1A, 0x08, 0xE0, 0x99, 0x42, 0x02, 0xDA, 0xC4, 0x1A, 0xA2, 0x42, 0x01, 0xDC, 0x8C, 0x1A, 0x01, 0xE0, 0x8C, 0x1A, 0x04, 0x19, 0x00, 0x93, 0x23, 0x1C, 0xA4, 0x20, 0x01, 0x25, 0xAE, 0x46, 0xD2, 0x4D, 0xFE, 0x44, 0x28, 0x47, 0x20, 0x1C, 0x38, 0xBD, 0x70, 0xB5, 0x0D, 0x1C, 0x06, 0x1C, 0x01, 0x24, 0xA6, 0x46, 0xCE, 0x49, 0xFE, 0x44, 0x08, 0x47, 0x30, 0x1C, 0x03, 0x21, 0xA6, 0x46, 0xCC, 0x4A, 0xFE, 0x44, 0x10, 0x47, 0x06, 0x1C, 0xCB, 0x48, 0x01, 0x1C, 0x04, 0x39, 0x0D, 0x80, 0x02, 0x21, 0xA6, 0x46, 0xC9, 0x4A, 0xFE, 0x44, 0x10, 0x47, 0x00, 0x28, 0x08, 0xD1, 0x30, 0x1C, 0x68, 0x43, 0x94, 0x49, 0x86, 0x39, 0x08, 0x60, 0xA6, 0x46, 0xC5, 0x49, 0xFE, 0x44, 0x08, 0x47, 0x70, 0xBD, 0x40, 0x69, 0x41, 0x7C, 0x10, 0x29, 0x11, 0xD1, 0x02, 0x7C, 0xC1, 0x49, 0x06, 0x2A, 0x0B, 0xD0, 0x0B, 0x68, 0x01, 0x2B, 0x0A, 0xD1, 0x01, 0x2A, 0x01, 0xD0, 0x00, 0x20, 0x05, 0xE0, 0x00, 0x22, 0x0A, 0x60, 0x03, 0x21, 0x01, 0x74, 0xF7, 0x46, 0x01, 0x20, 0x08, 0x60, 0xF7, 0x46, 0xAA, 0x24, 0x08, 0x00, 0xF0, 0xB5, 0x07, 0x1C, 0xB9, 0x69, 0x48, 0x78, 0xFE, 0x69, 0x02, 0x1F, 0x3C, 0xD0, 0x21, 0x3A, 0x42, 0xD1, 0x04, 0x22, 0xB2, 0x80, 0x0C, 0x22, 0x95, 0x19, 0x40, 0x00, 
    
    Returned: 0x04, 0x0E, 0x04, 0x01, 0x05, 0xFF, 0x00, 
    
    Sent: 0x01, 0x05, 0xFF, 0xFF, 0xAC, 0x68, 0x08, 0x00, 0xFA, 0x09, 0x78, 0x01, 0x43, 0x29, 0x70, 0x01, 0x35, 0x7A, 0x48, 0xC1, 0x38, 0x00, 0x78, 0x00, 0x28, 0x01, 0xD1, 0x06, 0x20, 0x00, 0xE0, 0x07, 0x20, 0x28, 0x70, 0x01, 0x35, 0x28, 0x1C, 0x0D, 0x21, 0x01, 0x24, 0xA6, 0x46, 0xA8, 0x4A, 0xFE, 0x44, 0x10, 0x47, 0x05, 0x1C, 0xA6, 0x46, 0xA8, 0x48, 0xFE, 0x44, 0x00, 0x47, 0xC0, 0x06, 0xC0, 0x0E, 0x81, 0x02, 0xA4, 0x48, 0x00, 0x78, 0x40, 0x06, 0x40, 0x0E, 0x08, 0x43, 0x07, 0x21, 0xC9, 0x01, 0x01, 0x43, 0x09, 0x04, 0x09, 0x0C, 0x28, 0x1C, 0xA6, 0x46, 0x9D, 0x4A, 0xFE, 0x44, 0x10, 0x47, 0x06, 0x20, 0x70, 0x80, 0x03, 0x20, 0x30, 0x80, 0x9C, 0x49, 0x65, 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, 0xC0, 0x46, 0x3F, 0x83, 0x02, 0x00, 0x11, 0x24, 0x03, 0x00, 0x06, 0xFD, 0x00, 0x00, 0x17, 0x68, 0x08, 0x00, 0xA9, 0x25, 0x05, 0x00, 0x7D, 0x5E, 0x00, 0x00, 0x10, 0xB5, 0x04, 0x1C, 0xE0, 0x69, 0x01, 0x88, 0x25, 0x22, 0x12, 0x02, 0x0B, 0x04, 0x1B, 0x0E, 0x1B, 0x02, 0x93, 0x42, 0x19, 0xD1, 0x0A, 0x06, 0x12, 0x0E, 0xA8, 0x21, 0x51, 0x43, 0x88, 0x4B, 0x59, 0x5C, 0x00, 0x29, 0x11, 0xD0, 0x87, 0x49, 0x09, 0x78, 0x00, 0x29, 0x0D, 0xD1, 0x86, 0x49, 0x89, 0x5C, 0x07, 0x29, 0x09, 0xDB, 0x01, 0x21, 0x8E, 0x46, 0x84, 0x49, 0xFE, 0x44, 0x08, 0x47, 0x83, 0x49, 0x47, 0x48, 0xC0, 0x30, 0x40, 0x18, 0x20, 0x62, 0x10, 0xBD, 0x60, 0x12, 0x08, 0x00, 0xED, 0x2F, 0x01, 0x00, 0x09, 0x59, 0x05, 0x00, 0x51, 0xBC, 0x04, 0x00, 0x30, 0xB5, 0x01, 0x69, 0x7C, 0x4A, 
    
    Returned: 0x04, 0x0E, 0x04, 0x01, 0x05, 0xFF, 0x00, 
    
    Sent: 0x01, 0x05, 0xFF, 0xFF, 0xA6, 0x69, 0x08, 0x00, 0xFA, 0xC8, 0x68, 0x90, 0x42, 0x24, 0xD1, 0x7B, 0x48, 0x00, 0x78, 0x80, 0x08, 0x20, 0xD2, 0x7A, 0x48, 0x42, 0x7F, 0x05, 0x2A, 0x1C, 0xD1, 0x02, 0x22, 0x42, 0x77, 0x78, 0x48, 0x00, 0x78, 0xC8, 0x70, 0x70, 0x48, 0x01, 0x38, 0x00, 0x78, 0xFF, 0x28, 0x06, 0xD1, 0x75, 0x48, 0x03, 0x21, 0x01, 0x22, 0x96, 0x46, 0x74, 0x4A, 0xFE, 0x44, 0x10, 0x47, 0x01, 0x24, 0x73, 0x4D, 0x2C, 0x80, 0xA6, 0x46, 0x73, 0x48, 0xFE, 0x44, 0x00, 0x47, 0x2C, 0x80, 0xA6, 0x46, 0x70, 0x48, 0xFE, 0x44, 0x00, 0x47, 0x30, 0xBD, 0x30, 0xB5, 0x45, 0x69, 0x28, 0x1C, 0x01, 0x24, 0xA6, 0x46, 0x6D, 0x49, 0xFE, 0x44, 0x08, 0x47, 0x00, 0x28, 0x0A, 0xD0, 0x12, 0x20, 0x41, 0x19, 0x28, 0x1C, 0xA6, 0x46, 0x69, 0x4A, 0xFE, 0x44, 0x10, 0x47, 0x00, 0x28, 0x08, 0xD1, 0x1C, 0x20, 0x00, 0xE0, 0x1D, 0x20, 0x29, 0x68, 0x10, 0x31, 0xA6, 0x46, 0x65, 0x4A, 0xFE, 0x44, 0x10, 0x47, 0x30, 0xBD, 0xC0, 0x46, 0x69, 0x7D, 0x02, 0x00, 0xCE, 0x0F, 0x08, 0x00, 0x00, 0xB5, 0x80, 0x69, 0x01, 0x68, 0xFF, 0x20, 0x25, 0x30, 0x40, 0x5C, 0x10, 0x31, 0x01, 0x22, 0x96, 0x46, 0x5C, 0x4A, 0xFE, 0x44, 0x10, 0x47, 0x00, 0xBD, 0xC0, 0x46, 0xDA, 0x62, 0x08, 0x00, 0x93, 0xE4, 0x04, 0x00, 0xB5, 0x6A, 0x08, 0x00, 0x2E, 0x2E, 0x08, 0x00, 0x70, 0xB5, 0x0E, 0x1C, 0x05, 0x1C, 0x0C, 0x48, 0x90, 0x38, 0x00, 0x78, 0x40, 0x08, 0x0C, 0xD3, 0x01, 0x24, 0xA6, 0x46, 0x51, 0x48, 0xFE, 0x44, 0x00, 0x47, 0x00, 0x28, 0x05, 0xD0, 0x29, 0x1C, 0x32, 0x1C, 0xA6, 0x46, 0x4E, 0x4B, 0xFE, 0x44, 0x18, 0x47, 0x70, 0xBD, 0xFF, 0xFF, 0x00, 0x00, 0xCB, 0xA3, 0x00, 0x00, 0xED, 0x92, 0x00, 0x00, 
    
    Returned: 0x04, 0x0E, 0x04, 0x01, 0x05, 0xFF, 0x00, 
    
    Sent: 0x01, 0x05, 0xFF, 0xFF, 0xA0, 0x6A, 0x08, 0x00, 0xFA, 0xF2, 0x4F, 0x08, 0x00, 0x82, 0x04, 0x00, 0x00, 0x45, 0x9F, 0x00, 0x00, 0x0B, 0x6C, 0x08, 0x00, 0xA9, 0x86, 0x00, 0x00, 0xF8, 0xB5, 0x16, 0x1C, 0x00, 0x92, 0x05, 0x1C, 0x01, 0x24, 0xA6, 0x46, 0x45, 0x4A, 0xFE, 0x44, 0x10, 0x47, 0x07, 0x1C, 0x00, 0x2E, 0x01, 0xD0, 0x3A, 0x20, 0x00, 0xE0, 0x39, 0x20, 0x40, 0x5D, 0x00, 0x26, 0x00, 0x28, 0x15, 0xD1, 0xE8, 0x78, 0x00, 0x28, 0x08, 0xD0, 0x39, 0x20, 0x40, 0x5D, 0x1C, 0x21, 0x22, 0x1C, 0xA6, 0x46, 0x38, 0x4B, 0xFE, 0x44, 0x18, 0x47, 0x06, 0x1C, 0x00, 0x2F, 0x1B, 0xD1, 0xA6, 0x46, 0x35, 0x48, 0xFE, 0x44, 0x00, 0x47, 0xFF, 0x28, 0x15, 0xD1, 0x0A, 0x26, 0x15, 0xE0, 0x00, 0x2F, 0x11, 0xD1, 0x00, 0x98, 0x00, 0x28, 0x0A, 0xD1, 0xE8, 0x78, 0x00, 0x28, 0x07, 0xD1, 0x28, 0x1C, 0x00, 0x99, 0x22, 0x1C, 0xA6, 0x46, 0x2D, 0x4B, 0xFE, 0x44, 0x18, 0x47, 0x07, 0x1C, 0x00, 0x2F, 0x01, 0xD1, 0x1E, 0x26, 0x01, 0xE0, 0x00, 0x2E, 0x06, 0xD0, 0x10, 0x20, 0x41, 0x19, 0x30, 0x1C, 0xA6, 0x46, 0x21, 0x4A, 0xFE, 0x44, 0x10, 0x47, 0xF8, 0xBD, 0xC0, 0x46, 0xDD, 0x6B, 0x08, 0x00, 0x55, 0x31, 0x19, 0x00, 0x3E, 0xA6, 0x1B, 0x00, 0x9B, 0x6C, 0x08, 0x00, 0xAD, 0x99, 0x00, 0x00, 0xA1, 0x8B, 0x04, 0x00, 0xB1, 0x2F, 0x00, 0x00, 0x65, 0x2A, 0x00, 0x00, 0x04, 0x50, 0x1A, 0x00, 0x6B, 0xF7, 0x04, 0x00, 0xCD, 0x16, 0x03, 0x00, 0xD4, 0x62, 0x08, 0x00, 0xE7, 0x2A, 0x00, 0x00, 0xFB, 0x4F, 0x08, 0x00, 0x89, 0x91, 0x04, 0x00, 0x61, 0xDE, 0x00, 0x00, 0xC8, 0x18, 0x08, 0x00, 0x71, 0x4E, 0x08, 0x00, 0x50, 0x15, 0x08, 0x00, 0x8D, 0x08, 0x04, 0x00, 0xD9, 0xA3, 0x02, 0x00, 0x7B, 0x86, 
    
    Returned: 0x04, 0x0E, 0x04, 0x01, 0x05, 0xFF, 0x00, 
    
    Sent: 0x01, 0x05, 0xFF, 0xFF, 0x9A, 0x6B, 0x08, 0x00, 0xFA, 0x03, 0x00, 0x11, 0x22, 0x08, 0x00, 0x50, 0x17, 0x08, 0x00, 0x4A, 0x56, 0x08, 0x00, 0x00, 0x04, 0x1A, 0x00, 0xB5, 0xF5, 0x04, 0x00, 0x82, 0x07, 0x1A, 0x00, 0xF9, 0x8E, 0x03, 0x00, 0xEB, 0x63, 0x01, 0x00, 0xC5, 0x64, 0x01, 0x00, 0x69, 0x6A, 0x08, 0x00, 0x05, 0xF0, 0x04, 0x00, 0x35, 0x04, 0x03, 0x00, 0x71, 0x65, 0x01, 0x00, 0xE5, 0x7C, 0x02, 0x00, 0x2F, 0x7D, 0x02, 0x00, 0x69, 0x7D, 0x02, 0x00, 0x40, 0x1E, 0x80, 0x00, 0xA6, 0x4B, 0x19, 0x50, 0xA4, 0x49, 0x0A, 0x50, 0xF7, 0x46, 0x00, 0xB5, 0xA4, 0x4A, 0x01, 0x8B, 0x91, 0x42, 0x07, 0xD0, 0x40, 0x69, 0x40, 0x30, 0x2C, 0x21, 0x01, 0x22, 0x96, 0x46, 0xA1, 0x4A, 0xFE, 0x44, 0x10, 0x47, 0xA0, 0x48, 0x2B, 0x30, 0x00, 0xBD, 0xFC, 0xB5, 0x07, 0x1C, 0x7D, 0x69, 0xB8, 0x20, 0x41, 0x5D, 0x9D, 0x4A, 0x01, 0x29, 0x05, 0xD1, 0xC7, 0x26, 0x71, 0x5D, 0x01, 0x29, 0x05, 0xD0, 0x03, 0x29, 0x03, 0xD0, 0x78, 0x60, 0x10, 0x1C, 0x15, 0x30, 0xFC, 0xBD, 0x00, 0x24, 0xC0, 0x20, 0x44, 0x55, 0x70, 0x5D, 0x01, 0x90, 0x74, 0x55, 0x28, 0x1C, 0x01, 0x21, 0x8E, 0x46, 0x93, 0x49, 0xFE, 0x44, 0x08, 0x47, 0x01, 0x98, 0x70, 0x55, 0xBF, 0x26, 0x70, 0x5D, 0x01, 0x28, 0x1F, 0xD1, 0xE9, 0x8E, 0x2A, 0x8F, 0x28, 0x1C, 0x01, 0x23, 0x9E, 0x46, 0x8D, 0x4B, 0xFE, 0x44, 0x18, 0x47, 0x03, 0x04, 0x1B, 0x0C, 0x04, 0x2B, 0x06, 0xDD, 0x6C, 0x8D, 0xD8, 0x1E, 0x84, 0x42, 0x06, 0xDB, 0x04, 0x04, 0x24, 0x0C, 0x03, 0xE0, 0x03, 0x21, 0xC0, 0x20, 0x41, 0x55, 0x74, 0x55, 0x00, 0x94, 0xE9, 0x8E, 0x2A, 0x8F, 0xA7, 0x20, 0x01, 0x25, 0xAE, 0x46, 0x82, 0x4D, 0xFE, 0x44, 0x28, 0x47, 0xBC, 0x61, 
    
    Returned: 0x04, 0x0E, 0x04, 0x01, 0x05, 0xFF, 0x00, 
    
    Sent: 0x01, 0x05, 0xFF, 0xFF, 0x94, 0x6C, 0x08, 0x00, 0xFA, 0x7D, 0x48, 0x2B, 0x30, 0xFC, 0xBD, 0x01, 0x1C, 0x0A, 0x7B, 0x7F, 0x48, 0x00, 0x2A, 0x02, 0xD0, 0xC9, 0x69, 0x02, 0x29, 0x01, 0xD1, 0x63, 0x30, 0xF7, 0x46, 0x7C, 0x49, 0x43, 0x39, 0x08, 0x18, 0xF7, 0x46, 0x10, 0xB5, 0x01, 0x6A, 0x7A, 0x4A, 0x12, 0x68, 0x92, 0x88, 0x12, 0x13, 0x92, 0x07, 0x93, 0x0F, 0x78, 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, 0x72, 0x48, 0xE7, 0x30, 0x10, 0xBD, 0x70, 0xB5, 0x05, 0x1C, 0x68, 0x68, 0x00, 0x28, 0x1A, 0xD1, 0x6F, 0x4E, 0x35, 0x20, 0x00, 0x01, 0x84, 0x19, 0x20, 0x68, 0x01, 0x21, 0x8E, 0x46, 0x6D, 0x49, 0xFE, 0x44, 0x08, 0x47, 0x20, 0x7F, 0x00, 0x28, 0x0D, 0xD0, 0x6B, 0x48, 0x00, 0x78, 0x02, 0x28, 0x09, 0xD0, 0xE0, 0x7F, 0x50, 0x21, 0x41, 0x43, 0x71, 0x18, 0x48, 0x8E, 0x01, 0x30, 0x48, 0x86, 0x60, 0x8A, 0x01, 0x38, 0x60, 0x82, 0x00, 0x20, 0x5E, 0x49, 0x08, 0x60, 0x01, 0x20, 0x86, 0x46, 0x62, 0x48, 0xFE, 0x44, 0x00, 0x47, 0x68, 0x60, 0x61, 0x48, 0x65, 0x30, 0x70, 0xBD, 0x61, 0x48, 0xD5, 0x30, 0xF7, 0x46, 0x00, 0xB5, 0x40, 0x69, 0x01, 0x21, 0x8E, 0x46, 0x5E, 0x49, 0xFE, 0x44, 0x08, 0x47, 0x5E, 0x48, 0x35, 0x30, 0x00, 0xBD, 0x41, 0x69, 0x09, 0x7C, 0x06, 0x29, 0x02, 0xD1, 0x01, 0x21, 0x5B, 0x4A, 0x11, 0x60, 0x0F, 0x21, 0x81, 0x60, 0x5A, 0x48, 0x53, 0x30, 0xF7, 0x46, 0xC1, 0x68, 0x43, 0x68, 0x0A, 0x78, 0x0C, 0x2A, 0x08, 0xD1, 0x58, 0x4A, 0x31, 0x3A, 0x12, 0x78, 0x00, 0x2A, 0x01, 0xD1, 0x06, 0x22, 0x00, 0xE0, 0x07, 0x22, 0x4A, 0x70, 0x43, 0x61, 
    
    Returned: 0x04, 0x0E, 0x04, 0x01, 0x05, 0xFF, 0x00, 
    
    Sent: 0x01, 0x05, 0xFF, 0xFF, 0x8E, 0x6D, 0x08, 0x00, 0xFA, 0x52, 0x48, 0x09, 0x30, 0xF7, 0x46, 0x10, 0xB5, 0x80, 0x69, 0x50, 0x49, 0x31, 0x39, 0x09, 0x78, 0x00, 0x29, 0x09, 0xD1, 0x06, 0x24, 0x04, 0x70, 0x01, 0x30, 0x00, 0x21, 0x01, 0x22, 0x96, 0x46, 0x4C, 0x4A, 0xFE, 0x44, 0x10, 0x47, 0x08, 0xE0, 0x07, 0x24, 0x04, 0x70, 0x01, 0x30, 0x00, 0x21, 0x01, 0x22, 0x96, 0x46, 0x47, 0x4A, 0xFE, 0x44, 0x10, 0x47, 0x04, 0x70, 0x01, 0x30, 0x0D, 0x21, 0x01, 0x24, 0xA6, 0x46, 0x43, 0x4A, 0xFE, 0x44, 0x10, 0x47, 0x42, 0x49, 0xA6, 0x46, 0x40, 0x4A, 0xFE, 0x44, 0x10, 0x47, 0x41, 0x48, 0x5D, 0x30, 0x10, 0xBD, 0x01, 0x1C, 0x41, 0x48, 0x02, 0x78, 0x3F, 0x48, 0x00, 0x2A, 0x01, 0xD0, 0x5D, 0x30, 0xF7, 0x46, 0x28, 0x22, 0x8A, 0x60, 0xC0, 0x1C, 0xF7, 0x46, 0x3C, 0x49, 0x09, 0x78, 0x05, 0x29, 0x02, 0xD1, 0x01, 0x21, 0x3B, 0x4A, 0x11, 0x70, 0x23, 0x21, 0x81, 0x60, 0x3A, 0x48, 0x27, 0x30, 0xF7, 0x46, 0x10, 0xB5, 0x01, 0x7E, 0x00, 0x7D, 0x08, 0x43, 0x39, 0x4C, 0x0A, 0xD0, 0x00, 0x20, 0x36, 0x49, 0x08, 0x70, 0x01, 0x20, 0x86, 0x46, 0x35, 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, 0x2E, 0x48, 0x39, 0x30, 0xF7, 0x46, 0x10, 0xB5, 0x2D, 0x4C, 0xA0, 0x88, 0x01, 0x21, 0x8E, 0x46, 0x2C, 0x49, 0xFE, 0x44, 0x08, 0x47, 0x00, 0x28, 0x01, 0xD1, 0x2B, 0x48, 0xA0, 0x80, 0x2B, 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, 
    
    Returned: 0x04, 0x0E, 0x04, 0x01, 0x05, 0xFF, 0x00, 
    
    Sent: 0x01, 0x05, 0xFF, 0xFF, 0x88, 0x6E, 0x08, 0x00, 0xFA, 0xF9, 0x8C, 0x00, 0x00, 0xA9, 0x86, 0x00, 0x00, 0x15, 0x86, 0x00, 0x00, 0xCB, 0x67, 0x08, 0x00, 0xA1, 0x8B, 0x04, 0x00, 0xAD, 0x99, 0x00, 0x00, 0xC6, 0x05, 0x00, 0x00, 0xD4, 0x48, 0x08, 0x00, 0xD8, 0x62, 0x08, 0x00, 0x55, 0xDE, 0x02, 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, 0x5D, 0x86, 0x02, 0x00, 0x62, 0x4F, 0x08, 0x00, 0xE7, 0x2A, 0x00, 0x00, 0x8C, 0x1B, 0x00, 0x00, 0x5D, 0x15, 0x00, 0x00, 0xA5, 0xE0, 0x01, 0x00, 0xDA, 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, 0x14, 0x24, 0x08, 0x00, 0x19, 0x90, 0x01, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x89, 0x8D, 0x01, 0x00, 0xFF, 0xB5, 0x68, 0x46, 0xFF, 0xF7, 0x45, 0xFC, 0xFF, 0xBD, 0xFF, 0xB5, 0x68, 0x46, 0xFF, 0xF7, 0x2D, 0xFC, 0xFF, 0xBD, 0xFF, 0xB5, 0x68, 0x46, 0xFF, 0xF7, 0x07, 0xFC, 0xFF, 0xBD, 0xFF, 0xB5, 0x68, 0x46, 0xFF, 0xF7, 0x7B, 0xFD, 0xFF, 0xBD, 0xFF, 0xB5, 0x68, 0x46, 0xFF, 0xF7, 0x54, 0xFD, 0xFF, 0xBD, 0xFF, 0xB5, 0x68, 0x46, 0xFF, 0xF7, 0x18, 0xFB, 0xFF, 0xBD, 0xFF, 0xB5, 0x68, 0x46, 0xFF, 0xF7, 0xB8, 0xFB, 0xFF, 0xBD, 0xFF, 0xB5, 0x68, 0x46, 0xFF, 0xF7, 0x6E, 0xFB, 0xFF, 0xBD, 0xFF, 0xB5, 0x68, 0x46, 0xFF, 0xF7, 0x3E, 0xFB, 0xFF, 0xBD, 0xFF, 0xB5, 0x68, 0x46, 0xFF, 0xF7, 0x03, 0xFB, 
    
    Returned: 0x04, 0x0E, 0x04, 0x01, 0x05, 0xFF, 0x00, 
    
    Sent: 0x01, 0x05, 0xFF, 0x39, 0x82, 0x6F, 0x08, 0x00, 0x34, 0xFF, 0xBD, 0xFF, 0xB5, 0x68, 0x46, 0xFF, 0xF7, 0x16, 0xFB, 0xFF, 0xBD, 0xFF, 0xB5, 0x68, 0x46, 0xFF, 0xF7, 0xD7, 0xFC, 0xFF, 0xBD, 0xFF, 0xB5, 0x68, 0x46, 0xFF, 0xF7, 0x00, 0xFD, 0xFF, 0xBD, 0xFF, 0xB5, 0x68, 0x46, 0xFF, 0xF7, 0x5A, 0xFC, 0xFF, 0xBD, 0xFF, 0xB5, 0x68, 0x46, 0xFF, 0xF7, 0x6E, 0xFC, 0xFF, 0xBD, 
    
    Returned: 0x04, 0x0E, 0x04, 0x01, 0x05, 0xFF, 0x00, 
    
    Sent: 0x01, 0x05, 0xFF, 0x8D, 0x78, 0x7B, 0x08, 0x00, 0x88, 0x00, 0xB5, 0xF8, 0xF0, 0x41, 0xFA, 0x00, 0xBD, 0xEB, 0x6B, 0x08, 0x00, 0xB7, 0x6C, 0x08, 0x00, 0xE7, 0x6C, 0x08, 0x00, 0x71, 0x6D, 0x08, 0x00, 0x95, 0x6D, 0x08, 0x00, 0x59, 0x6D, 0x08, 0x00, 0x45, 0x6D, 0x08, 0x00, 0xE9, 0x6D, 0x08, 0x00, 0x01, 0x6E, 0x08, 0x00, 0x3F, 0x6D, 0x08, 0x00, 0xDD, 0x62, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x19, 0x6E, 0x08, 0x00, 0x41, 0x6E, 0x08, 0x00, 0x57, 0x6E, 0x08, 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, 0x0B, 0x6C, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 
    
    Returned: 0x04, 0x0E, 0x04, 0x01, 0x05, 0xFF, 0x00, 
    
    Sent: 0x01, 0x05, 0xFF, 0x85, 0x04, 0xF3, 0x1A, 0x00, 0x80, 0x1E, 0x8D, 0x00, 0x00, 0x3A, 0xDF, 0x02, 0x00, 0x3A, 0x1A, 0x02, 0x00, 0x64, 0x86, 0x02, 0x00, 0x7E, 0x15, 0x00, 0x00, 0x2C, 0x23, 0x03, 0x00, 0xE8, 0x28, 0x05, 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, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xBC, 0x86, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 
    
    Returned: 0x04, 0x0E, 0x04, 0x01, 0x05, 0xFF, 0x00, 
    
    Sent: 0x01, 0x05, 0xFF, 0xED, 0x00, 0x00, 0x18, 0x00, 0xE8, 0xF0, 0xB5, 0x2C, 0x4E, 0x07, 0x22, 0x32, 0x70, 0x10, 0x23, 0x73, 0x70, 0x47, 0x20, 0xB0, 0x70, 0x0C, 0x25, 0xF5, 0x70, 0x03, 0x20, 0x29, 0x49, 0x01, 0x39, 0x01, 0x24, 0xA6, 0x46, 0x26, 0x4F, 0xFE, 0x44, 0x38, 0x47, 0xB2, 0x78, 0xF3, 0x78, 0x03, 0x20, 0x24, 0x49, 0xA6, 0x46, 0x22, 0x4E, 0xFE, 0x44, 0x30, 0x47, 0x03, 0x20, 0x21, 0x49, 0x01, 0x31, 0xA6, 0x46, 0x20, 0x4A, 0xFE, 0x44, 0x10, 0x47, 0xA6, 0x46, 0x1F, 0x48, 0xFE, 0x44, 0x00, 0x47, 0x1F, 0x4B, 0x00, 0x21, 0x08, 0x1C, 0x1A, 0x68, 0x00, 0x2A, 0x04, 0xD0, 0x02, 0x07, 0x16, 0x0F, 0x22, 0x1C, 0xB2, 0x40, 0x11, 0x43, 0x02, 0x07, 0x12, 0x0F, 0x0F, 0x2A, 0x05, 0xD1, 0xC6, 0x08, 0x06, 0x22, 0x32, 0x40, 0x17, 0x4E, 0xB1, 0x52, 0x00, 0x21, 0x04, 0x33, 0x01, 0x30, 0x20, 0x28, 0xE9, 0xD3, 0x3F, 0x20, 0x14, 0x49, 0x08, 0x70, 0x14, 0x48, 0x3C, 0x21, 0x01, 0x70, 0x28, 0x21, 0x41, 0x70, 0x14, 0x21, 0x81, 0x70, 0x08, 0x20, 0x11, 0x49, 0x08, 0x70, 0x11, 0x48, 0x05, 0x73, 0x0B, 0x21, 0x81, 0x73, 0x0D, 0x21, 0x41, 0x73, 0x10, 0x48, 0x01, 0x1C, 0x5A, 0x31, 0x0C, 0x60, 0x00, 0x21, 0x0C, 0x4A, 0x11, 0x70, 0x04, 0x70, 0xF0, 0xBD, 0xF8, 0x4F, 0x08, 0x00, 0x7B, 0x88, 0x04, 0x00, 0xC6, 0x05, 0x00, 0x00, 0x65, 0x88, 0x04, 0x00, 0x83, 0x64, 0x08, 0x00, 0x80, 0x7B, 0x08, 0x00, 0x84, 0xF3, 0x1A, 0x00, 0xBF, 0x11, 0x08, 0x00, 0x10, 0x31, 0x19, 0x00, 0x15, 0x13, 0x08, 0x00, 0xD8, 0x11, 0x08, 0x00, 0xDA, 0x62, 0x08, 0x00, 0x62, 0x4F, 0x08, 0x00, 
    
    Returned: 0x04, 0x0E, 0x04, 0x01, 0x05, 0xFF, 0x00, 
    
    Sent: 0x01, 0x83, 0xFF, 0x14, 0x79, 0x7B, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
    
    Returned: 0x04, 0x0E, 0x04, 0x01, 0x83, 0xFF, 0x00, 
    
    Sent: 0x01, 0x0C, 0xFD, 0x09, 0x01, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x64, 0x00, 
    
    Returned: 0x04, 0x0E, 0x04, 0x01, 0x0C, 0xFD, 0x00, 
    
    Sent: 0x01, 0x09, 0xFD, 0x08, 0x58, 0x60, 0x1A, 0x00, 0x00, 0x10, 0x00, 0x10, 
    
    Returned: 0x04, 0x0E, 0x04, 0x01, 0x09, 0xFD, 0x00, 
    
    Sent: 0x01, 0x09, 0xFD, 0x08, 0x10, 0x60, 0x1A, 0x00, 0x10, 0x00, 0x10, 0x00, 
    
    Returned: 0x04, 0x0E, 0x04, 0x01, 0x09, 0xFD, 0x00, 
    
    Sent: 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, 
    
    Returned: 0x04, 0x0E, 0x04, 0x01, 0x76, 0xFD, 0x00, 
    
    Sent: 0x01, 0x80, 0xFD, 0x06, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 
    
    Returned: 0x04, 0x0E, 0x04, 0x01, 0x80, 0xFD, 0x00, 
    
    Sent: 0x01, 0x80, 0xFD, 0x06, 0x3C, 0xF0, 0x5F, 0x00, 0x00, 0x00, 
    
    Returned: 0x04, 0x0E, 0x04, 0x01, 0x80, 0xFD, 0x00, 
    
    Sent: 0x01, 0x1C, 0xFD, 0x14, 0xFF, 0x88, 0x13, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFA, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 
    
    COM port timed out.

    That is my output from the BHET.

    Somethimes the service pack load half and some times it won't even start.

    I set the baudrate  in the tool to 115200.

    The port settings on my computer are:

    Bits per second: 9600

    Parity: None

    Stop bits: 1

    Latency timer: 8 msec

    I tried to change the settings but with no result.

    Flow control: None

    Is it normal to have so many trouble with just turn on the visibility on the CC2564x - QFN-EM rev 1.2 ?

    Or should it be plug and play

    Can you please tell me the correct settings for my computer?

  • Hi,

    First, I would suggest focusing on downloading the service pack (SP) to the CC2564 since it is mandatory.  The SP contains not only bug fixes but it also includes initialization settings for the CC2564, especially RF configurations. Without the SP, the CC2564 won't operate reliably.

    To find the issue with the SP downloading process, I would suggest the following:

    a) Monitor the VDD_IN and VIO supplies and make sure that they are available continuously (no glitches and stable) and within specs ALL the time.

    b) Monitor the slow clock and make sure that it remains stable and within specs ALL the time. If the clock signal stops or goes out of spec, it can cause this failure.

    c) Monitor the UART lines and verify signal integrity during its operation.

    d) Validate you setup using one of our reference host platform. For instance, the MSP-EXP430F5438. The BHET tool provides the “transparent code” to be flashed into the MSP430.

    ~Miguel

  • Hi,

    First i want to say that i really appreciate your help.

    I checked al the points you say and its al working fine.

    The VDD_IN should be between 2.2 Volt and 4.8 Volt.

    It is stable at 3.284 Volt

    The VDD_IO pins are 1.802 Volt they must be between 1.62 Volt and 1.92 Volt

    The slow clock stay stable at 32770 Hz. in a range of 0 - 1.8 Volt

    The UART looks fine but i'm not sure of that.

    I'm using the Logger tool, and the most commands work fine.

    for example i can search for bluetooth devices, and find one.

    I can read the BD_ADDR and request the name of the device

    And the MSP-EXP430F5438 is a bit to expensive for my project.

    Today I switch the ili file and the xml file in the setup from the logger tool.

    BL6450L_BT_Service_Pack_2.12.ILI -> ServicePack_18xx_3p1.ILI

    BL6450L_BT_Service_Pack_2.12.XML -> ServicePack_18xx_3p1.XML

    I'm not sure what else I did but the CC2564 QFN seems to connect to my Samsung galaxy S4

    The LMP initialisation whas complete and I received: "LMP_Setup_Complete"

    Than it was doing a lot of FAST_RSSI_SCANs.

    but after that I received an HCI_Disconnection_Complete event.

    When i search with my phone i did not see any bluetooth device.

    But when i scanned with app, and request the name that belongs to the BD_ADDR of the CC2565 QFN I saw a lot of random symbols.

    I'm still working on the service pack but did not succeed yet. I have the same COM port timed out.

    I have three questions now:

    1. Is it neccesary to upload an service pack to the CC2564 QFN if he is already reacting to al the HCI commands?

    2. Is it neccesary to set an local name before you can connect?

    3. How do you set an local name with a HCI command

    I tried a lot parameters with the HCI_Write_Local_Name command.

    0x01                    command

    0x13 0x0C          opcode

    0xF8                    248  parameters

    0x63  0x63  0x32  0x35  0x36  0x34 -> cc2564

    followed with 242 times 0x00

     

  • Hi Joe,

    Ok. After you download the SP, there should not be any issues to excersice any functionality in the device.

    Regarding your first question, yes the SP is needed for the device to operate reliably. For question 2, it  is not mandatory but good practice; otherwise, the local name is empty.  For the third question, I recommend looking at the BT specifications and follow the correct format for the command.

    ~Miguel

     

  • Hi,

    Oke this answers my original question, so thank you very much for all your effort.

    But I'm stil not abble to upload the service pack.

    So maybe I open another topic later.

    I tried all i can imagine, don't you have one last golden tip?

    1. UART is correctly connected.
    2. Bluetooth start up correctly
    3. Baudrade: 115200 (I tried also other ones)
    4. clock signal is correct and stable.
    5. A few days ago catched some signal of the CC2564 QFN, and i saw it in a log file, but it did not show up with my bluetooth devices.
    6. I send the correct HCI Commands.

    But the BHET keep saying "COM Timed Out".

    And once again, I really appreciate all your help.

  • Joe,

    The golden tips is what I have provided in my previous post (which BTW they are located here: http://processors.wiki.ti.com/index.php/CC256x_Testing_Guide). This kind of issues have been always resolved by other customers using these guidelines.

    Perhaps you want to focus on what exactly happens before, during and after the COM Port TimeOut. That should point to the main root cause.

    ~Miguel