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/TMS320F28069: TMS320F28069

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

Tool/software: Code Composer Studio

I am using CCS Uniflash:- Version: 3.1 to download the program using Spectrum digital C2000 XDS510LC emulator. ".out"  file generated by CCS5.2  But encountered following two error.

1. Error connecting to the target: Error 0x80000200/-140 Fatal Error during: OCS, Error generated by SD scan controller module

2. C28xx: Flash Programmer: Error when performing depletion recovery. Flash operation timed out waiting for the algorithm to complete. Operation cancelled.

I have checked supply voltages, Device selection and connections, All found OK. Please suggest possible solution.

Thanks & Regards,
Kishan

  • Kishan,

    1) Error message in Error 0x80000200/-140 Fatal Error during: OCS, Error generated by SD scan controller module suggests JTAG related error. Assuming you were able to connect to the device earlier, this may not be a genuine JTAG error. You may be getting this error because your device is in locked state and ECSL logic is tripping your JTAG. I'm not too concerned about this error.

    2) When depletion recovery algorithm times out. It just suggests the certain flash memory locations are in an over-erased condition which couldn't be recovered. Unfortunately, when this happens your only option is to replace the part as the part cannot be salvaged.

    processors.wiki.ti.com/.../FAQs


    Regards,
    Manoj
  • SIr,

    1) I have not set password in my code neither power failure occurs during loading, Then how it can be locked?
    2) I have programmed only 2-3 times, So what are possible reasons for over-erased condition?

    Thanks & Regards,
    KIshan
  • Kishan,

    Check whether you have selected "Erase, Program and verify" option in settings section?

    If device gets interrupted either by power failure, device reset, manually stopped, system hangs in middle of erase operation etc it is possible to get device in over-erased (depletion) condition. If the device got interrupted in middle of erase operation, it can corrupt CSM passwords locking the device. In short, there is no way device can get into depletion without interruption in erase flash operation. These things are explained in Flash API documented available in C2000Ware. There are also multiple post of same topic in the forum.

    Regards,
    Manoj
  • Sir,

    I have selected "Erase, Program and verify" option in settings section.
    Older program is already there is control card, Suppose if something went wrong during loading then it should corrupt my older program, I mean erase is not yet started.

    Thanks & Regards,
    Kishan

  • Kishan,

    Well unfortunately I don't know the sequence of events that got the device in this state as I'm not privy to it. Depletion is essentially an over-erased condition. You cannot possibly get the flash in that state without erase operation.

    If you are able to get connected to device, I would try re-running depletion recovery algorithm. If it fails, you don't have any option but to replace the device.

    Regards,
    Manoj
  • SIr,

    I am not able to connect for the depletion recovery algorithm, Getting error C28xx: Error connecting to the target: Error 0x80000200/-140 Fatal Error during: OCS, Error generated by SD scan controller module. So finally i have to replaced the device.

    Thanks & Regards,
    Kishan
  • Sir,

    Is it possible reason for over-erased condition, If output section created without a section specification.

    Thanks & Regards,
    Kishan
  • No, your section definition doesn't have any implication on depletion condition.

    -Manoj