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/TMS320F28377S: C28xx_CPU1: Flash Programmer: Warning: The configured device (TMS320F28377S), does not match the detected device ()

Part Number: TMS320F28377S
Other Parts Discussed in Thread: UNIFLASH, C2000WARE

Tool/software: Code Composer Studio

Hello,

I'm using some custom boards with the TMS320F28377S processor. I have two batches of boards, identical in everything except a silkscreen, and maybe CPU chip manufacture batch. One batch flashes fine, and the other batch gives memory verification / program load errors.

Currently I am getting the following error when I try to flash:

C28xx_CPU1: GEL Output:
Memory Map Initialization Complete
C28xx_CPU1: Flash Programmer: Warning: The configured device (TMS320F28377S), does not match the detected device (). Flash Programming operations could be affected. Please consider modifying your target configuration file.
C28xx_CPU1: Flash Programmer: Error erasing Sector A. OTP checksum mismatch detected. Operation Cancelled (4).
C28xx_CPU1: File Loader: Memory write failed: Unknown error
C28xx_CPU1: GEL: File: C:\LaunchPoint Software\controller\F2837x_FLASH\controller.out: Load failed.

In UNIFLASH, the "erase flash memory" command gives the following error:

[6/19/2018, 7:07:15 PM] [INFO] C28xx_CPU1: GEL Output: Memory Map Initialization Complete
[6/19/2018, 7:07:15 PM] [INFO] C28xx_CPU1: Erasing Flash memory...
[6/19/2018, 7:07:16 PM] [INFO] C28xx_CPU1: PLL configuration status = 1. PLL configured successfully.
[6/19/2018, 7:07:18 PM] [INFO] C28xx_CPU1: Erasing Flash Bank 0, Sector A
[6/19/2018, 7:07:18 PM] [ERROR] C28xx_CPU1: Flash Programmer: Error erasing Sector A. OTP checksum mismatch detected. Operation Cancelled (4).
[6/19/2018, 7:07:18 PM] [ERROR] C28xx_CPU1: Flash Programmer: Error erasing flash. Please check if the device is locked.

The tops of the CPU chips that I am able to properly flash on shows the following:

TMS320
F28377SPZPT
YFC-6AAYP7W
G4

the ones that don't work shows the following:

TMS320
F28377SPZPT
YFC-74C41YW
G4

I am using CCSv8 and have tried both the XDS510USB emulator, and xds100v2. The xRSN pin is pulled high and measures 3.1V - so I assume it's not stuck in reset. I've used multiple different boards, all give similar errors.

 Thanks,

Vishaal

  • Vishaal,

    Thank you for bringing this to our notice. Since the devices reported OTP checksum mismatch error, I might request you to submit these parts for FA after I confirm with our manufacturing team.

    Regarding the warning "C28xx_CPU1: Flash Programmer: Warning: The configured device (TMS320F28377S), does not match the detected device()": Can you confirm the device (xml) that you selected while creating your target configuration file?

    Thanks and regards,
    Vamsi
  • Hi Vamsi,

    The only .xml file in my project directory is attached.

    HVPM_Sensorless_linkInfo.xml

    If you meant the target configuration file (.ccxml) I am not allowed to attach it by the website. The text in the .ccxml file is here:

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <configurations XML_version="1.2" id="configurations_0">
        <configuration XML_version="1.2" id="Spectrum Digital XDS510USB Emulator_0">
            <instance XML_version="1.2" desc="Spectrum Digital XDS510USB Emulator_0" href="connections/SD510USB_Connection.xml" id="Spectrum Digital XDS510USB Emulator_0" xml="SD510USB_Connection.xml" xmlpath="connections"/>
            <connection XML_version="1.2" id="Spectrum Digital XDS510USB Emulator_0">
                <instance XML_version="1.2" href="drivers/sdgoicepickusb_c.xml" id="drivers" xml="sdgoicepickusb_c.xml" xmlpath="drivers"/>
                <instance XML_version="1.2" href="drivers/sdgo28xusb.xml" id="drivers" xml="sdgo28xusb.xml" xmlpath="drivers"/>
                <instance XML_version="1.2" href="drivers/sdxds510usbcla1.xml" id="drivers" xml="sdxds510usbcla1.xml" xmlpath="drivers"/>
                <instance XML_version="1.2" href="drivers/sdgocschildusb.xml" id="drivers" xml="sdgocschildusb.xml" xmlpath="drivers"/>
                <platform XML_version="1.2" id="platform_0">
                    <instance XML_version="1.2" desc="TMS320F28377S_0" href="devices/tms320f28377s.xml" id="TMS320F28377S_0" xml="tms320f28377s.xml" xmlpath="devices"/>
                </platform>
            </connection>
        </configuration>
    </configurations>

    Thanks for the response,

    Vishaal

  • Vishaal,

    Thank you for the update. Yes, I am asking about device selected for configuring the ccxml - your ccxml looks correct for the device that you want to use.

    I am working with our manufacturing team on this. Will update you.

    Thanks and regards,
    Vamsi
  • Vishaal,

    On the failing unit, could you run the Flash programming example provided at C:\ti\c2000\C2000Ware_1_00_04_00\device_support\f2837xd\examples\dual\flash_programming ?

    I would like to know the return value from the Fapi_setActiveFlashBank(Fapi_FlashBank0) function call on the failing unit.

    Thanks and regards,

    Vamsi

  • Vamsi,

    I get the same error while trying to run this program:

    C28xx_CPU1: GEL Output:
    Memory Map Initialization Complete
    C28xx_CPU1: Flash Programmer: Warning: The configured device (TMS320F28377S), does not match the detected device (). Flash Programming operations could be affected. Please consider modifying your target configuration file.
    C28xx_CPU1: Flash Programmer: Error erasing Sector A. OTP checksum mismatch detected. Operation Cancelled (4).
    C28xx_CPU1: File Loader: Memory write failed: Unknown error
    C28xx_CPU1: GEL: File: C:\ti\c2000\C2000Ware_1_00_04_00\device_support\f2837xs\examples\cpu1\flash_programming\cpu01\ccs\CPU1_FLASH\flash_programming_cpu01.out: Load failed.


    The error seems to happen when attempting to erase the memory.

    Is there a way to see the return value of a function if I am not able to flash the program at all?

    Thanks,
    Vishaal
  • Vishaal,

    I understand.

    Did you successfully program at least once on this failing device? OR you were never able to program on this failing unit?

    Thanks and regards,
    Vamsi
  • Vamsi,

    I have never been able to program on the failing units - I have attempted this on 4 or 5 units now, and all have the same failure. I went through the component BOM as well as every layer of the layout and compared between the working and failing boards, and they are identical, except for the CPU chip markings showing YFC-6AAYP7W and YFC-74C41YW on the working and failing batch, respectively.

    They were manufactured and assembled at the same board house, and all power supplies are showing the correct voltages.

    Thanks,
    Vishaal
  • Vishaal,

    Thank you for the confirmation.
    That helps for further debug.

    Thanks and regards,
    Vamsi
  • Vishaal,

    Please contact your local FAE to initiate the return process for failure analysis.
    Let me know if you need help.

    Thanks and regards,
    Vamsi
  • Vishaal,

    One last question: Did you change any settings in the Flash Plugin GUI or are you using the default settings? Like PLL etc.

    Thanks and regards,
    Vamsi
  • Vamsi,

    Everything is default - the settings I used to try to flash the failed units are identical to the settings I use to successfully flash the working boards.

    What is FAE and how do I contact them? Is this a Texas Instruments department?

    Thanks,
    Vishaal
  • Vishaal,

    Please respond to the friend request that I sent you offline. We can discuss further details there.

    Thanks and regards,
    Vamsi
  • Vishaal,

    Glad to work with you offline on this and close it as a consequence of board issue.

    Thanks and regards,
    Vamsi