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.

CC2640R2F-Q1: Debug interface is locked when use smratrf flash programer2

Part Number: CC2640R2F-Q1


hello everyone!

       When I tried to download the firmware into CC2640R2F-Q1 via smratrf flash programer2 , an error occured "Create XBAL object failed: Debug interface is locked.".

       May someone can help me to slove this problem?  I have tried to do the  forced mass erased but it still report such error. (plese refer to the following picture).

       Thanks~!

  • If you are not able to do mass erase, you have bricket the chip and you have to get a new chip.

    The only way you should be able to get into this situation is to flip a bit in the CCFG ara that prevent mass erase. What have you set in the CCFG and how does the CCFG section look like in the last hex file you flashed you chip with? 

  • step1:download TI sample: host_test.hex  >>successfully

    step2:download TI sample: simple_peripheral.hex >>successfully

    step3:download my application(based on simple_peripheral  demo) >>failed  (Unable to start target CPU, Failed to delete page range: 0-26,30-31.)

    ==============here's the log================

     >Initiate access to target: XDS-18122819.

    >Reading file: D:/develop_tools/ti/simplelink_cc2640r2_sdk_2_40_00_32/examples/rtos/CC2640R2_LAUNCHXL/ble5stack/hexfiles/cc2640r2lp_host_test.hex.

    >Start flash erase ...

    >Erase finished successfully.

    >Start flash programming ...

    >Programming finished successfully.

    >Start flash verify ...

    >Skip verification of unassigned page: 28.

    >Skip verification of unassigned page: 29.

    >Page: 0 verified OK.

    >Page: 1 verified OK.

    >Page: 2 verified OK.

    >Page: 3 verified OK.

    >Page: 4 verified OK.

    >Page: 5 verified OK.

    >Page: 6 verified OK.

    >Page: 7 verified OK.

    >Page: 8 verified OK.

    >Page: 9 verified OK.

    >Page: 10 verified OK.

    >Page: 11 verified OK.

    >Page: 12 verified OK.

    >Page: 13 verified OK.

    >Page: 14 verified OK.

    >Page: 15 verified OK.

    >Page: 16 verified OK.

    >Page: 17 verified OK.

    >Page: 18 verified OK.

    >Page: 19 verified OK.

    >Page: 20 verified OK.

    >Page: 21 verified OK.

    >Page: 22 verified OK.

    >Page: 23 verified OK.

    >Page: 24 verified OK.

    >Page: 25 verified OK.

    >Page: 26 verified OK.

    >Page: 27 verified OK.

    >Page: 30 verified OK.

    >Page: 31 verified OK.

    >Verification finished successfully.

    >Reset target ...

    >Reset of target successful.

    >Initiate access to target: XDS-18122819.

    >Reading file: D:/develop_tools/ti/simplelink_cc2640r2_sdk_2_40_00_32/examples/rtos/CC2640R2_LAUNCHXL/ble5stack/hexfiles/cc2640r2lp_simple_peripheral.hex.

    >Start flash erase ...

    >Erase finished successfully.

    >Start flash programming ...

    >Programming finished successfully.

    >Start flash verify ...

    >Skip verification of unassigned page: 27.

    >Skip verification of unassigned page: 28.

    >Skip verification of unassigned page: 29.

    >Page: 0 verified OK.

    >Page: 1 verified OK.

    >Page: 2 verified OK.

    >Page: 3 verified OK.

    >Page: 4 verified OK.

    >Page: 5 verified OK.

    >Page: 6 verified OK.

    >Page: 7 verified OK.

    >Page: 8 verified OK.

    >Page: 9 verified OK.

    >Page: 10 verified OK.

    >Page: 11 verified OK.

    >Page: 12 verified OK.

    >Page: 13 verified OK.

    >Page: 14 verified OK.

    >Page: 15 verified OK.

    >Page: 16 verified OK.

    >Page: 17 verified OK.

    >Page: 18 verified OK.

    >Page: 19 verified OK.

    >Page: 20 verified OK.

    >Page: 21 verified OK.

    >Page: 22 verified OK.

    >Page: 23 verified OK.

    >Page: 24 verified OK.

    >Page: 25 verified OK.

    >Page: 26 verified OK.

    >Page: 30 verified OK.

    >Page: 31 verified OK.

    >Verification finished successfully.

    >Reset target ...

    >Reset of target successful.

    >Initiate access to target: XDS-18122819.

    >Reading file: D:/develop_tools/ti/simplelink_cc2640r2_sdk_2_40_00_32/examples/rtos/CC2640R2_LAUNCHXL/ble5stack/simple_peripheral/tirtos/iar/app/FlashROM_StackLibrary/Exe/ble5_simple_peripheral_cc2640r2lp_app_FlashROM_StackLibrary.hex.

    >Start flash erase ...

    >Unable to start target CPU

    >Failed to delete page range: 0-26,30-31.

    >Reset target ...

    >Reset of target successful.

    >Initiate access to target: XDS-18122819.

    >Reading file: D:/develop_tools/ti/simplelink_cc2640r2_sdk_2_40_00_32/examples/rtos/CC2640R2_LAUNCHXL/ble5stack/simple_peripheral/tirtos/iar/app/FlashROM_StackLibrary/Exe/ble5_simple_peripheral_cc2640r2lp_app_FlashROM_StackLibrary.hex.

    >Start flash erase ...

    >Unable to start target CPU

    >Failed to delete page range: 0-26,30-31.

    >Reset target ...

    >Reset of target successful.

    >Initiate access to target: XDS-18122819.

    >Create XBAL object failed: Debug interface is locked.

    >Failed to create device object.

    >Initiate access to target: XDS-18122819.

    >Create XBAL object failed: Debug interface is locked.

    >Failed to create device object.

    >Initiate access to target: XDS-18122819.

    >Error while reading memory range. Address 0x40091090.

    >Start flash erase ...

    >Erase finished successfully.

  • Have you been able to solve this? 

  • Yes , after replace another chip ,the issue solved