# SOS After Factory Reset

**URL:** <https://community.particle.io/t/sos-after-factory-reset/14285>\
**Category:** Troubleshooting\
**Created:** [August 11, 2015, 2:18pm UTC](https://community.particle.io/t/sos-after-factory-reset/14285 "2015-08-11T14:18:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![craigfoo](https://avatars.discourse-cdn.com/v4/letter/c/c67d28/32.png) [@craigfoo](https://community.particle.io/u/craigfoo)\
**Post date:** [August 11, 2015, 2:18pm UTC](https://community.particle.io/t/sos-after-factory-reset/14285/1 "2015-08-11T14:18:44Z")

</div>

My Photon runs into a SOS hard fault every once in awhile (I kinda wish I knew why, need debugger). Either way, I can typically do a firmware reset and be back in business. Currently, it seems I can’t get the code that is causing the error off the Photon. With this problem, I decided to do a Factory Reset.

So now I’m in listening mode and I set up my wifi creds using the CLI, _particle setup wifi_. That seems to work all fine and dandy. The Photon restarts, tries to connect to the Particle cloud but then gives me SOS again. I looked at my serial output and it’s still running the code that was causing the hard fault in the first place. This code is not welcome anymore and I want it gone, anyone else run in to this?

---

<div class="post-metadata">

**Author:** ![peekay123](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/peekay123/32/810_2.png) [@peekay123](https://community.particle.io/u/peekay123)\
**Post date:** [August 11, 2015, 4:15pm UTC](https://community.particle.io/t/sos-after-factory-reset/14285/2 "2015-08-11T16:15:07Z")

</div>

@craigfoo, I believe there may be an issue regarding this. Until it’s addressed, the easiest thing to do is to put the Photon in [OTA Firmware Udpate](https://docs.particle.io/guide/getting-started/modes/photon/#ota-firmware-update) mode or DFU mode and flash over Tinker or a known-good app. 😄

---

<div class="post-metadata">

**Author:** ![Moors7](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/moors7/32/588_2.png) [@Moors7](https://community.particle.io/u/Moors7)\
**Post date:** [August 11, 2015, 5:39pm UTC](https://community.particle.io/t/sos-after-factory-reset/14285/3 "2015-08-11T17:39:24Z")

</div>

Also known as [“safe mode”](https://docs.particle.io/guide/getting-started/modes/photon/#safe-mode), with some more details as to how to get there.

---

<div class="post-metadata">

**Author:** ![craigfoo](https://avatars.discourse-cdn.com/v4/letter/c/c67d28/32.png) [@craigfoo](https://community.particle.io/u/craigfoo)\
**Post date:** [August 11, 2015, 6:17pm UTC](https://community.particle.io/t/sos-after-factory-reset/14285/4 "2015-08-11T18:17:10Z")

</div>

@peekay123, putting it in OTA Firmware Update mode is a good fix. That allows me to load new firmware. Thanks!
