cancel
Showing results for 
Search instead for 
Did you mean: 

Software Reset API

Aishwaryaum
Associate II

Hello all,

A very good afternoon, I hope you all are doing good

I am implementing Diagnostics in my project and in the during the implementation of service 11 I am facing the issue for software rest, I want to know which API performs the software reset in autodevkit and here I am using the example "AVAS Compact - Test Application"(shown in snippet) as my base code.

Aishwaryaum_0-1722328517926.png

So can I know which API I need to use inside my project so that it will do software rest (this is needed for me for SID_11 implementation).

Thanks & Regards,

Aishwarya UM

1 REPLY 1
Max VIZZINI
ST Employee

Hi,

You can try the following function:

SPCSetRunMode(0)

 

Alternatively you can write MCU registers by yourself:

MaxVIZZINI_1-1722347150876.png

 

MaxVIZZINI_0-1722347072306.png

 

Best Regards,

AutoDevKit Team