Skip to main content
Associate III
July 30, 2024
Solved

Software Reset API

  • July 30, 2024
  • 1 reply
  • 766 views

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

Best answer by Max VIZZINI

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

1 reply

Max VIZZINI
Max VIZZINIBest answer
Technical Moderator
July 30, 2024

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