Other Parts Discussed in Thread: UNIFLASH, CONTROLSUITE
Tool/software: Code Composer Studio
Hi,
We have a batch of TMS320F28377DZWTT that cannot use on-chip Flash of CPU2. CPU1 Flash can be programmed, but CPU2 Flash cannot ( We test CPU2 RAM is ok ). All environments are the same, if I use TMX320F28377DZWTT replace it, then CPU1 & CPU2 Flash can be programmed. I use XDS100v2 & XDS200, CCS 7.1.0 & UniFlash. Is it mean CPU2 Flash can't be connected by Emulator?
The error is shown below:
[2018/3/30 上午11:09:21] [INFO] C28xx_CPU2: GEL Output: Memory Map Initialization Complete
[2018/3/30 上午11:09:21] [INFO] C28xx_CPU1: GEL Output: Memory Map Initialization Complete
[2018/3/30 上午11:09:22] [INFO] 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.
[2018/3/30 上午11:09:22] [INFO] C28xx_CPU1: 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.
[2018/3/30 上午11:09:28] [SUCCESS] Program Load completed successfully.
[2018/3/30 上午11:09:40] [INFO] C28xx_CPU2: GEL Output: Memory Map Initialization Complete
[2018/3/30 上午11:09:40] [INFO] C28xx_CPU1: GEL Output: Memory Map Initialization Complete
[2018/3/30 上午11:09:41] [ERROR] C28xx_CPU2: Error: (Error -1135 @ 0xC0CC) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 6.0.628.3)
[2018/3/30 上午11:09:41] [ERROR] C28xx_CPU2: Trouble Halting Target CPU: (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.628.3)
[2018/3/30 上午11:09:41] [ERROR] C28xx_CPU2: Error: (Error -1135 @ 0xC0CC) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 6.0.628.3)
[2018/3/30 上午11:09:42] [ERROR] C28xx_CPU2: Unable to determine target status after 20 attempts
[2018/3/30 上午11:09:42] [ERROR] 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
[2018/3/30 上午11:09:46] [ERROR] C28xx_CPU1: 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.628.3)
[2018/3/30 上午11:09:46] [ERROR] C28xx_CPU1: Error: (Error -1135 @ 0x3FF16A) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 6.0.628.3)
[2018/3/30 上午11:09:46] [ERROR] C28xx_CPU1: Unable to determine target status after 20 attempts
[2018/3/30 上午11:09:46] [ERROR] 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
[2018/3/30 上午11:10:02] [ERROR] C28xx_CPU2: Error occurred during flash operation: Could not read 0x0007026D@Data: target is not connected
[2018/3/30 上午11:10:02] [ERROR] C28xx_CPU2: Error occurred during flash operation: Could not write 0x0005F444@Data: target is not connected
[2018/3/30 上午11:10:02] [ERROR] C28xx_CPU2: Error occurred during flash operation: Could not read 0x0005F444@Data: target is not connected
[2018/3/30 上午11:10:02] [ERROR] C28xx_CPU2: Error occurred during flash operation: Could not read 0x00130@Program: target is not connected
[2018/3/30 上午11:10:02] [ERROR] C28xx_CPU2: Error writing the PLL values. (Flash algorithm returned error code). Operation cancelled.
[2018/3/30 上午11:10:02] [ERROR] C28xx_CPU2: Error occurred during flash operation: Could not write 0x0005D200@Data: target is not connected
[2018/3/30 上午11:10:02] [ERROR] C28xx_CPU2: File Loader: Memory write failed: Unknown error
[2018/3/30 上午11:10:02] [ERROR] C28xx_CPU2: Error occurred during flash operation: Could not read register PC: target is not connected
[2018/3/30 上午11:10:02] [ERROR] C28xx_CPU2: Error occurred during flash operation: Could not write 0x0005F800@Data: target is not connected
[2018/3/30 上午11:10:02] [ERROR] C28xx_CPU2: Error occurred during flash operation: Could not write 0x00000@Program: target is not connected
[2018/3/30 上午11:10:02] [ERROR] C28xx_CPU2: Error occurred during flash operation: Cannot enable while the target is disconnected
[2018/3/30 上午11:10:02] [ERROR] C28xx_CPU2: Error occurred during flash operation: Could not read 0x0005F444@Data: target is not connected
[2018/3/30 上午11:10:02] [ERROR] C28xx_CPU2: Error occurred during flash operation: Could not read 0x0007026D@Data: target is not connected
[2018/3/30 上午11:10:02] [ERROR] C28xx_CPU2: Error occurred during flash operation: Could not write 0x0005F444@Data: target is not connected
[2018/3/30 上午11:10:02] [ERROR] C28xx_CPU2: Error occurred during flash operation: Could not read 0x0005F444@Data: target is not connected
[2018/3/30 上午11:10:02] [ERROR] C28xx_CPU2: Error setting the GSxMSEL register for Flash operations
[2018/3/30 上午11:10:02] [ERROR] C28xx_CPU2: Error occurred during flash operation: Failed to run target while trying to execute pwrite_en.alg
[2018/3/30 上午11:10:02] [ERROR] C28xx_CPU2: Flash operation timed out waiting for the algorithm to complete. Operation cancelled.
[2018/3/30 上午11:10:02] [ERROR] C28xx_CPU2: Error occurred during flash operation: Could not read 0x0007026D@Data: target is not connected
[2018/3/30 上午11:10:02] [ERROR] C28xx_CPU2: Error occurred during flash operation: Could not write 0x0005F444@Data: target is not connected
[2018/3/30 上午11:10:02] [ERROR] C28xx_CPU2: Error occurred during flash operation: Could not read 0x0005F444@Data: target is not connected
[2018/3/30 上午11:10:02] [ERROR] C28xx_CPU2: Error occurred during flash operation: Could not read 0x0007026D@Data: target is not connected
[2018/3/30 上午11:10:02] [ERROR] C28xx_CPU2: Error occurred during flash operation: Could not write 0x0005D200@Data: target is not connected
[2018/3/30 上午11:10:02] [ERROR] C28xx_CPU2: Error occurred during flash operation: Could not read 0x5D200@Program: target is not connected
[2018/3/30 上午11:10:02] [ERROR] C28xx_CPU2: Error occurred during flash operation: Could not read 0x0007026D@Data: target is not connected
[2018/3/30 上午11:10:02] [ERROR] C28xx_CPU2: Flash Programmer: Unable to acquire the clock semaphore. The other core might still be accessing the clock registers. Operation Cancelled.
[2018/3/30 上午11:10:02] [ERROR] C28xx_CPU2: Error occurred during flash operation: Could not write register PC: target is not connected