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.

SIMPLELINK-CC2640R2-SDK: v2.20: Host Test hex file does not work with BTool?

Part Number: SIMPLELINK-CC2640R2-SDK
Other Parts Discussed in Thread: CC2640R2F

Hi,

    I flash the host test hex file from SDK v2.20 at my CC2640R2F Launchpad. Then I open BTool and I got a "Device Reset Timeout" error. I did not encounter this BTool error at SDK v1.50 and SDK v1.40. How do I solve this problem?

-kel

  • Hi Markel,

    The BLE- and BLE5 stack works with different versions of Btool. By default after installation the BLE5 version will run. You can select which version to open by running ./tools/blestack/btool/Run_Btool.bat .

    Cheers,
    Fredrik
  • Hi Fredrik,

    I know that . To replicate the problem here below are my exact procedures:

    1. Using SmartRF Flash Programmer 2, flash host test hex file from "C:\ti\simplelink_cc2640r2_sdk_2_20_00_49\examples\rtos\CC2640R2_LAUNCHXL\blestack\hexfiles"
    2. Open BTool location at "C:\ti\simplelink_cc2640r2_sdk_2_20_00_49\tools\blestack\btool". Device Reset Timeout Error.
    3. Open BTool location at "C:\ti\simplelink_cc2640r2_sdk_2_20_00_49\tools\ble5stack\btool". Device Reset Timeout Error.

    I have done the On-Chip OAD using host test hex file and Btool from SDK v1.50. So, maybe there is problem with the SDK 2.20 host test hex file and Btool?

    -kel
  • Hi Kel,

    You are still running the wrong version of BTool. You must run Run_BTool.bat in /tools/blestack/btool (running btool.exe in the same folder will open the BLE5 version).

    You may also need to unplug the LaunchPad after the programming to avoid it being stuck in Halt in Boot.

    Cheers,
    Fredrik
  • Hi Fredrik K,

        I will try again tomorrow. 

    -kel

  • Hi Fredrik,

    Here is my procedure below:\

    1. Using SmartRF Flash Programmer 2 program "C:/ti/simplelink_cc2640r2_sdk_2_20_00_49/examples/rtos/CC2640R2_LAUNCHXL/blestack/hexfiles/cc2640r2lp_host_test.hex"
    2. Double click "Run_BTool.bat" from "C:\ti\simplelink_cc2640r2_sdk_2_20_00_49\tools\blestack\btool"

    The BTool opens seems to be nothing wrong. Then I get a new error : "Gap Device Initialization Timeout, Device May Not Function Properly"

    Also I found out that the "Device Reset Timeout" error happens when first you open SmartRF Flash Programmer 2 then Btool.

    -kel
  • Hi Fredrik K,

    I power cycle CC2640R2F Launchpad and close open BTool. After that it works and I was able to do OAD. Thanks.

    -kel
  • Hi Kel,

    That's good to hear!

    Fredrik