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.

CC1310: chip CC1310F128 is locked

Part Number: CC1310
Other Parts Discussed in Thread: UNIFLASH

Hello!

After some work with the custom device on the chip CC1310F128, my chip is locked and I can not unlock it.

I program it via CC1310 LaunchPad - XDS110

This happened after some experiments with the example nvsinternal_CC1310_LAUNCHXL_tirtos_ccs
Reading and Writing occurred from the address 0x1F000. After a while, the chip stopped programming.

I tried to do a mass erase in the SmartRF Flash Programmer. But the chip is still not programmable.

What can I try again?

UniFlash gives the result of erasing

[15.08.2018, 19:13:38] [INFO] Cortex_M3_0: GEL Output: Memory Map Initialization Complete.
[15.08.2018, 19:13:38] [INFO] Cortex_M3_0: MassErase(): Initializing.
[15.08.2018, 19:13:38] [INFO] Cortex_M3_0: MassErase(): Issuing Board Reset.
[15.08.2018, 19:13:39] [INFO] Cortex_M3_0: MassErase(): Mass erase complete.
[15.08.2018, 19:13:39] [INFO] Cortex_M3_0: GEL Output: Memory Map Initialization Complete.
[15.08.2018, 19:13:40] [ERROR] IcePick_C: Error connecting to the target: (Error -241 @ 0x0) A router subpath could not be accessed. A security error has probably occurred. Make sure your device is unlocked. (Emulation package 8.0.27.9)
  • Hello Igor,

    Can you tell me what pins you are using to flash the device and how you are connecting them to your custom board?
    If you can, can you try reading the last page of the flash using uniflash or flashprogrammer2 and send it over.
    If you connect a fresh board and try flashing one of our examples without modifying, does this happen?

    Regards,
    AB
  • The chip is connected to JTAG pins TMSC / TCKC / nRESET.

    Using flashprogrammer2, on any operations produces Error.

    >Initiate access to target: XDS-L2000JQO.

    >Failed to read target memory.

    >Error while reading memory range. Address 0x40091090.

    >Debug interface is locked. Aborting action. Only forced mass erase is possible.

    >Reset target ...

    >Reset of target successfull.

    But the operation mass erase passes correctly without errors.

    >Initiate access to target: XDS-L2000JQO.

    >Failed to read target memory.

    >Error while reading memory range. Address 0x40091090.

    >Start flash erase ...

    >Erase finished successfully.

    >Reset target ...

    >Reset of target successfull.

  • Do I understand correctly that after erasing and writing my data to the last page of flash memory 0x1F000, could I delete the configuration data and lock the jtag interface?
  • Yes. If you set specific bits in the CCFG (which is located at the last page) you can lock yourself out. See chapter 9 in www.ti.com/.../swcu117h.pdf
  • thanks.
    How then to reserve area of program memory (Flash) so that I can write down my custome data?
    for example an area of 2 SECTOR (0x2000), so that the program itself does not go into this sector?