Use se_illegal Instruction to Request an illegal Instruction Exception

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

Use se_illegal Instruction to Request an illegal Instruction Exception

273件の閲覧回数
hongpingxu-b364
NXP Employee
NXP Employee

Hi,


According to NXP instruction manual, we see that this is a valid instruction and any attempt to execute this instruction should result in an exception.

Picture1.png

However, we do not see any exception when code is executed from an address containing 0’s or illegal instruction and control automatically stops in the debugger when it tries to execute this instruction.
We tried changing IP to a RAM address which contains 0’s and this can be seen in below pic (This Picture2.pngbehavior is same for Flash also):

Can you please provide guidance in resolving this issue?
Any suggestions/Insights would be really appreciated.

 

Project device : MPC5748G
Autosar version : R20-11

 

Please let me know if you need any project/module related specific information.

Best regards,

Hornby

0 件の賞賛
返信
1 返信

258件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Lauterbach see 0x0000_0000 as a SW breakpoint.

That could explain the behavior you see.

Try to execute the code without debugger.

Best regards,
Peter

0 件の賞賛
返信