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.

CCS/LPSTK-CC1352R: cannot connect to LPSTK-CC1352R after re-flashing multi-sensor app

Part Number: LPSTK-CC1352R
Other Parts Discussed in Thread: UNIFLASH

Tool/software: Code Composer Studio

Hi

I somehow 'damaged' my LPSTK-CC1352R multi-sensor board after trying to do the IBM cloud IoT connection to push data to cloud and entering in credential info in the Mobile phone Sensor Tag app ... weird

Strange but.. the mobile phone app died and the multi-sensor board just sat there advertising *but will not allow anything to connect*

So I re-flashed the multi-sensor app and still I cannot connect to the board.

I see with a Nordic BLE sniffer all the ADV_IND and SCAN-REQ frames but interestingly never see a CONN_REQ frame from any mobile phone app including LightBlue

SDK:simplelink_cc13x2_26x2_sdk_4_30_00_54

CCS Version: 10.1.1.00004

app: C:\ti\simplelink_cc13x2_26x2_sdk_4_30_00_54\examples\rtos\CC1352R1_LAUNCHXL\ble5stack\multi_sensor

Here is output from UART and NOTE there are now errors trying to start some of the sensors...never before

▒#000001 [ 0.023 ] INFO: (multi_sensor.c:331) ==============================================================
#000002 [ 0.026 ] INFO: (multi_sensor.c:371) OAD Opened successfully
#000003 [ 0.026 ] INFO: (multi_sensor.c:379) OAD Image version: 0001
#000004 [ 0.027 ] INFO: (sensor_common.c:304) Sensor task started
#000005 [ 0.027 ] INFO: (sensor_common.c:337) I2C handle opened
#000006 [ 0.027 ] ERROR: (temp_profile.c:189) HDC sensor failed to open
#000007 [ 0.027 ] ERROR: (temp_profile.c:165) Temperature Profile failed to initialize with status 0x1
#000008 [ 0.027 ] ERROR: (hum_profile.c:185) HDC sensor failed to open
#000009 [ 0.028 ] INFO: (hum_service.c:260) Humidity Service initialized
#000010 [ 0.028 ] INFO: (hum_profile.c:157) Humidity Profile Initialized
#000011 [ 0.028 ] ERROR: (light_profile.c:180) OPT sensor failed to open
#000012 [ 0.028 ] ERROR: (light_profile.c:156) Light Profile failed to initialize with status 0x1
#000013 [ 0.028 ] INFO: (led_profile.c:112) LED's opened
#000014 [ 0.029 ] INFO: (led_service.c:250) LED Service initialized
#000015 [ 0.029 ] INFO: (led_profile.c:133) LED Profile Initialized
#000016 [ 0.029 ] INFO: (button_profile.c:101) Buttons enabled
#000017 [ 0.029 ] INFO: (button_service.c:245) Button Service initialized
#000018 [ 0.029 ] INFO: (button_profile.c:115) Button Profile Initialized
#000019 [ 0.030 ] INFO: (batt_service.c:198) Battery Service Initialized
#000020 [ 0.030 ] INFO: (batt_profile.c:130) Battery Profile Initialized
#000021 [ 0.030 ] INFO: (accel_service.c:402) Accelerometer Service initialized
#000022 [ 0.034 ] INFO: (multi_sensor.c:873) Tx Power successfully updated
#000023 [ 0.034 ] INFO: (multi_sensor.c:720) Device has started with address: 80:6F:B0:EF:D8:CA
#000024 [ 0.034 ] INFO: (multi_sensor.c:726) Name in advertData array: Multi-Sensor
#000025 [ 0.038 ] INFO: (multi_sensor.c:952) Adv Set 0 Enabled
#000026 [ 0.052 ] INFO: (multi_sensor.c:952) Adv Set 1 Enabled

Also note you never see anything about a connection request coming in

the sniffer is showing the SCAN_REQ and SCAN_RSP but the response has something about an incomplete UUID in the scan response data 

which makes me wonder if this is why the mobile app is not trying to connect?

Any idea why this example is not working and how do i recover this back to the 'out of box' mode?

thanks

  • Try to use prbuilt project_zero_unsecure_app.hex under your SDK folder\examples\rtos\CC1352R1_LAUNCHXL\ble5stack\hexfiles to test again.

  • Thanks YK

    Tried this, same issue:  see it advertising but cannot connect with any mobile app

    C:\ti\simplelink_cc13x2_26x2_sdk_4_30_00_54\examples\rtos\CC1352R1_LAUNCHXL\ble5stack\hexfiles\project_zero_unsecure_app.hex

    used UniFlash to flash it

    which version of BIM should i flash first? i am using cc13x2r1lp_bim_offchip.hex, should i use Release version instead of Debug version? on-chip vs off-chip:

    HOWEVER,  I CAN  CONNECT to C:\ti\simplelink_cc13x2_26x2_sdk_4_30_00_54\examples\rtos\CC1352R1_LAUNCHXL\ble5stack\hexfiles\simple_peripheral_app.hex

  • I download the following two hex into my LPSTK-CC1352R and I can see it works.

    examples/rtos/CC1352R1_LAUNCHXL/ble5stack/hexfiles/bim_offchip/Release_unsecure/cc13x2r1lp_bim_offchip.hex

    examples/rtos/CC1352R1_LAUNCHXL/ble5stack/hexfiles/project_zero_unsecure_app.hex