# How is the software reset implemented (Boron and Electron)

**URL:** <https://community.particle.io/t/how-is-the-software-reset-implemented-boron-and-electron/51983>\
**Category:** Firmware\
**Tags:** electron, boron\
**Created:** [September 3, 2019, 10:05pm UTC](https://community.particle.io/t/how-is-the-software-reset-implemented-boron-and-electron/51983 "2019-09-03T22:05:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![NickOveracker](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/nickoveracker/32/454_2.png) [@NickOveracker](https://community.particle.io/u/NickOveracker)\
**Post date:** [September 3, 2019, 10:05pm UTC](https://community.particle.io/t/how-is-the-software-reset-implemented-boron-and-electron/51983/1 "2019-09-03T22:05:18Z")

</div>

I’m trying to track down the System.reset() function implementation in Github, but I haven’t had much luck. Github’s search functionality leaves much to be desired, I’m afraid!

Can someone point me to the correct file?

---

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [September 4, 2019, 7:56am UTC](https://community.particle.io/t/how-is-the-software-reset-implemented-boron-and-electron/51983/2 "2019-09-04T07:56:50Z")

</div>

`System.reset()` just triggers the system reset interrupt (`NVIC_SystemReset()`)

for the ST32F2 based Gen2 devices this would be something like this

> <https://github.com/particle-iot/device-os/blob/1b1805fb4afcb93b0e92fbecfd28c082d6310285/hal/src/photon/wiced/platform/ARM_CM4/CMSIS/core_cm4.h#L1640>
