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.

CC2642R: host_test_app.hex flashed on CC2642R not usable with BTool?

Part Number: CC2642R
Other Parts Discussed in Thread: LAUNCHXL-CC26X2R1, CC2652RB

Tool/software:

Hello

I ran into trouble trying to control my CC2642R in Direct Test Mode for certification.

I have successfully flashed the current revision to the controller:

C:/ti/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/examples/rtos/CC26X2R1_LAUNCHXL/ble5stack/hexfiles/host_test_app.hex and I try to control it via the UART interface with the BTool software.

Basic communication seems to work, but the controller returns INVALIDPARAMETER. Any idea why the problem may be? The device should be controllable from Btool with this application, right?

 

Best regards

Mario

  • Hi,

    Thank you for reaching out. After flashing the project, please ensure you reset the device a few times before starting btool and selecting the proper COM port. As a quick test, can you confirm if following the same procedure host_test works using the LAUNCHXL-CC26X2R1?

    Best Regards,

    Jan

  • Hello Jan

    Resetting didn't change anything.

    Meanwhile I am using the Btool version included with the SDK simplelink_cc13xx_cc26xx_sdk_7_41_00_17.

    I went back to the CC2652RB LaunchPad to try running anything on the Development Kit. Interesting is that with C:/ti/simplelink_cc13xx_cc26xx_sdk_7_41_00_17/examples/rtos/CC26X2R1_LAUNCHXL/ble5stack/hexfiles/host_test_app.hex I get a timeout. However, when I flash C:\ti\simplelink_cc13xx_cc26xx_sdk_7_41_00_17\examples\rtos\LP_CC2652RB\ble5stack\hexfiles\host_test_app.hex, I am able to control the CC2652RB from Btool.

    My question is now do you know a combination of the CC2642R with an older SDK and a specific hex file that you know is working?

    Btw, this are my interface settings:

  • Hi,

    Thanks for checking this. I have confirmed that the hex included for the CC26X2R1 board on the 7.41 SDK does work with btool. Can you try flashing simple_peripheral works on the CC26X2R1 on your side?

    Best Regards,

    Jan

  • Update:

    Meanwhile I am positive that CC26X2R1_LAUNCHXL/ble5stack/hexfiles/host_test_app.hex does not work on the CC2652RB (I am currently using the LaunchPad)

    One time I flashed CC26X2R1_LAUNCHXL/ble5stack/hexfiles/host_test_app.hex and tried to communicate from BTool first using the XDS110 and second using an FTDI USB to RS232 cable. I also tried to communicate from Hterm via FTDI cable. All communication failed on the first command. See pictures below.

     (Flashing CC26X2R1_LAUNCHXL/ble5stack/hexfiles/host_test_app.hex)

     (Failed communication using Btool and XDS110)

     (Failed communication using Btool and FTDI cable)

     (No response using Hterm and FTDI cable)

    After that I flashed LP_CC2652RB\ble5stack\hexfiles\host_test_app.hex and tried all the above again, with only sending the first command for the Hterm test. Et voilà everything works fine. See pictures below.

     (Flashing LP_CC2652RB\ble5stack\hexfiles\host_test_app.hex)

     (Successful communication using Btool and XDS110)

     (Successful communication using Btool and FTDI cable)

     (Correct response using Hterm and FTDI cable)

    Now I only need a host_test_app, which works on the CC2642R. Does anyone know any version which works for them?

  • Hi,

    My apologies for any confusion. The CC26X2R1 firmware is not expected to work on the CC2652RB device. Could you try importing the host_test example from the cc2652rb examples folder in to CCS, building it, and the flashing your RB board with it?

    Best Regards,

    Jan

  • Hello Jan

    I am still trying with the LaunchPad CC2652RB.

    Again, if I try CC26X2R1_LAUNCHXL\ble5stack\hexfiles\simple_peripheral_app.hex nothing happens. (I am scanning with an app my phone). However, with LP_CC2652RB\ble5stack\hexfiles\simple_peripheral_app.hex I can see it advertising with "BAWSimplePeri".

  • Hi,

    Got it. That makes sense. As mentioned before, any CC26X2R1 image will not work on the CC2652RB. The RB device must be flashed with an RB image. Can you try building the RB host_test locally and flashing the device with the compiled image?

    Best Regards,

    Jan

  • Ok, with your confirmation that the CC26X2R1 images does not work on the CC2652RB, there is no further need to test anything with my CC2652RB Launchpad. I will return my focus now on the initial question to bring the host test app running on the CC2642R, now that I know that my Hardware setup does in fact work with the launch pad.

    First I tried your suggestion to flash the simple_peripheral on my CC2642R, which does work. I can see it advertising with my phone.

    However, if I try to flash the CC26X2R1 host test app, I still cannot communicate via UART.

  • Hi,

    I have tested that the attached image does work with the LAUNCHXL-CC26X2R1 board with btoolhttps://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/538/host_5F00_test_5F00_app.hex

    To clarify, is your CC2642R on an LAUNCHXL_CC26X2R1 or on a custom board? If you are using custom board, then you will need to ensure the UART pins are properly configured to point to the expected RX & TX pins on your design.

    Best Regards,

    Jan