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/LAUNCHXL-CC1352R1: BLE and WSN SugGhz (DMM) project ignored by BIM

Part Number: LAUNCHXL-CC1352R1
Other Parts Discussed in Thread: UNIFLASH

Tool/software: Code Composer Studio

Dear Support,

I started my project based on a BLE Project Zero + WSN node using DMM. This works fine, but after copying the project, renaming it and adding custom code (only in WSN node app), the project is ignored by the Off-chip BIM and thus no program is loaded after reset. It works fine when debugging. 

Are there any considerations to adjust either on the BIM project or the BLE+WSN app project in order to be loaded at boot time? Again, I have only changed application-level files from a working project.

Thanks.

Regards,

Angel C.

  • Hi Angel,

    Can you provide some more detail:
    1) What version of the SDK are you working on?
    2) WHat kind of OAD are you doing? (Easylink or BLE)
    3) Did you verify the OAD image header of the failed image?

    (As you probably know, when you are running the project with an active debug session the BIM is not run at all.)
  • Hi Marie,

    1) I am using simplelink_cc13x2_sdk_2_30_00_45

    2) I am using BLE. My project is based on ble5_project_zero_cc13x2r1lp_app with DMM and WSN node capabilities as described in "Dynamic Multi-protocol Manager Fundamentals". 

    3) I do not expect the image header to change since I am only changing application code (WSN) and not touching any OAD files. The stack remains the same, the only thing is that i am not using easylink as done in the example. Could it be tat a previous valid image found in flash (namely project zero) is not being never overwritten due to a i.e. version number, etc? 

    Thanks in advance.

    Angel

  • Hi Angel,

    Did you see the SimpleLink Academy lab on Enhanced OAD? (dev.ti.com/.../ )

    Can you follow the steps in task Task 3 ( Add OAD to Multi Role) and make sure you didn't miss something?
  • 3) If you are running the OAD image tool (either as a post-build step or as command line tool) the CRC etc will be handled.
  • Hi Marie,

    I did not follow the OAD Lab since I am using an already-working project (Project Zero). My understanding is that by adding/modifying WSN node fucnitonality does not affect the OAD, is that correct?

    Anyway, I loaded the project_oad.bin file of my project using Uniflash and it now boots everytime I reset the board, meaning the image Header is not precisely wrong. Probably I am missing something else. I will check with OAD image tool if I can spot the issue. Any thoughts are appreciated.

    Regards,

    Angel

  • Hi Angel,

    Ok, so you started with Project Zero and then added DMM and WSN node functionality.

    Maybe you had forgotten to load the BIM project the first time you tried?

    Did you try to run and OAD yet?
  • Hi Marie,

    I loaded the BIM Off-chip project before, but I do not recall doing it the first time I tried. Is the program loaded to the internal flash while debugging? Anyway, as I mentioned the program is loaded and works after flashing it with Uniflash (the oad-version binary), I just want not to miss something important for future developements. 

    Regards,

    Angel

  • Hi Angel,

    While debugging, BIM is not run at all. You can read more about BIM in the BLE5-Stack User's Guide: dev.ti.com/.../bim.html

    If you do not have a BIM programmed, an OAD-enabled project will not run.