Can I use the API to perform a soft reset?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Is there an API call available that can be used to perform a soft reset?

I am aware that I can use a watchdog timeout to perform a soft reset but this takes 2 seconds which is not very suitable for my application.

0 Likes
1 Solution

Have you tried bleappfwu_watchdogExpired() from bleappfwu.h? This will trip the WD immediately.

View solution in original post

6 Replies
VikramR_26
Employee
Employee
25 sign-ins 10 sign-ins 10 comments on KBA

You can use this

wiced_framework_reboot();

Example code can be found in test->console->platform->platform.c reboot() method.

in WICED SDK 3.1.1 ( which goes down to a NVIC system reset)

thnx,

vik86

0 Likes
Anonymous
Not applicable

Thanks but I could not find wiced_framework_reboot() in WICED Smart SDK 2.1.1 and as far as I can tell there is no WICED Smart SDK 3.1.1 released yet.

I did find the following call which did the job though.

bleappfwu_watchdogExpired(0);

Oops my bad. I got confused with WICED Wifi .


0 Likes

I will check with the developers to see if a soft reset is possible on the BLE side of WICED.

0 Likes

Have you tried bleappfwu_watchdogExpired() from bleappfwu.h? This will trip the WD immediately.

Anonymous
Not applicable

Yes, bleappfwu_watchdogExpired(0); causes an immediate reset.  This works well.  Thanks.