Other Parts Discussed in Thread: C2000WARE
Tool/software: Code Composer Studio
HI,
I have a control board based on a TMS320F28379S. which Boot Mode select module like this:
As this SchDoc title describes, this boot mode select modue hardware design based on the LAUNCHPAD_F28379D Board.
When I start to debug an example program, the S1's status is: TRST to 1, GPIO72 to 1, GPIO84 to 1. After i launch the Target Configurations file, and click the "Connect The Target" button,then errors come out :
C28xx_CPU1: Trouble Writing Memory Block at 0x5f452 on Page 1 of Length 0x1: (Error -1041 @ 0x5F453) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 8.0.903.2) C28xx_CPU1: GEL: Error while executing OnTargetConnect(): Target failed to write 0x0005F452@Data at *((int *) 0x5F452)=0xFFFF [f28379s.gel:79] at OnTargetConnect() C28xx_CPU1: Trouble Reading Register ST1: (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 8.0.903.2) C28xx_CPU1: Trouble Reading Register ST1: (Error -1156 @ 0x6) Device may be operating in low-power mode. Do you want to bring it out of this mode? Choose 'Yes' to force the device to wake up and retry the operation. Choose 'No' to retry the operation without waking the device. (Emulation package 8.0.903.2) C28xx_CPU1: Trouble Reading Register ST1: (Error -1156 @ 0x6) Device may be operating in low-power mode. Do you want to bring it out of this mode? Choose 'Yes' to force the device to wake up and retry the operation. Choose 'No' to retry the operation without waking the device. (Emulation package 8.0.903.2) C28xx_CPU1: Trouble Reading Register ST1: (Error -1156 @ 0x6) Device may be operating in low-power mode. Do you want to bring it out of this mode? Choose 'Yes' to force the device to wake up and retry the operation. Choose 'No' to retry the operation without waking the device. (Emulation package 8.0.903.2) C28xx_CPU1: Error occurred during flash operation: Earlier errors prevented reading 0x0005F800@Data C28xx_CPU1: 2 other operation(s) were automatically canceled as a result C28xx_CPU1: Trouble Reading Register ST1: (Error -1156 @ 0x6) Device may be operating in low-power mode. Do you want to bring it out of this mode? Choose 'Yes' to force the device to wake up and retry the operation. Choose 'No' to retry the operation without waking the device. (Emulation package 8.0.903.2) C28xx_CPU1: Error occurred during flash operation: Earlier errors prevented reading 0x70268@Program C28xx_CPU1: 2 other operation(s) were automatically canceled as a result C28xx_CPU1: Error: (Error -1135 @ 0x806E) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 8.0.903.2) 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_CPU1: Error occurred during flash operation: Could not write 0x5FB00@Program: target is not connected C28xx_CPU1: Error occurred during flash operation: Could not write 0x0005F800@Data: target is not connected C28xx_CPU1: Error initializing flash programming: Interface returned from dll, but flash is not available on this device.
But when I set S1's status to:TRST to 1, GPIO72 to 0, GPIO84 to 1,or TRST to 1, GPIO72 to 1, GPIO84 to 0. The debugging process is all good. (Both run at RAM and Flash.)
Question:
1) Is there a specific Boot Mode when debugging via an emulator?
2) If 1) is Yes, then, Why the S1 all to 1(TRST to 1, GPIO72 to 1, GPIO84 to 1) works good at the LaunchPad?