MPC5604P DEBUG mode report an error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MPC5604P DEBUG mode report an error

1,810件の閲覧回数
kabusiji
Contributor I

MCU:MPC5604P

IDE:codewarrier 5.9.0.PNG

debug mode Error:

err.PNG

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!

0 件の賞賛
返信
5 返答(返信)

1,791件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信

1,788件の閲覧回数
kabusiji
Contributor I
The code runs normally in the MCU, but cannot enter debug mode
0 件の賞賛
返信

1,765件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

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?

0 件の賞賛
返信

1,707件の閲覧回数
stanish
NXP Employee
NXP Employee

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

 

0 件の賞賛
返信

1,755件の閲覧回数
kabusiji
Contributor I
I don't know what's going on, but the debug mode works fine now, thank you very much for your reply
0 件の賞賛
返信