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.

TMS320F2812 locked

Other Parts Discussed in Thread: UNIFLASH, TMS320F2812

Hello,

We are working with the DSP TMS320F2812 and we develop for our product a serial software upload procedure. Therefore we program a Boot code into the TMS320F2812  and load the Application via a serial interface. Suddenly we cannot reprogram the TMS320F2812... The message in CCS Uniflash is:

[TIME] ERROR >> C28xx: Flash Programmer: Error erasing flash memory. Device is locked or not connected. Operation cancelled

[TIME] Unknown error

I have read a lot about the locked behaviour and therefore I used the function Program-Save/Export Memory in CCS Uniflash to read out the area 0x3F7FF8 - 0x3F7FFF and in this area are just Zeros. Additional I have read out the area 0x3D7BFC - 0x3F7FFF and this area are also filled with Zeros... So I guess this device is locked. In the Software we tried to load there are no Zeros, so I am a little bit confused.

Is there a possibility to unlock this TMS320F2812? Maybe to erase everything in the µC a kind of a full reset (Hardware reset)?

Setup:

CCS UniFlash 3.4.1.00012

JTAG-Emulator XDS510 USB

Thank you very much and my best regards,

Stefan

  • Hi Stefan,

    From the description you have provided, device is indeed LOCK.

    Suddenly we cannot reprogram the TMS320F2812... The message in CCS Uniflash is:

    If this part was working fine and then all of sudden got LOCKed and the SW you are programming does not program password locations (not just zeros but any value, please confirm this from your map file) then this must have happened due to interruption of flash operation.  In this case device can not be recovered and only option is to replace the part.

    Regards,

    Vivek Singh

  • We have found a defective communication device (USB-RS232) and some commands was written, but it looks like that not the complete software code was properly programmed.
    Our software contains only “normal software parts”, but at the start of our procedure we erase the area in which we want to write our software.
    Therefore I guess it is possible that are only zeros written….

    • Can I perform a check / read out to confirm this assumption?
    • If there are only zeros written, is there an option to reset the µC?
    o And which tool I have to use to reset the µC?

    Thank you and best regards,
    Stefan
  • Hi Stefan,

    Writing zeros to flash locations other than password locations (0x3F7FF8 - 0x3F7FFF) is not an issue. If password locations are programmed as zeros then as I mentioned earlier, part need to be replaced.  If password locations are programmed as 0x0 then read to any flash locations will return 0x0.

    In such case answers to all your questions are "no". There is no tool to reset the uC if password locations are programed as ALL_ZERO.

    Regards,

    Vivek Singh

  • Hello Vivek,

    It looks like that I have to replace this µC.

    Thank you very much and best regards,

    Stefan