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.

CC2541 - Stop getting interrupt after SerialBootLoader guide

Hi,

I should add my software the option to load new software with Serial Boot loader.

But after I did all the steps in this guide:

http://processors.wiki.ti.com/index.php/SerialBootLoader

The software has stopped geting interrupt to the following function:

HAL_ISR_FUNCTION (SPI_INT, P1INT_VECTOR)

Does anyone know the reason?

Thank you,

Ido

  • Not sure what may be happening. There is .xcl file for bootloader and .xcl file for image you will load. Are you using the default for these.   Did the serial images ever load? Are you using the default spi1-alt2.  SBL is built for speed, so IAR may give you issues with debugging. You can try turning off optimizations temporarily to check prog logic.

    BR,

    -Greg

  • Hi,

    Please see the answers below:

    1. There is .xcl file for bootloader and .xcl file for image you will load. Are you using the default for these?

    I am using for the working SW (without the SBL) with this file:

    ti_51ew_cc2540b.xcl

    And for the SW with the SBL I am using with this file:

    cc254x_f256_sbl.xcl

    2. Did the serial images ever load?

    Yes I can create the file and load it using Uart0.Alt2.

    3. Are you using the default spi1-alt2?

    Yes I am using it for my external A/D and it’s the component that should give me the interrupt.

    4. SBL is built for speed, so IAR may give you issues with debugging. You can try turning off optimizations temporarily to check prog logic.

    I tried to remove the optimization but unfortunately I still cannot get interrupt.

    Thank you,

    Ido

  • Any more ideas?

    Thank you,

    Ido

  • I'm experiencing exactly the same problem. Did you manage to solve it?

  • Unfortunately no, I am downloading the new SW only via wireless.