# Photon flashed once, now can't flash again

**URL:** <https://community.particle.io/t/photon-flashed-once-now-cant-flash-again/21637>\
**Category:** Troubleshooting\
**Created:** [March 31, 2016, 5:37pm UTC](https://community.particle.io/t/photon-flashed-once-now-cant-flash-again/21637 "2016-03-31T17:37:16Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![dfreymann](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/dfreymann/32/4612_2.png) [@dfreymann](https://community.particle.io/u/dfreymann)\
**Post date:** [April 1, 2016, 12:59am UTC](https://community.particle.io/t/photon-flashed-once-now-cant-flash-again/21637/3 "2016-04-01T00:59:15Z")

</div>

SOLUTION (part 1) - I was able to flash new code by entering Safe Mode:

> To put your device in Safe Mode:  
> • Hold down BOTH buttons  
> • Release only the RESET button, while holding down the SETUP button.  
> • Wait for the LED to start blinking magenta  
> • Release the SETUP button

This put the Photon in a state that was easily flashed.

ISSUE (color flashes) - Here are the two flashes that I'm getting when I run the code above:

![](https://us1.discourse-cdn.com/flex026/uploads/particle/original/2X/3/321b6f510aeb039c3dcce462fa0ccd76044f3fc2.png)

&  
 ![](https://us1.discourse-cdn.com/flex026/uploads/particle/original/2X/a/a9906e9bd0bdec61aeac740e6f407721901591b7.png)

PROBLEM (I2C issue) - Code that eliminates the Wire.beginTransmission(); and Wire.endTransmission(); statements just sits there, prints to Serial.print(), and pulses like it should.

So I'll start trying to dissect what the problem is, and will update. I've noticed I2C [issues](http://community.particle.io/t/i2c-on-core-suddenly-stopped-working/15302) [previously](http://community.particle.io/t/serial-print-s-to-unconnected-usb-corrupting-i2c/12414).

---

_[View the full topic](https://community.particle.io/t/photon-flashed-once-now-cant-flash-again/21637)._
