Other Parts Discussed in Thread: C2000WARE, DRV8301
Hello,
I'm trying to run labs for Instaspin on a custom board, and keep getting the following error message -
"Trouble Reading Register PC:
(Error -1142 @ 0x0)
Device blocked debug access because it is currently executing non-debuggable code.
Choose 'Rude Retry' to disable polite mode and force the operation.
(Emulation package 9.3.0.00058)"
Then the following message appears on a new separate tab:
"Break at address '0x3ff4fa' with no debug information available, or outside of program code."
Rude Retry does not work. Program execution stops at 0x3ff4fa, which is in the middle of the bootloader code.
Why on earth would it go there after executing the program faithfully for a little while (anywhere from 1 - 5 minutes)?
And the why would it just stop once it gets there? It looks like a software issue, just wandering off into memory
not intended for this kind of use, but it might be hardware related, since it does not occur on the
DRV8301-HC-EVM Rev. D board.
It occurs only on my custom boards, which are based heavily on the above-mentioned evaluation board.
There are 2 versions of the custom board - one with the XDS100 emulator on board, and one without
(using a separate XDS110 for debugging on this one). It happens on both.
Could this be due to cross-talk? I have a feeling my layout might be to blame...
Best Regards,
Dave