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.

CC2530 won't erase and program is it locked? How to unlock?

Other Parts Discussed in Thread: CC2530, CC2531

We have a new prototype board design containing a CC2530. We have connected it to the SmartRF05 board via the 10 pin JTAG interface. It fails to program using the Smart RF Flash Programmer. The following is the observed behaviour:

1. The SmartRF05 LCD display and SmartRF Flash Programmer correctly identify the "chip type" as "CC2530"
2. Button "Read IEEE" with "Secondary" selected reads IEEE 0x "FF FF FF FF FF FF FF FF" status message "IEEE address successfully read"
3. Button "Write IEEE" with "Secondary" selected fails with the status message "Not able to write IEEE address in code memory"
4. Button "Perform actions" with "Erase, program and verify" selected fails with the status "Flash erase failed"
5. Button "Perform actions" with "Read flash into hex-file" selected fails with the status "Debug interface locked"

Because the SmartRF05 board and SmartRF Flash Programmer both correctly identify the chip as CC2530 (and not a CC2531) it would appear that there is basic communication. Is the flash programmer reading something over the JTAG interface that identifies the chip as CC2530?

From the messages we get back from the SmartRF Flash Programmer, it would appear the chip is locked. Are CC2530 shipped "locked" from TI and if so how do we "unlock" a fresh cc2530 it so we can program it the first time?

If the above issue is not due to "locking" (we are trying to erase first), are the above results indicative of another fault?

We're sort of puzzled so any assistance would be greatly appreciated.

+ Chris Brandson

  • Hi Chris,

    Would you be able to share exactly how you have connected the smartRF05EB to the CC2530 on your prototype board. That might help in identifying the problem.

  • Hi M,

    Seems we had misunderstood how to power the level shifter on the SmartRF05 and once we identified this, the fix was easy and we were able to flash it.

    Thanks,

    + Chris

  • Hi Chris,

      I have now exactly the same problem you had. Can you confirm what is the propper way to power the level shifter?

  • We were using the SmartRF05EB board to program our prototype. The level converter / shifter is described in the second part of section 6.13 of document swru210 . Either you need to power your device externally or, since that was not convenient and our device needed 3.3V, was to run the SmartRF05EB from USB power and short R30. This is described in the schematic in Appendix B on sheet 3.

    I hope this helps,

    + Chris

  • i am using cc2530 with my own prototype board. i am using cc debugger. i checked all the connections with jtag and processor. 

    level shifter was working fine , ground pad soldering was correct.

    my cc2530 detects in smartrf programmer 

    i cant read ieee mac address. smartrf debugger detects only at rare time . in my case i can able to erase or program

    but all the functions are working once in a 50 to 60 times.. the remaining messages are"debug interface locked(erase chip to unlock)" .

    in figure i can read my mac address once which is been shown . the other time when i try to erase or program it shows the above mentioned error message