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/TMDSDOCK28M36: Problem with programming on flash memory in F28M36

Part Number: TMDSDOCK28M36
Other Parts Discussed in Thread: CONTROLSUITE

Tool/software: Code Composer Studio

Hi everybody,

When i want to program examples to flash of control card, CCS  says i can't erasing sector N of flash.

Until yesterday it was working, But not now.

Can everybody help me?

  • Jack,

    There isn't enough detail here for us to be able to provide specific help. 

    Please provide the details below and any other relevant information that might be helpful:

    - which version of CCS are you using?
    - which example project are you trying to program?
    - what is the exact error message? You can provide a screenshot or copy/paste the text of the entire message
    - have you tried power-cycling the board and restarting CCS?

  • Hi,
    I'm using CCS 6.1.2.00015,
    and i'm trying to program blinky project (not difference),
    Console writes this text:
    _________________________________________________________________
    Cortex_M3_0: GEL Output: Memory Map Initialization Complete
    Cortex_M3_0: GEL Output: Watchdog Timers Enabled
    Cortex_M3_0: GEL Output: UARTs Enabled
    Cortex_M3_0: Flash Programmer: Error erasing Sector N. Operation Cancelled.
    Cortex_M3_0: File Loader: Memory write failed: Unknown error
    Cortex_M3_0: GEL: File: C:\ti\controlSUITE\device_support\f28m36x\v207\F28M36x_examples_Master\blinky\m3\ccs\Flash\blinky_m3.out: Load failed.
    _________________________________________________________________

    I reset the board and CCS , but the problem isn't resolved.
    I checked these registers in debug mode, and i think CSM is enabled.
    _________________________________________________________________
    Z1_CSMKEY0 0xFFFFFFFF CSMKEY Register for M3-Zone-1 security Zone [Memory Mapped]
    Z1_CSMKEY1 0xFFFFFFFF CSMKEY Register for M3-Zone-1 security Zone [Memory Mapped]
    Z1_CSMKEY2 0xFFFFFFFF CSMKEY Register for M3-Zone-1 security Zone [Memory Mapped]
    Z1_CSMKEY3 0xFFFFFFFF CSMKEY Register for M3-Zone-1 security Zone [Memory Mapped]
    Z1_ECSLKEY0 0xFFFFFFFF ECSLKEY Register for M3-Zone-1 security Zone [Memory Mapped]
    Z1_ECSLKEY1 0xFFFFFFFF ECSLKEY Register for M3-Zone-1 security Zone [Memory Mapped]
    Z2_CSMKEY0 0xFFFFFFFF CSMKEY Register for M3-Zone-2 security Zone [Memory Mapped]
    Z2_CSMKEY1 0xFFFFFFFF CSMKEY Register for M3-Zone-2 security Zone [Memory Mapped]
    Z2_CSMKEY2 0xFFFFFFFF CSMKEY Register for M3-Zone-2 security Zone [Memory Mapped]
    Z2_CSMKEY3 0xFFFFFFFF CSMKEY Register for M3-Zone-2 security Zone [Memory Mapped]
    Z2_ECSLKEY0 0xFFFFFFFF ECSLKEY Register for M3-Zone-2 security Zone [Memory Mapped]
    Z2_ECSLKEY1 0xFFFFFFFF ECSLKEY Register for M3-Zone-2 security Zone [Memory Mapped]
    Z1_CSMLOCKSR 0x0000000F Locked Status Register for CSM passwords of M3-Zone-1 security Zone [Memory Mapped]
    Z1_ECSLLOCKSR 0x00000003 Locked Status Register for ECSL passwords of M3-Zone-1 security Zone [Memory Mapped]
    Z2_CSMLOCKSR 0x0000000F Locked Status Register for CSM passwords of M3-Zone-2 security Zone [Memory Mapped]
    Z2_ECSLLOCKSR 0x00000003 Locked Status Register for ECSL passwords of M3-Zone-2 security Zone [Memory Mapped]
    Z1_CR 0x00001800 Status and Control Register for M3-Zone-1 security Zone [Memory Mapped]
    Z2_CR 0x00001F80 Status and Control Register for M3-Zone-2 security Zone [Memory Mapped]
    Z1_GRABSECTR 0x00025000 Grab Flash-Sectors Register for M3-Zone-1 security Zone [Memory Mapped]
    Z1_GRABRAMR 0x0000000F Grab RAM-blocks Register for M3-Zone-1 security Zone [Memory Mapped]
    Z2_GRABSECTR 0x00FFFFFF Grab Flash-Sectors Register for M3-Zone-2 security Zone [Memory Mapped]
    Z2_GRABRAMR 0x0000000F Grab RAM-blocks Register for M3-Zone-2 security Zone [Memory Mapped]
    Z1_EXEONLYR 0x00003FFF Execute-Only Select Register for flash sectors mapped to M3-Zone-1 security Zone [Memory Mapped]
    Z2_EXEONLYR 0x00003FFF Execute-Only Select Register for flash sectors mapped to M3-Zone-2 security Zone [Memory Mapped]
    _________________________________________________________________

    I think master subsystem's flash is locked.
    Is there any way to unlock my flash?
    On the way, i can program examples on RAM.

  • Jack Golma said:
    I think master subsystem's flash is locked.
    Is there any way to unlock my flash?

    Please see if the suggestions in this post help. If they do not, I would suggest posting to the C2000 device forum as the experts there should be able to provide specific guidance on how to get the device to unlocked state.