MCU:MPC5604P
IDE:
debug mode Error:
As shown in the figure,When I enter debug mode, the status window will show error,What does this error mean and how can I fix it.Please help me, thank you!
Hello,
Either you do not have code loaded in the micro or you access to memories is restricted by some protection mechanism.
First make sure you code in micro properly loaded.
In memory view I do not see any data.
Best regards,
Peter
Hello,
The code runs normally in the MCU, but cannot enter debug mode
But from your screenshot I see your MCU is in debug mode. Status of debugger is ready and you are stopped at _start label. But on that address I see no code. So once you run or step code you will get illegal instruction exception.
What do you mean by runs normally? Is it spinning motor or blinking with LEDs or sending some commands on serial lines?
Best regards
Peter
@stanish can you comment here?
Hi,
This issue may occur when there is either a part of memory or a register that access the unmapped/unavailable memory.
I'd suggest closing all variable and memory debugger windows and restart the debug session.
Hope it helps.
Stan