Categories

{{ selectedCategory.name }}

{{ topic.Title }} {{ topic.Ddate | formatDate }}

{{ topic.Content }}

No topics found!

NXP/ST Power Architecture / MPC560x, SPC560P, SPC560B: Watches & Disassembly showing illegal instructions

29-Apr-2024

Whenever a pointer is added in the Watch Window and an element is expanded in it, then debugging proceeds, all values get corrupted and in the Disassembly Window displays message Illegal Instructions.  The content of the pointer is not modified, it is only read. 


Possible solution

Avoid reading memory from an unallocated memory region

This can happen when reading from unallocated memory region using the SFR, Memory or Watch Window.  When the debugger reads from an unallocated memory region (no physical memory there), the CPU resets or the debug interface freezes and a debug reset is required then. It must be avoided reading memory from an unallocated memory region. In this case when ConfigPtr is expanded, some fields, which are read, point to an unallocated memory region. Afterwards  a debug source step is done, it makes the CPU unresponsive

Was this answer helpful?

Sorry this article didn't answer your question, we'd love to hear how we can improve it.
Note: This form won't submit a case. We'll just use it to make this article better.

Similar topics

{{ topic.Title }} {{ topic.Ddate | formatDate }}

{{ topic.Content }}

No similar topics found!

Other topics in the same category

{{ topic.Title }} {{ topic.Ddate | formatDate }}

{{ topic.Content }}

No topics found!