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.

CC1352P: Getting back to ProjectZero

Part Number: CC1352P
Other Parts Discussed in Thread: UNIFLASH

I'm trying to navigate CCS as a novice user, and I can't seem to find a way to download and flash ProjectZero for my CC1352P1 development board. 

My first test with the development board was to connect with the board via the cellphone SimpleLink app and try the ProjectZero button and LED controls. However, while experimenting,

I mistakenly loaded a Sensor Node example for CC1352P1 Launchpad using SimpleLink OAD.

I thought I would be able to download ProjectZero to my PC, then flash via USB, but the links to the project files in Resource Explorer appear to be broken. Using CCS cloud also failed to load the example project links.

I realize the P1 version may be somewhat outdated, but how do I get back to a ProjectZero version or otherwise start another tutorial project to get familiar with the CC1352?

  • Hi Werner,

    I would recommend taking a look at SimpleLink Academy, our tutorials that are meant as an introduction to this device and software: 

    https://dev.ti.com/tirex/explore/node?node=A__AFv2RHc05qHpNf27sGG3mg__com.ti.SIMPLELINK_ACADEMY_CC13XX_CC26XX_SDK__AfkT0vQ__LATEST&placeholder=true

    Specifically for programming Project Zero we have the Bluetooth Fundamentals lab:

    https://dev.ti.com/tirex/explore/node?node=A__AJfAa5knnYceGpWKAKQqcg__com.ti.SIMPLELINK_ACADEMY_CC13XX_CC26XX_SDK__AfkT0vQ__LATEST&placeholder=true

    Cheers,

    Marie H

  • Thank you, I have been following the SimpleLink Academy tutorials. 

    I've installed  "simplelink_cc13xx_cc26xx_sdk_6_40_00_13.exe" 

    From this, I find the directory:

    C:\ti\simplelink_cc13xx_cc26xx_sdk_6_40_00_13\examples\rtos\CC1352P1_LAUNCHXL\ble5stack\hexfiles\project_zero_unsecure_app.hex

    I assume this must be the correct hex file to load Project_Zero as corresponds to the tutorial instructions. I am able to flash "project_zero_unsecure_app.hex" using the UniFlash interface, but I am not yet able to connect the device with the SimpleLink phone app. 

    I also don't quite understand whether I first need to flash the bim_offchip.hex, or  bim_onchip.hex, and when I do will it be properly configured when I load the "project_zero_unsecure_app.hex" image? I've tried this (using UniFlash->Load Image "bim_onchip.hex" followed by UniFlash->Load Image  "project_zero_unsecure_app.hex"), but the SimpleLink app connection still fails.

    I do have a second CC1352P1 development board which does successfully connect to the SimpleLink app, so that part is properly configured. My goal is to return the first CC1352P1 development board to the same status.

  • Hi Werner,

    There are two approaches here:

    a) Load hex files and let the chip run on its own

    b) Use CCS debugging view to run the program with debugger attached.

    The link I sent describes scenario b). It sounds like you want to use a). In this case you need to make sure the application image (project_zero image) is prepared for BIM to check that it's a valid image. The prepared image has the .bin format (not .hex).

    For approach a) I will direct you to the following tutorial. A short description is given below. https://dev.ti.com/tirex/explore/node?node=A__ADzuT3lecGawPgH5gTa69Q__com.ti.SIMPLELINK_ACADEMY_CC13XX_CC26XX_SDK__AfkT0vQ__LATEST&placeholder=true 

    1. Load the bim_offchip.hex

    2. Load the project_zero .bin file

    3. You can connect a UART terminal as described in the link to verify that the project is running

    4. You can use the SimpleLink start app to 

    Cheers,

    Marie H

  • I have been working on the "Bluetooth Low Energy Enhanced Over the Air Download (OAD) Fundamentals" article from your link. Following the tasks described, I used UniFlash to load "host_test_app.hex".  I pressed the Reset button on the Launchpad then ran BTool on the appropriate COM port with 115200 baud, Flow: None, Parity: None, Stop Bits: One, Data Bits: 8.

    I am greeted with an error, and the BTool "Scan" does not connect:

    [1] : <Info> - 07:39:39.527
    Port opened at 1/19/2023 7:39:39 PM
    --------------------------------------------------------------------
    [2] : <Tx> - 07:39:39.646
    -Type : 0x01 (Command)
    -OpCode : 0xFC1D (HCIExt_ResetSystemCmd)
    -Data Length : 0x01 (1) byte(s)
    Type : 0x00 (0) (Chip Reset)
    Dump(Tx):
    0000:01 1D FC 01 00 .....
    --------------------------------------------------------------------
    [3] : <Error> - 07:39:41.673
    Message Response Timeout
    Name = HCIExt_ResetSystemCmd
    OpCode = 0xFC1D
    Tx Time = 07:39:39.646
    --------------------------------------------------------------------
    [4] : <Warning> - 07:39:41.748
    Device Reset Timeout
    Device May Not Function Properly

    --------------------------------------------------------------------
    [5] : <Tx> - 07:39:51.709
    -Type : 0x01 (Command)
    -OpCode : 0xFE51 (GapScan_enable)
    -Data Length : 0x06 (6) byte(s)
    Period : 0x0000 (0)
    Duration : 0x01F4 (500)
    MaxNumRecords : 0x0028 (40)
    Dump(Tx):
    0000:01 51 FE 06 00 00 F4 01 28 00 .Q......(.
    --------------------------------------------------------------------
    [6] : <Tx> - 07:45:27.620
    -Type : 0x01 (Command)
    -OpCode : 0xFE52 (GapScan_disable)
    -Data Length : 0x00 (0) byte(s)
    Dump(Tx):
    0000:01 52 FE 00 .R..
    --------------------------------------------------------------------

    Does the Uniflash process erase my previous attempts to load "project_zero_unsecure_app.hex",  "bim_onchip.hex", and "bim_offchip.hex" ?

    Am I missing something else?

    From your summary approach a), I am not finding a "project_zero.bin" file; is this something I will build from the project stack?

    Thanks for your help!

  • Hi Werner,

    Yes this will overwrite your project zero.

    In an over the air download (OAD) situation there are two devices:

    a) One device which is supposed to get the update, the OAD Target (which is the device running Project Zero)

    b) One device which is sending the new file to device a). This is the OAD Distributor. This device is running host_test.

    If you want to upgrade your device with OAD you can go ahead and follow all the steps in the lab. (You will need two devices, one for a) and one for b)).

    If you only want to run project zero, you can skip directly to "OAD Target Setup" and follow the steps for off-chip OAD.

    Cheers,

    Marie H