Part Number: TMS320F2812
Tool/software: Code Composer Studio
Hi,
I have been struggling with this for a while, but it is completely random when I'll be able to flash my target (TMS320F2812 using Code Composer Studio 7.2.0.00013 and a TI Docking station USB-EMU R3) and when not. I can try one time and it will succeed, the next time I get the following errors:
C28xx: Trouble Writing Register PC: (Error -1156 @ 0x0) 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 6.0.628.3)
C28xx: Error occurred during flash operation: Target failed to write register PC
C28xx: Failed CPU Reset: (Error -1041 @ 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)
C28xx: Trouble Reading Register PC: (Error -1156 @ 0x0) 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 6.0.628.3)
C28xx: 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 6.0.628.3)
C28xx: GEL: Error while executing OnReset(1): Target failed to read register ST1
at (ST1&~(0x0100)) [f2812.gel:286]
at C28x_Mode() [f2812.gel:38]
at OnReset(1)
C28xx: Error occurred during flash operation: CPU Reset error. Error code 1
C28xx: Trouble Writing Register PC: (Error -1156 @ 0x0) 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 6.0.628.3)
C28xx: Error occurred during flash operation: Target failed to write register PC
C28xx: Flash Programmer: Error encountered when writing to flash memory
C28xx: File Loader: Memory write failed: Unknown error
C28xx: GEL: File: D:\CCSProjects\CCS6\test\Debug\test.out: Load failed
So mainly it seems to be a low-power problem (Error -1156) and Error -1041. I don't understand: I always use the same power supply, whenever it works or not. Today I have tried multiple times to flash the target and it gives this error. It takes hours and is not efficient. I wonder why it works one time and the next time not while the conditions are the same. Could anybody help me here?
Best regards, Michiel van Rijnbach.
