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.

Compiler/CC2640: Exception occurred at debugging

Part Number: CC2640
Other Parts Discussed in Thread: CC2650

Tool/software: TI C/C++ Compiler

Hello,

I'm using cc2650 launchpad as a debugger for a cc2640, when running my project it will stuck in an exception:

Initially this project works on cc2650. CC2640 is connected to launchpad via jtag connectors to xds110.  (as in this image) 

Thank you!

  • Hi Matei,

    Could you give us more details on how to reproduce this set up? Is this a custom board, are you using 2.2.1? Does this problem occur flashing a simple project? (Simple Peripheral for example)

    Regards,
    Rebel
  • Hi,

    I'm using a custom board and trying to flash project zero, with some modifications, nothing changed in the stack project. SDK version is 2.2.1

  • Hi Matei,

    This sounds like it is likely a configuration issue with running your firmware image on custom hardware. These are usually related to board configuration and pin config.

    A couple of questions to help us debug:

    1. Does your custom project work without issue on a CC2650LP?

    2. Did you modify the board file?

    3. Have you changed anything related to RF front end?

    A few suggestions:

    1. Limit all GPIO acces in your application, comment out any calls to drivers or pins. Terminate all GPIOs

    const PIN_Config BoardGpioInitTable[] = {
    
        PIN_TERMINATE
    };

    2. Attempt to boot your custom board using the limited configuration described above. it should work successfully. The BLE stack requires no GPIOs.

     
  • Problem solved. It seems that in my custom board I had SCL on DIO_5 and SDA on DIO_4, which is wrong.