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.

28032 device is locked and load file failed, when trying to debug flash programming

Hi all,

I am  using 28032 flash programming, but when I tried to debug it the error message shows "Device Calibration not complete, check if device is unlocked and recalibrate". I cannot enter debug mode and don't know how to figure this out. Since the same board and code run well in another PC before. I have searched online and saw many similar problems, but I have no idea where to find the password location and value, since I did nothing to the password. Can anyone guide me how to check the password and then decide whether this can be unlocked or not?

Thanks!

  • Hi Zhang,

    You can open the flash address locations in CCS memory watch widow and see if all the values are 0x0. If yes, then device is LOCK. If you have not programmed the passwords in this device then most likely the password value got clear due to interruption during flash program/erase operation which has locked the device.

    Regards,
    Vivek Singh
  • Hi Vivek,

    Thanks for the reply. But where can I find the memory watch window? Do you mean memory browser? But when I click on it, there is nothing in the window but error message. Can you post a screenshot or detailed instructions on where to find it? 

    As for password, I checked it in "on chip flash" setting (continue launching despite load fail) and it was all "FFFF". So I think I did not change anything.

  • Yes, memory browser. Instead of loading the program, just connect to CCS (right click on target and then click on connect). Then you should be able to use the memory browser.
  • Hi, Were you able to check the values?
  • Hi Vivek,

    I checked the browser window, where some values were shown as 0 while others were blank. I thought it was locked and gave up trying to fix it. We replaced the dsp with new one on the board, then the board worked well again. Although I did not figure out how it was locked, I will be more careful in the future when using Flash.

    Thanks again for asking.

    Yi

  • Hi Zhang,

    What do you mean by "others were blank"? Was it 0xFFFF_FFFF or some other value? If device is locked then all the values in Flash will be 0x0. Anyway since you have replaced the device and it's working now, you may not be able to check the old device again. If you face similar issue again, let us know.

    Regards,
    Vivek Singh
  • Hi,

    As far as I can remember, last time when I checked the values in browser window, some sections are blank(there are no values shown).Maybe there is something wrong with my method to open it. I did not take screenshots and cannot remember exactly. Sorry about that. I will come to you for help if it happens again. But I hope not the same issue...

    Thanks anyway!

    Yi
  • Closing the thread.