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.

TMS320F2808: The TMS320F2808 is locked

Part Number: TMS320F2808
Other Parts Discussed in Thread: UNIFLASH

Tool/software:

Hi Support Team,

My Tms320f2808 MCU on the control card on doc-station is locked when i was booting from flash. 
i think it is because power supply problem because i was using the mcu standalone and connecting power supply 5v external.
anyway, the password is shown in debugger in CCS with zeros because its now secured. i tried to erase the flash but it always shows that the mcu is locked. 
Also, i tried to read the device memory on the CCS but it was zeros. But when i used Uniflash programmer the sections of passwords are prevented by memory map to be read.

1- can u please tell me how can i read the target device especially the address 0x003f7ff8 that stores the csm password?
2- can u please tell me if i have debugger jtag like xdsv2, Will I be able to erase the flash contents without any error?
3- can you please tell me any solution i can make to unlock the mcu again?

  • Hi Abdelrahman,

    1) Passwords cannot be read unless the device has been unlocked, this is a feature of password protection for the device. 

    2) With debugger jtag like the XDS100v2, if the device is unlocked you should be able to erase the contents.

    3) Did you previously have a password before the device was locked? Do you remember what the passwords were at time of lock, were they the default passwords? Have you tried the 'Unlock Button' in the CCS GUI?

    Thanks and regards,

    Charles

  • Hi Charles,
    Yes i tried to unlock from CCS debuger with the default password 0xffff, but unfortunately it gives me the mcu is locked.
    Also, I tried to unlock from uniflash programmer gui and the same error.
    Regards to the password, i didn;t do anything the mcu was new and it was standalone chip and i connected the jtag with its pins and the power supply 5v with the power of mcu and i got this error.
    the Gel file is the default configurations which read the password and store in memory 0xffff.
    ---------
    Regards to the debugger, can u please tell me cheapest debugger i can buy to be able to erase the flash memory because there is no debugger is called "XDSVS" when i searched on it.

  • Hi Abdelrahman,

    Sorry the XDSVS was a typo, meaning to denote the XDS100v2 debug probe which connects to the docking station. 

    I'll ask some of our experts to get feedback on this scenario.

    Thanks and regards,

    Charles

  • Hi Abdelrahman,

    Did you notice any power loss caused by the 5V supply to the device during Flash Boot? It's likely that the password in main array has been affected by power loss. Are you able to test this on another device (with another supply if able)? If another device is in operation, it is likely you will have to replace the part.

    Thanks and regards,

    Charles

  • Hi Charles, 
    Firstly, I am using the XDS100V1 debug probe "the normal cable that coming with the docstation". not the XDS100V2 because it differs.

    Secondly, I tried to replace the locked mcu in good docStation and its the same problem. So i want to know if i bought the XDS110 debug probe or the XDS110 USB DSP Emulation, Will i be able to erase the contents of the flash using Cgang gui software or not?
    ---
    Because now when i use the Cgang Software with XDS100V1, it gives me communication error, because it only supports jtag or cjtag.

  • Hi Abdelrahman,

    Can you show the settings used for your CGANG Software with the XDS100v1, do you have the Target - Supplied by Programmer voltage = 3.3V option turned on or off?

    It's likely the choice of debug probe will not change the erase procedure for this device. Can you provide an image of your setup, both physical and settings in the CGANG Software? The XDS100v2 debug probe attaches to the docking station correct?

    Thanks,

    Charles