Install svc function

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

Install svc function

1,355件の閲覧回数
smruthi_ramesh
Contributor II

How to install an svc function to call a specific svc handler in for S32K148?

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

1,244件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi smruthi.ramesh@se.com,

Please take a look at this thread:

 How to make S32K146 M4 Core user mode and supervisor mode switching? 

Or you can create a new project in S32 Design Studio for ARM version 2.2, by default, every empty S32K project contains a SVC call.

Regards,

Daniel

0 件の賞賛

1,244件の閲覧回数
smruthi_ramesh
Contributor II

Hi Daniel

I tried to do the same, but it is not working. I have to implement system calls using the SVC handler. Using the SVC handler provided in the project, I am not able to extract the SVC number from the instruction "SVC 0".  Can you advice on how to proceed?

Also I am facing the Device is secure, erase to unsecure issue with the S32K148 Eval board. It was working well and suddenly happened while using the PE micro debugger. I tried to erase memory but the board is not getting programmed. I did take a look at the following posts, but none of them worked: device is secure. erase to unsecure?https://community.nxp.com/thread/461300 , Any workaround?

Regards,

Smruthi

0 件の賞賛

1,244件の閲覧回数
smruthi_ramesh
Contributor II

I figured it out. Thanks

0 件の賞賛