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.

CCS/TMS320F28069M: Device calibration not complete, device is locked.

Part Number: TMS320F28069M

Tool/software: Code Composer Studio

Hello,

I have problem with TMS320F28069M microcontroller. It´s my board design. But it´s 3rd generation of the board. I never have this problem before. The problem is with device calibration. I checked other threads, and the main issue there was with power distribution. I check it many time I doesn’t saw any problems.

After board power up and debug:

Memory map CSM password:

GEL file:

ccxml:

But after board power up, and look in memory map, CSM password is FFFF,

But after erase flash, CSM password is 0000

Thank for any advice. Best Regards Petr J.

  • I don’t believe your problem is with Device Calibration. 

    What is the current status of the device? Are you able to connect to the device using CCS? 

    I would like to determine whether the device is locked. Your screen captures show the password locations containing both 0x0000 (which means device is locked) and 0xFFFF (which means device is unlocked). What is the value of bit 0 of CSMSCR register? 

    L0 RAM is also secure. Are you able to alter the contents of L0 via the debugger?

  • It could be that the flash is in depletion. Please try the depletion recovery algorithm 3 or 4 times. If the part recovers, you can continue to use it. If not, there is no option but to replace the device.

  • I want to try your suggestions, and measure chip power supply (3.3V) and signal on XRS pin with oscilloscope, and after power up, the board is locket.

    Now is locket at any times. I try another 3 boards, and the problem is the same.

  • OK, you now have 4 devices that appear to be locked. 

    What is the past history of these devices? Were they ever programmed and successfully working? 

    Or did you face an issue while programming them for the first time? 

    Does your COFF file have passwords? 

    If your devices are locked and you are unable to connect/unlock them via CCS, I am afraid your only choice is to replace the parts. Devices may become inadvertently locked if the Erase/Program operation is disturbed due to a brown-out/black-out condition. This could also happen if the devices are current-starved during erase/program operation.

  • Yes I have 4 devices locked.

    These 4 devices were never programmed.

    These issue appear when we programed them for the first time.

    At this time we never use passwords for this microcontrollers.

    I remove one chip and change it for new, there was the same issue. But the new TMS320.... is from the same order. It might by related problem, but I am not sure.

    Now I ordered 10pc directly from TI.  I want to solder microcontroller with necessary parts to power it up directly from laboratory power supply, and we will see.

  • Before the devices are shipped from TI, there is a test that ensures that the flash is erased (including the password locations). I hope the lab power-supply solves the issue. Please ensure the power-supply has sufficient current rating for your board and that the erase/programming process is not interrupted/disturbed in anyway.

  • Closing due to inactivity.

  • The board is working now. It was due to wrong value of the capacitors soldered on the controller power supply (2.2nF against 2.2uF).


    I Am sorry for inactivity, I had to wait for the board rework.

    Best Regards Petr J