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.

CC2652R7: Issue of SBL_CC2652_FLASH_SIZE_CFG

Part Number: CC2652R7
Other Parts Discussed in Thread: CC2652R,

Hi Ti, 

I've meet some problem with program on CC2652R7 via uart.

In file "sbl_device_cc2652.h",  there is defined

"#define SBL_CC2652_FLASH_SIZE_CFG  0x4003002C"

I can use the following define to program on CC2652R, but can't program on CC2652R7,

Is there anything need to be changed between CC2652R and CC2652R7?

Thanks.

  • Hi Jason,

    FLASH:FLASH_SIZE should be located at the same address of either device.  Their values will differ since the primary difference between these devices is the available flash.  However that should not affect the ROM bootloader's operation.  Are you using sblAppEx from SWRA466 or a different UART host?  Are you loading an image generated from a CC2652R7-based project and can you further identify which part of the bootload process is failing?

    Regards,
    Ryan

  • Hi Ryan, 

    Thank you for your reply.

    Are you using sblAppEx from SWRA466 or a different UART host?

    The current tool I use is refer to sblAppEx_1_03_00_00 from SWRA466.

    Are you loading an image generated from a CC2652R7-based project and can you further identify which part of the bootload process is failing?

    Yes, the image is build from a CC2652R7-based project.

    There is a error message show on console

    # sbltool -p -f /tmp/host_test_LP_CC2652R7_tirtos_ccs.bin
    Connecting (/dev/ttyH0 @ 115200 baud) ...Timed out waiting for data header from device.
    Failed to read device FLASH size
    Fail

    Do you have any suggestion of these error message.

    Thank you.

  • Based on the "Timed out waiting for data header from device" before "Failed to read device FLASH size" it seems that this failure occurs during readMemory32 -> getResponseData of readFlashSize (note that getCmdResponse must succeed).  Checking the TRM, there is no difference in bootload commands between the CC252R7 and CC2652R, including COMMAND_MEMORY_READ.  Is this the same interface for which you are able to program CC2652R devices?  Are you using a LP-CC2652R7 or custom board design?  Do you have the ability to further debug and modify sblAppEx source code?

    Regards,
    Ryan