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: Erase memory under IAR ,it will lock the device ???

Part Number: CC1310

today I try to erase memory under iar ewarm v8.11,,, and the chip was locked, cannot download fw for debugging ....

I did this before ,but today the chip was locked......  :(  

I think maybe this CCFG data was lost. so that is why the chip be locked ?  but why cannot force mass erase ???

from the SDK DOC :

"The device security data located in the customer configuration area of the flash top sector, must have valid values at all times. These values affect the configuration of the device during boot."

  • "today I try to erase memory under iar ewarm v8.11,,, and the chip was locked, cannot download fw for debugging": Could you describe what you did in detail? 

  • Just did this command,,,, and then the chip was locked.    it the same as I reported before.    shows cc1310 online at smartrf studio 7 ,,,but cannot to do force mass erase...

    Sorry about my poor English...

  • I tested this on one of my boards and I have full access to the chip afterwards.

    If you place a empty file named flash0.trace in the same directory as your .eww file you will get a log of what the "erase memory" command does.
  • the same problems don't recur every time.

    I think the CCFG was lost , so if the CCFG was lost ,the chip will be locked ,,,right ???

    cJTAG (TMS TCK RESET) , NOT disable , why cannot force mass erase the flash...

    and if the CCFG is so important ,why don't put check sum (like crc32 )with it..... when power up just check the checksum, if invalid then load with default values...