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.

RTOS/CC2650: CC2650

Part Number: CC2650

Tool/software: TI-RTOS

found a bug in sbl.c which is used to flash the CC2650.  I had problems getting msp432P401R + CC2650 + sensorpack example to run and so I reflashed the CC2650 with "simple_np_cc2650bp_uart_pm_sbl_2_02_01_18a_merge.c" and this created new problems in that the power up indication no longer occurred.

So the problem is that the code in sbl.c ... uint8_t SBL_writeImage(SBL_Image *image)  has in it the following code that is incorrect (it reduces the imgSize if the last sector IS NOT protected ... is should reduce imgSize if the last sector IS protected.

if (!SBL_isLastSectorProtected())
{
    // if the last sector is not protected, do not touch the last sector
    imgSize -= SBL_PAGE_SIZE;
}

it should be

if (SBL_isLastSectorProtected())
{
    // if the last sector is protected, do not touch the last sector
    imgSize -= SBL_PAGE_SIZE;
}