Debugging on EVK-MIMXRT1060

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Debugging on EVK-MIMXRT1060

335 Views
ArbinDhakal
Contributor I

After flashing a program using IAR enbedded workbench, the following is displayed in the debug log

: The processor cannot be debugged.
: The debug registers are not accessible or
: the CPU clock is stalled by the memory controller.
: Reset or power cycle the board.
: CPU status FAILED
: Cannot initialize DAP access.



and when trying to reset, it shows the following message on debug log

: LowLevelReset(software, delay 200)
: Failed to read SP and PC from vector table at 0x0
: Target reset
: ..\..\..\..\example_project\iar/evkmimxrt1060.mac(63,27): Error: Operation error. 
: Error while calling macro execUserReset


What could be the reason behind the messages and how can it be solved?

Thank you!

0 Kudos
Reply
0 Replies
%3CLINGO-SUB%20id%3D%22lingo-sub-2195130%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EDebugging%20on%20EVK-MIMXRT1060%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2195130%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EAfter%20flashing%20a%20program%20using%20IAR%20enbedded%20workbench%2C%20the%20following%20is%20displayed%20in%20the%20debug%20log%3C%2FP%3E%3CDIV%3E%3CSPAN%3E%3A%20The%20processor%20cannot%20be%20debugged.%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%3A%20The%20debug%20registers%20are%20not%20accessible%20or%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%3A%20the%20CPU%20clock%20is%20stalled%20by%20the%20memory%20controller.%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%3A%20Reset%20or%20power%20cycle%20the%20board.%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%3A%20CPU%20status%20FAILED%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%3A%20Cannot%20initialize%20DAP%20access.%3C%2FSPAN%3E%3C%2FDIV%3E%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3Eand%20when%20trying%20to%20reset%2C%20it%20shows%20the%20following%20message%20on%20debug%20log%3C%2FP%3E%3CDIV%3E%3CSPAN%3E%3A%20LowLevelReset(software%2C%20delay%20200)%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%3A%20Failed%20to%20read%20SP%20and%20PC%20from%20vector%20table%20at%200x0%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%3A%20Target%20reset%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%3A%20..%5C..%5C..%5C..%5Cexample_project%5Ciar%2Fevkmimxrt1060.mac(63%2C27)%3A%20Error%3A%20Operation%20error.%26nbsp%3B%3CBR%20%2F%3E%3C%2FSPAN%3E%3CSPAN%3E%3A%20Error%20while%20calling%20macro%20execUserReset%3C%2FSPAN%3E%3C%2FDIV%3E%3CP%3E%3CBR%20%2F%3EWhat%20could%20be%20the%20reason%20behind%20the%20messages%20and%20how%20can%20it%20be%20solved%3F%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you!%3C%2FP%3E%3C%2FLINGO-BODY%3E