# Error 500 when trying to flash Raspberry Pi 3

**URL:** <https://community.particle.io/t/error-500-when-trying-to-flash-raspberry-pi-3/27537>\
**Category:** Raspberry Pi\
**Created:** [November 27, 2016, 1:00am UTC](https://community.particle.io/t/error-500-when-trying-to-flash-raspberry-pi-3/27537 "2016-11-27T01:00:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![carbuthn](https://avatars.discourse-cdn.com/v4/letter/c/f08c70/32.png) [@carbuthn](https://community.particle.io/u/carbuthn)\
**Post date:** [November 27, 2016, 1:00am UTC](https://community.particle.io/t/error-500-when-trying-to-flash-raspberry-pi-3/27537/1 "2016-11-27T01:00:54Z")

</div>

Last night, I loaded the upgraded raspbian, loaded the particle-agent and all worked as it should. Tinker and flash LED etc.

I enabled I2C, and everything came to a stop, if I try to flash firmware to flash LED I get an Error 500.

I setup another SD card, I did get Tinker to work but still can’t get the Flash LED firmware to load (Error 500).

I have tried new SD cards with updated and upgraded Raspbian and particle-agent, with only ssh enabled, but still can’t get anywhere. Guess I will need to wait until @jvanier gets back, unless someone else knows the solution to this problem.

---

<div class="post-metadata">

**Author:** ![jvanier](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/jvanier/32/5542_2.png) [@jvanier](https://community.particle.io/u/jvanier)\
**Post date:** [November 28, 2016, 4:21pm UTC](https://community.particle.io/t/error-500-when-trying-to-flash-raspberry-pi-3/27537/2 "2016-11-28T16:21:28Z")

</div>

Other people have problems with I2C. I’ll investigate this week and post and update to the [Raspberry Pi changelog](http://community.particle.io/t/raspberry-pi-changelog/27478)

---

<div class="post-metadata">

**Author:** ![will](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/will/32/23374_2.png) [@will](https://community.particle.io/u/will)\
**Post date:** [November 28, 2016, 7:29pm UTC](https://community.particle.io/t/error-500-when-trying-to-flash-raspberry-pi-3/27537/3 "2016-11-28T19:29:33Z")

</div>

Created an issue in GitHub for this one so that we can continue the discussion and track the fix, if necessary.

> <https://github.com/particle-iot/particle-agent/issues/1>

---

<div class="post-metadata">

**Author:** ![jvanier](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/jvanier/32/5542_2.png) [@jvanier](https://community.particle.io/u/jvanier)\
**Post date:** [November 29, 2016, 10:25pm UTC](https://community.particle.io/t/error-500-when-trying-to-flash-raspberry-pi-3/27537/4 "2016-11-29T22:25:30Z")

</div>

> [@carbuthn](#):
>
> I enabled I2C, and everything came to a stop

I2C support had not been added yet. It's now in there. If you want to try again, see the changelog for instructions and make sure you reboot after updating the agent to reset pins to a known good state.

> [@Raspberry Pi Changelog](http://community.particle.io/t/raspberry-pi-changelog/27478):
>
> As the beta progresses I’ll post what’s new here. If you already have the agent installed, run the install script again to upgrade. I recommend you accept all the prompts to replace your firmware by Tinker, then reboot to reset all pins to a known good state. bash \<( curl -sL https://particle.io/install-pi ) # Accept all setup prompts to replace your firmware by Tinker sudo reboot December 7, 2016 [particle-agent release 0.2.3-1](https://github.com/spark/particle-agent/releases/tag/v0.2.3-1) [BUGFIX] Firmware not lost on boot November 29, 2016 [firmware …](https://github.com/spark/firmware/tree/v0.5.1-pi.8)
