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.

What does this message mean when debugging?

Other Parts Discussed in Thread: CC2640

I am working on a custom CC2640 board using the XDS200 debugger.

I am using CCS 6.1.2.00015, TIRTOS 2.13.0.06, BLE stack 2.1.1.44627, ARM compiler TI v5.2.7.

I have attached two screenshots to this post.

Screenshot 2 shows the message I see as I hover on the PIN_init function call when debugging.

What does this error message mean? I am unable to click on it.

Screenshot 1 shows the yellow exclamation marks in the PINCC26XX.c file. I cleaned and

re-built the project and these yellow marks are still there. Is the error message linked to these

yellow markers?

Thanks,

Priya

   

  • Hi Priya,

    Screenshot 1:

    The debugger is not able to read value from a location. The address is pointing to a flash location. Is PIN_init a function pointer? Is this causing an error?

    Screenshot 2:

    The yellow exclamation on the files indicate warnings. There are 3 ways to find out what those warnings are:
    1) Look at the build console message after building the project
    2) Or, Open View > Problems and look at the warning messages
    3) Or, Open each file, scroll to yellow markings and hover mouse over it to see the warning messages.

    Hope this helps,
    Vikram
  • Vikram,

    PIN_init is a function that comes from the PIN driver libraries as part of the TI RTOS installation.

    I am not editing this file. I have matched the pins on the custom board to the electrical schematic

    and the board file is passing this information to the PIN file. If there is an error in this process,

    I am unable to find it.

    The yellow warnings don't come with a click option. No warnings are being displayed 

    on the console either. Some files are just marked this way and they stay that way,

    the project builds fine.

    Any further insight is much appreciated.

    Thanks,

    Priya

  • Priya,

    Can you point me to the example that you are building? Is this a TI-RTOS example? I would like reproduce the issues that you are seeing.

    Vikram
  • Vikram,
    I am trying to run SimpleBLEPeripheral. Here is how I set this project up:

    2650EM-4XS is in the include options and predefined symbol in SimpleBLEPeripheral, I also
    added it as a predefined symbol to SimpleBLEPeripheralStack, I matched the PIN numbering
    on the board.h file with our schematic (we use GPIOs for PAEN, HGM, EN, SPI and UART only),
    the CC2640 is set up for RF front end differential with internal bias, checkBackdoor is FALSE etc.

    IOCPortConfigureSet commands for PAEN and EN pins are showing no change on the scope.

    I have no luck running SimpleBLEPeripheral yet. I have BLE stack 2.1.1.44627, TI RTOS 2.13.00.06,
    CC26XXWARE = C:\ti\tirtos_simplelink_2_13_00_06\products\cc26xxware_2_21_01_15600. Is the
    correct CC26XXWARE? If not what should I use?

    Thanks,
    Priya
  • Priya,

    This example is from the BLE Stack SDK. We will move this thread to the CC2640 forum for a quicker response from the BLE experts.

    Thanks,
    Vikram
  • I've moved your thread to the device specific forum.

    Todd