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.

CC2340R2: Locked Device - Can't program/erase flash

Expert 3750 points
Part Number: CC2340R2
Other Parts Discussed in Thread: UNIFLASH, LP-XDS110ET, CC2340R5

Tool/software:

Hi team,

Customer provided 5 PCBAs with CC2340R2 to their programmer vendor and they are able to read registers but can not program/erase flash. When they tried to program flash, the chip was locked. They have not been able to erase and unlock the chip.

They tried roll back with LP-XDS110ET + Uniflash to erase and unlock but failed. They've locked 3/5 PCBAs so they've stopped for now to avoid locking the rest. 

Would they be able to follow the same steps as in the related thread from a few years ago for CC2340R5 to unlock the device? I would assume they are running into essentially the same issue. 

If not, can we provide any other directions on how to unlock the devices?

Thanks,
Luke

  • Hi Luke,

    Can you please have the customer confirm that they are observing the exact same issue from the other thread?  Provide screenshots of the behavior if possible.

    What SimpleLink F3 SDK version is the customer using to program these devices?  Can they confirm using Uniflash that their IC revision is RevB/PG2?  Have they had their custom board reviewed using SIMPLELINK-2-4GHZ-DESIGN-REVIEWS with special consideration for the JTAG lines?

    I'm doubtful that the same issue is involved, but will know more after getting further details.

    Regards,
    Ryan

  • Hi Ryan,

    I am having trouble (but still working) on getting these particular answers from the programmer vendor. However, they did respond and said the following:

    "The problem is that once I operate the FLASH register on the chip, the chip can no longer read SWD's internal ID or use SWD to manipulate the registers.
    And I can't do anything with the LP-XDS110ET."

    Not sure if this gives you any additional idea as to what may be going on or what else we can have them try... I will let you know if we can get any more info out.

    Best,

    Luke

  • once I operate the FLASH register on the chip

    This isn't much more to go off of.  How are they writing to the FLASH registers and which specific registers are they changing?  Are they replicating this with TI SimpleLink SDK example code and a TI imaging tool such as CCS or Uniflash, or is their custom setup required to cause this behavior?

    Regards,
    Ryan