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/F28M36P63C2: We can not operate c28 core flash, but operate m3 core flash successfully.

Part Number: F28M36P63C2


Tool/software: Code Composer Studio

Hi, 

 When we debug F28M36P63C2, there is a problem that M3 core flash can be erased and programmed normally, but C28 core flash can not be erased and programmed .

There are about 7 of 180 pieces which have this problem currently.  The emulator is XDS100V3. IDE is CCS8.3.0.00009. The error message is as follows:

Cortex_M3_0: GEL Output: Memory Map Initialization Complete

C28xx_0: GEL Output:

Flash programming on Rev E/Rev F (device revision) onwards needs TI C2000 Device support package v4.1.4.3 or newer. Make sure to check and install the updates!

C28xx_0: GEL Output:

Memory Map Initialization Complete

C28xx_0: GEL Output:

RAM Initialization Complete

C28xx_0: Trouble Setting Breakpoint with the Action "Remain Halted" at 0x80e3: (Error -1066 @ 0x80E3) Unable to set/clear requested breakpoint. Verify that the breakpoint address is in valid memory. (Emulation package 8.0.903.2)

C28xx_0: Breakpoint Manager: Retrying with a AET breakpoint

C28xx_0: Error occurred during flash operation: Timed out waiting for target to halt while executing pwrite_en.alg

C28xx_0: Flash operation timed out waiting for the algorithm to complete. Operation cancelled.

C28xx_0: Perform a debugger reset and execute the Boot-ROM code (click on the RESUME button in CCS debug window) before erasing/loading the Flash.  If that does not help to perform a successful Flash erase/load, check the Reset cause (RESC) register, NMI shadow flag (NMISHDFLG) register and the Boot-ROM status register for further debug.

C28xx_0: Breakpoint Manager: Unable to remove requested AET job

Can you help me to solve this problem? Thank you very much.

  • Hi,

    Could you check and let me know the version of the TI C2000 Device support package that you have in your CCS?  It should be at least v4.1.4.3.

    Thanks and regards,

    Vamsi

  • Hi, 

    C2000 Device support package version is 4.2.7.0.

    BR.

  • Hi,

    Thank you for confirming the version.

    When failure occurs, as I suggested in the console window message (message that you copied above in your post), could you try to do debugger reset and execute the Boot-ROM code (click on the RESUME button in CCS debug window) before erasing/loading the Flash; and see if that helps?  If it still fails, check the Reset cause (RESC) register, NMI shadow flag (NMISHDFLG) register and the Boot-ROM status register to know if there is any reset/failure reported.  

    Also, please answer a few questions so that we can analyze this further:

    1. Is the board design same between failing and passing devices?

    2. Are you loading the same application image in both failing and passing cases?  

    3. Are you programming security settings as part of the image?       

    4. Is this failure occurring at the first load? Or in subsequent loads?

    Thanks and regards,

    Vamsi

  • Hi,

    Do you have an update on this? Did debug reset/resume before code load help fix the issue?

    Thanks and regards,
    Vamsi

  • Hi,

    We have tried reset/resume before code load. Unfortunately, it doesn't work.

    The RESC register is 0x0004 and the NMIFLG register is 0x0000. I think it's normal. 

    But the Z1-CR(Status and Control Register for C28X-Zone-1 security Zone) register is 0x0540.  It is different from other normal ICs which this register value is

    0x0570.

    Could you have any other suggestions? 

    Thank you very much.

    BR.

  • Hi,

    Thank you for the update.

    I will assign this to our security expert to help you further.

    Thanks and regards,
    Vamsi

  • Hi,

    This is very old thread which was not marked resolved. Just wanted to confirm if the issue was resolved so that I can close this thread. 

    Regards,

    Vivek Singh