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.

TMS320F28035: Unable to Flash Controller

Part Number: TMS320F28035
Other Parts Discussed in Thread: UNIFLASH

Hi 

We are working on a project where we are using TMS320F28035 controller in our custom designed board with programmer Spectrum Digital  XDS200.

We are unable to flash the final ".out" image file into the controller either via "CCSv7" or by "UNIFLASH", it states some error -"controller is either locked or not connected".

 

We tried checking the CSM password and it was set default to "FFFF".

After few attempts even the programmer is unable to get detected.

Also we tried probing the hardware and we found that "XRS" pin of controller is low.

PFA screenshot of the error and please help as we are totally stuck at this point.

 

 

Regards

Mayank Bhatt

  • I am getting these error messages - :


    C28xx: Failed CPU Reset: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 6.0.628.3)
    C28xx: Trouble Reading Register PC: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 6.0.628.3)
    C28xx: Trouble Reading Register ST1: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 6.0.628.3)
    C28xx: GEL: Error while executing OnReset(1): Target failed to read register ST1
    at (ST1&~(0x0100)) [f28035.gel:292]
    at C28x_Mode() [f28035.gel:32]
    at OnReset(1)
    C28xx: Failed CPU Reset: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 6.0.628.3)
    C28xx: Trouble Reading Register PC: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 6.0.628.3)
    C28xx: Trouble Reading Register ST1: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 6.0.628.3)
    C28xx: GEL: Error while executing OnReset(1): Target failed to read register ST1
    at (ST1&~(0x0100)) [f28035.gel:292]
    at C28x_Mode() [f28035.gel:32]
    at OnReset(1)
    C28xx: Flash Programmer: Warning: The configured device (TMS320F28035), does not match the detected device (). Flash Programming operations could be affected. Please consider modifying your target configuration file.
    C28xx: Failed CPU Reset: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 6.0.628.3)
    C28xx: Trouble Reading Register PC: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 6.0.628.3)
    C28xx: Trouble Reading Register ST1: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 6.0.628.3)
    C28xx: GEL: Error while executing OnReset(1): Target failed to read register ST1
    at (ST1&~(0x0100)) [f28035.gel:292]
    at C28x_Mode() [f28035.gel:32]
    at OnReset(1)
    C28xx: File Loader: Verification failed: Values at address 0x00000@Program do not match Please verify target memory and memory map.
    C28xx: GEL: File: C:\Users\EMB-DIWAPAN\Desktop\t_12\PV-DCtoDc_APP\WORKSPACE\PV_DCtoDC_APP\Debug\PV_DCtoDC_APP.out: a data verification error occurred, file load failed.




    Please help
  • Hello

    Did you try unlocking the device with uniflash or CCS? Also verify that your board voltages are correct.
    If the XRS is being held low, then device is held in reset. That makes it sound like a hardware issue.

    Best regards
    Chris
  • Christopher

    I tried unlocking the device with UNIFLASH as well as CCS but it states that the device is still locked.

    Regards

    Mayank Bhatt

  • Mayank,

    If XRSn pin is LOW then that is problem. You need to check your board if there is any active driver which is driving this pin LOW. Other reason for this pin to be LOW is unstable power supply.

    Regards,

    Vivek Singh 

  • Hi Vivek 

    There are some issues with custom board which our hardware engineers are looking into.

    I'll keep you posted once it is done.

    Regards

    Mayank Bhatt