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.

CC2650STK: "DWARF information is corrupted" when load the program.

Guru 24520 points

Part Number: CC2650STK
Other Parts Discussed in Thread: BLE-STACK

Hi TI Experts,

I met the following issue. So, please provide us your advice.
[Phenomenon]
When load the build-ed sensorTag stack project to CC2650STK, CCS showed the "DWARF information is corrupted."

[Environment summary]
BLE-STACK: ble_sdk_2_02_00_31
CCS: v6.2.0
Compiler: TI v15.12.4.LTS
TI-RTOS: 2.18.0.03
XDCtools: 3.32.1.22_core
Note: The default project was wrong path at sensrotag_oad.c and sensrotag_oad.h files. So, need to modify them correctly.

[Other]

When builded those projects, there was any error and warning on CCS. And those project made the hex files.


If you have need more informwation, please let me know.
Best regards.
Kaka

  • Hi Kaka,

    With the ble_sdk_2_02_00_31, we recommend using TI ARM Compiler version 5.2.6.
  • Hi Marie,

    Thank you for your advice.
    I could load my program to CC2650STK without any problem.

    Best regards.
    Kaka
  • Hi Marie,

    I could load my program....
    But if I removed the power from sensorTag, it seems that our program was not written in Flash.
    Have you ever seen this phenomenon?

    Best regards.
    Kaka
  • Hi Kaka,

    I've never heard anything like it. Why do you think the program is not in flash? What are the symptoms?
  • Hi Marie,

    I erased the program on CC2650STK before loading my program by using the Flash programmer2.
    At this time, the red LED was turned on slightly bright. After erasing, I tried to program my project(stack and app) to CC2650STK. In debug session, it seems the sensortag was worked corrctly as I expected because the green led was blinking.
    Note: But this sensorTag firmware could not connect to iPhone. This project is default project(it means that I did not modify the code.) in SDK.

    I disconnected CC2650STK + DEVPACK-DEBUG from PC, the red led was turned on slightly bright... So I think that I could not program my code to sensorTag.

    Best regards.
    Kaka

  • Hi Kaka,

    I think you have an issue with your project since you are not able to connect to your phone

    Did you remember to change the compiler in the stack project as well as the app project?
  • Hi Marie,

    Yes, I used the same compiler for app and stack projects.

    I confirmed that my colleague met the same phenomenon with other PC and using the same software environments.

    Best regards.
    Kaka
  • Hi Kaka,

    I'm not seeing the same issue (with the sensortag project). Which project are you using?

    Could you try rising the supervision time-out? E.g. to 1000.

    // Supervision timeout value (units of 10ms, 1000=10s) if automatic parameter
    // update request is enabled
    #define DEFAULT_DESIRED_CONN_TIMEOUT          1000

    Could you try switching to XCD tool v 3.32.0.06 and change the sensortag_oad.c and .h back to what they were?

  • Hi Marie,

    Thank you for your response. I answer your questions as below.
    For Q1, I used the following project in SDK.
    C:\ti\simplelink\ble_sdk_2_02_00_31\examples\cc2650stk\sensortag\

    For Q2, when I tried increasing that time, this phenomenon was occurred.
    For Q3. I met error the invalid Locan error. I show thoes files pathsat this time as below .
    sensortag_oad.c : PROJECT_LOC\..\..\..\..\..\src\examples\sensortag\cc26xx\app\sensortag_oad.c
    sensortag_oad.h :PROJECT_LOC\..\..\..\..\..\src\examples\sensortag\cc26xx\app\sensortag_oad.h

    Can you build this project without any changes?

    Best regards.
    Kaka

  • Hi Kaka,

    I just installed a fresh version of BLE stack 2.2.0, the sensortag project builds without warning and I am able to connect to the device.

    Could you please check whether the files are in the expected location? ( C:\ti\simplelink\ble_sdk_2_02_00_31\src\examples\sensortag\cc26xx\app )

    I have no idea why your project isn't running as expected - could you try re-installing the ble stack?
  • Hi Marie,

    Thank you for confirming.
    Yes, I checked the file location and they are in the expected location.
    Would you please teach me the detail of environment like IDE version or XDC tools?
    Did you use the CCSv6.2 and XDCTool v3.32.0.06?

    We met some cases for this issue by using some PCs. So, if possible, would you please confirm whether this phenomenon will happen with using other PC?

    Best regards.
    Kaka
  • Hi Kaka,

    I use CCS 6.2 and XDCTool v3.32.0.06, and windows 10.

    Are you saying you've seen this problem when using certain PCs, and not when using others?
  • Hi Marie,

    Thank you for your response.
    No, I saw this phenomenon with some PCs like Panasonic, HP, Lenovo and so on.

    Best regards.
    Kaka

  • Hi Kaka,

    There is no reason why our stack should not work on those brands. Could you please un-installing and re-installing the sdk?
  • Hi Marie,

    I tried to re-install them but we met the same issue even though I used some other PCs.
    I also changed the CC-DEVPACK-DEBUG, it did not resolve this issue.

    I need more help.... Also I do not why you did not meet this issue...

    Best regards.
    Kaka
  • Hi Kaka,

    Which Sensortag hardware revision are you using? (Early revisions require a coin cell battery even when working with a CC Debugger.)

    Also, please note that you have to connect the CC Debugger to USB before attaching the sensortag. (Verify that the green LED on the CC Debugger is lit before connecting the sensortag.)