Hello,
My name is Bui and I am working on my new board with a F28377DZWTT.
I am using CSS 6.2.0.00048 with XDS100v2.
I have 2 projects for the 2 cores which give let's say Pac2_cpu1_bm.out and Pac2_cpu2_bm.out (Pac2 is the name of my application) and I have no break point.
I am able to load Pac2_cpu1_bm.out into flash on the CPU1 without problem.
But it is not possible to load Pac2_cpu2_bm.outinto flash on the CPU2 (CPU1 is halt).
Here what I get :
C28xx_CPU2: Error: (Error -1044 @ 0x0) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 6.0.407.6)
C28xx_CPU2: Unable to determine target status after 20 attempts
C28xx_CPU2: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging
C28xx_CPU1: Error: (Error -1135 @ 0x80AA6) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 6.0.407.6)
C28xx_CPU1: Unable to determine target status after 20 attempts
C28xx_CPU1: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging
C28xx_CPU2: Error occurred during flash operation: Could not read 0x0007026D@Data: target is not connected
C28xx_CPU2: Error occurred during flash operation: Could not write 0x0005F444@Data: target is not connected
C28xx_CPU2: Error occurred during flash operation: Could not read 0x0005F444@Data: target is not connected
C28xx_CPU2: Error occurred during flash operation: Could not read 0x00130@Program: target is not connected
C28xx_CPU2: Error writing the PLL values. (Flash algorithm returned error code). Operation cancelled.
C28xx_CPU2: Error occurred during flash operation: Could not write 0x0005D200@Data: target is not connected
C28xx_CPU2: File Loader: Memory write failed: Unknown error
C28xx_CPU2: GEL: File: C:\_INFRANOR\DEV\Pac2\C2000\Pac2_cpu2_bm\Debug\Pac2_cpu2_bm.out: Load failed.
C28xx_CPU2: Error occurred during flash operation: Could not read register PC: target is not connected
C28xx_CPU2: Error occurred during flash operation: Could not write 0x0005F800@Data: target is not connected
C28xx_CPU2: Error occurred during flash operation: Could not write 0x00000@Program: target is not connected
C28xx_CPU2: Error occurred during flash operation: Cannot enable while the target is disconnected
C28xx_CPU2: Error occurred during flash operation: Could not read 0x0005F444@Data: target is not connected
C28xx_CPU2: Error occurred during flash operation: Could not read 0x0007026D@Data: target is not connected
C28xx_CPU2: Error occurred during flash operation: Could not write 0x0005F444@Data: target is not connected
C28xx_CPU2: Error occurred during flash operation: Could not read 0x0005F444@Data: target is not connected
C28xx_CPU2: Error setting the GSxMSEL register for Flash operations
C28xx_CPU2: Error occurred during flash operation: Failed to run target while trying to execute pwrite_en.alg
C28xx_CPU2: Flash operation timed out waiting for the algorithm to complete. Operation cancelled.
C28xx_CPU2: Error occurred during flash operation: Could not read 0x0007026D@Data: target is not connected
C28xx_CPU2: Error occurred during flash operation: Could not write 0x0005F444@Data: target is not connected
C28xx_CPU2: Error occurred during flash operation: Could not read 0x0005F444@Data: target is not connected
C28xx_CPU2: Error occurred during flash operation: Could not read 0x0007026D@Data: target is not connected
C28xx_CPU2: Error occurred during flash operation: Could not write 0x0005D200@Data: target is not connected
C28xx_CPU2: Error occurred during flash operation: Could not read 0x5D200@Program: target is not connected
C28xx_CPU2: Error occurred during flash operation: Could not read 0x0007026D@Data: target is not connected
C28xx_CPU2: Flash Programmer: Unable to acquire the clock semaphore. The other core might still be accessing the clock registers. Operation Cancelled.
C28xx_CPU2: Error occurred during flash operation: Could not write register PC: target is not connected
After that, CPU1 is disconnected and run !!!
I tried differents parameters in Debug Configurations with result.
Anyone has an idea ?
Thank,
Bui