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.

TMS320F28388D: Zone 1 of flash memory locked

Part Number: TMS320F28388D
Other Parts Discussed in Thread: TMDSCNCD28388D, UNIFLASH

Dear TI experts.

We are writing to report an issue we are experiencing with programming the flash memory of the TMS320F28388D microcontroller on a custom board. The custom board is similar to the TMDSCNCD28388D Control Card but has a different form factor.

 

We have already produced a successful batch of this custom board with no issues. Microcontroller’s lot number on this first batch was F28388DZWTS $7A-21C2H1W G1.

 

However, we recently launched a new batch of the same custom board, and we are having problems programming the devices. In this new batch, the TMDSCNCD28388D microcontroller has the F28388DZWTS $7A-14A56GW G1 lot number.

 

We have compared units from the first and second batches and found no hardware or design issues (since the first batch works well, and the design is very similar to the TMDSCNCD28388D reference, using an FTDI FT2232HL programmed as an XDS100v2 emulator).

 

We believe that in this batch, the microcontrollers have arrived with zone 1 memory locked, and we do not know the password to unlock it.

 

The following are the messages we receive when attempting to erase the flash memory using the UNIFLASH tool:
[17/4/2023 10:38:13] [INFO] C28xx_CPU1: Warning: Failed unlocking device (zone 1) after reset.
[17/4/2023 10:38:24] [ERROR] C28xx_CPU1: Flash Programmer: Error erasing Sector 0. FMSTAT value = 1040. Operation Cancelled (0).
[17/4/2023 10:38:24] [ERROR] C28xx_CPU1: Flash Programmer: Error erasing flash. Please check if the device is locked.

 

When attempting to unlock with the default password (using UNIFLASH), we are informed that the device is locked:
[17/4/2023 14:25:31] [INFO] C28xx_CPU1: Performing Security Operation...
[17/4/2023 14:25:31] [INFO] C28xx_CPU1: Calculated Link Pointer Offset: 0x20
[17/4/2023 14:25:31] [INFO] C28xx_CPU1: Unlocking device...
[17/4/2023 14:25:31] [INFO] C28xx_CPU1: Lock status: 1
[17/4/2023 14:25:31] [ERROR] C28xx_CPU1: Error unlocking device. Device still locked. Please recheck the entered password.

 

When attempting to write to memory to program, we are told that the memory map is not suitable. This occurs with both UNIFLASH and CODE COMPOSER STUDIO.
[17/4/2023 18:04:52] [ERROR] C28xx_CPU1: File Loader: Verification failed: Values at address 0x008000@Program do not match Please verify target memory and memory map.

 

Additionally, when performing all these tasks on a card from the first production run, there are no errors.
 

Can you confirm if zone 1 of the flash memory is locked based on this information? If not, how can we confirm it? Is there any way to unlock it without knowing the passwords?

 

Thank you in advance for your assistance.

  • Hi,

    We believe that in this batch, the microcontrollers have arrived with zone 1 memory locked, and we do not know the password to unlock it.

    This is very strange. We have not seen any issue like this reported from any other customers.

    Can you confirm if zone 1 of the flash memory is locked based on this information? If not, how can we confirm it? Is there any way to unlock it without knowing the passwords?

    Yes, from error message, it is obvious that device is locked. Have you tried multiple devices/board to check this and observed same issue ?

    Regards,

    Vivek Singh

  • Hi Vivek, 

    So far, we have tested 24 devices, all of which have the same marking on the surface of the component (lot number), and all of them have given us the same results when attempting to flash, erase the memory, or unlock them.

    Thank you for your clear and concise response. We will speak with the supplier to obtain a new batch of devices.

    However, if you have any suggestions or there is any opportunity to unlock the devices, please let us know.

    Best regards! 

    José Manuel.

  • Hi,

    Our production team mentioned that this batch is from year 2021 and we must have provided these units to many customers. So far we have not heard about this issue from any customers. I am assuming these boards were assembled some where and while assembling, do they try to program anything on the device ? If yes, then I would suggest to check if something changed in the programming process. Also if possible, just try one device where nothing is program at all (it's like fresh device from TI). 

    However, if you have any suggestions or there is any opportunity to unlock the devices, please let us know.

    Device can not be unlocked with out knowing the password.

    Regards,

    Vivek Singh

  • Hi, thank you for the clues!

    We also believe that the microcontrollers have been pre-programmed. We know that the PCB assembler has not attempted to program them.

    However, it's possible that the supplier may have sold a refurbished batch, and that the microcontrollers have been previously used for another application.

    We will claim to the supplier.

    Thank you again for your assistance.