I am using lauterburg scripts to flash my application in RAM. these scripts were received from TI as they were private.
When I use them to flash on RAM using EVB they work fine. When I received an ECU from my customer and used the same scripts the application is flashed in RAM and run successful but it stops and trace print "debug port fail" after about 4 minutes (where also the current go down).. Any ideas why this is happening and how to fix this ?
Note: trying the same on code composer produces the same result and after the same period the following message is printed:
"CS_DAP_0: Power Failure on Target CPU: (Error -180 @ 0x0) The controller has detected a target power loss. The user must turn-on or connect the power supply for the target. (Emulation package 9.11.0.00128)
Cortex_R5_0: 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"