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/TMS320F28379D: Dual Core Programing Issue

Part Number: TMS320F28379D
Other Parts Discussed in Thread: CONTROLSUITE,

Tool/software: Code Composer Studio

Hi,

I am working on TMS dual core controller. I am facing issues while burning code in 2nd core. For reference i am using Controlsuit dual core blinky example code for both the core. I am able to burn code in 1st core without any difficulty and the code is also running fine, but with 2nd core i am getting following note on consol with failure-

Memory Map Initialization Complete
C28xx_CPU2: If erase/program (E/P) operation is being done on one core, the other core should not execute from shared-RAM (SR) as they are used for the E/P code. Also, CPU1 will be halted to determine SR ownership for the CPU which will run the Flash Plugin code, after which CPU1 will be set to run its application. User code execution from SR could commence after both flash banks are programmed.
C28xx_CPU2: Error occurred during flash operation: No core matches the pattern 'CPU1'
C28xx_CPU2: Error setting the GSxMSEL register for Flash operations
C28xx_CPU2: Error occurred during flash operation: Timed out waiting for target to halt while executing wr_pll.alg
C28xx_CPU2: Error writing the PLL values (Flash algorithm timed out). Operation cancelled.
C28xx_CPU2: Error occurred during flash operation: No core matches the pattern 'CPU1'
C28xx_CPU2: File Loader: Memory write failed: Unknown error
C28xx_CPU2: GEL: File: D:\PROJECTS\blinky_dc_cpu02\CPU2_FLASH\blinky_dc_cpu02.out: Load failed.
C28xx_CPU2: Error occurred during flash operation: No core matches the pattern 'CPU1'
C28xx_CPU2: Error setting the GSxMSEL register for Flash operations

Please help me with this.

Regards,

Shahina.

  • Shahina,

    Can you send me the CCXML you are using? It looks like the code is looking for the 'CPU1' string in the CCXML to look up the first core, but it is not able to find it. We might be able to update the CCXML to get this to work.

    Thanks,
    Ricky
  • Hi Ricky,

    I am using the same ccxml file given in controlsuite > F2837XD>v200 (using dual core blinky code).

    Regards,
    Shahina.
  • Shahina,

    I looked at the CCXML that comes with the version of ControlSuite I have, and I don't see any issues with it.

    Can you send me a screenshot of the CCXML Advanced information? (Double Click on the ccxml, and then click on the 'Advanced' tab at the bottom.

    I've attached a screenshot of my CCXML for reference.

    Thanks,

    Ricky

  • hi,

    i am sending you the screenshot. Its same as yours. Can you explain me the procedure to program both the core. May be i am missing something.

  • Shahina,

    When accessing CPU2 on TMS320F28379D, access to CPU1 is required for requesting access. Based on the error message you are getting "C28xx_CPU2: Error occurred during flash operation: No core matches the pattern 'CPU1'", it looks like it is not able to find CPU1 in your configuration (ccxml) file. This is why I wanted to see if it is available in your CCXML or not. But based on your screenshot, it looks like "C28xx_CPU1" is available, so I'm not sure why you are getting this error.

    Can you make sure that CPU1 is available and connected when trying to load code to CPU2 again?

    Thanks,
    Ricky