This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
When ever i want to enter a Project debug session (for HVPM_Sensorless), i encounter this error. i dont know why.
i've also checked the hardware and i connected a connector to [Main]J9 to enable the onboard emulation XDS100v1. Even if i try to enter a RAM or FLASH session. the same thing happens.
thanks.
Error:
Trouble Reading PC Register:
Error 0x00000004/-1142
Error during: Register,
Processor blocked debug accesses.
Cyrus,
Please take a look at this related post:
http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/51390/182664.aspx#182664
Hi Aarti!
Ive followed your advice from the your answer to the post:
After i pressed Run from the debug session, I enabled the real time mode, but the same error message flashed from the console window:
C28xx: Trouble Writing Register ST1: (Error -2012 @ 0x6) Requested operation cannot be done while device is running. Halt the device, and retry the operation. (Release 5.0.333.0)
C28xx: GEL: Error while executing OnTargetConnect(): target access failed.
C28xx: Failed Software Reset: (Error -1138 @ 0x0) Device refused to allow debug mode. Power-cycle the board. If error persists, confirm configuration and/or try more reliable JTAG settings (e.g. lower TCLK). (Release 5.0.333.0)
C28xx: Failed Software Reset: (Error -1138 @ 0x0) Device refused to allow debug mode. Power-cycle the board. If error persists, confirm configuration and/or try more reliable JTAG settings (e.g. lower TCLK). (Release 5.0.333.0)
Please help! Thanks!
Cyrus,
Try enabling real-time mode after establishing connection to target but before running/debugging. Basically start the debug session, enable real-time mode when target is halted and then run the code. Let us know if this sequence fails as well.
Hi Aarti!
There is another error when i connected to the target. the following messages appeared from a dialog box:
Error connecting to the target:
(Error -151 @ 0x0)
This utility failed to open the adapter for a custom emulator.
The adapter returned an error.
(Release 5.0.333.0)
Thanks!
Hi Cyrus,
There is another thread with people reporting the same issue. Some have got it working now.
See: http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/108925.aspx
Thanks
ki