# Issues with firmware 0.7.0

**URL:** <https://community.particle.io/t/issues-with-firmware-0-7-0/41808>\
**Category:** Firmware\
**Created:** [May 13, 2018, 6:33am UTC](https://community.particle.io/t/issues-with-firmware-0-7-0/41808 "2018-05-13T06:33:33Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![italex](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/italex/32/26312_2.png) [@italex](https://community.particle.io/u/italex)\
**Post date:** [May 13, 2018, 6:33am UTC](https://community.particle.io/t/issues-with-firmware-0-7-0/41808/1 "2018-05-13T06:33:33Z")

</div>

Installed firmware 0.7.0 and I started to have all kind of problems, like getting disconnected, not able to connect anymore until device was power off/on, etc, etc. I thought it was a router/WiFi problem, so I called provider, provider said all is good. Tried to go back to 0.6.3, I couldn’t. I installed the latest beta, devices are working fine. once again.

---

<div class="post-metadata">

**Author:** ![syrinxtech](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/syrinxtech/32/5857_2.png) [@syrinxtech](https://community.particle.io/u/syrinxtech)\
**Post date:** [May 13, 2018, 12:31pm UTC](https://community.particle.io/t/issues-with-firmware-0-7-0/41808/2 "2018-05-13T12:31:33Z")

</div>

Same here…been fighting with two installations that ran without a hitch on 0.6.3 and since the upgrade to 0.7.0 I get anywhere from 15-30 dropouts a day. Usually lasting about 10-20 seconds. Usually takes a hard power-down to clear up. A simple reset doesn’t do the trick. Nothing specific I can put my finger on so I’m suffering in silence. I keep adding code to try and work around the constant dropouts. The easy answer is it’s my code or something related to my network infrastructure but all I can say is that under the previous code these devices ran for weeks without a hitch. Now it requires daily babysitting and lots of frustration to keep it running. And, it’s not a simple, “show us your code”, as the whole project is close to 2,000 lines of code. Who is going to read through that other than me? Just wanted to say I feel your pain.

---

<div class="post-metadata">

**Author:** ![italex](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/italex/32/26312_2.png) [@italex](https://community.particle.io/u/italex)\
**Post date:** [May 13, 2018, 5:42pm UTC](https://community.particle.io/t/issues-with-firmware-0-7-0/41808/3 "2018-05-13T17:42:25Z")

</div>

I’m glad to know that wasn’t only me having issues with firmware 0.7.0 I am sure somebody else is going nut right now trying to figure why the Particle Photon is getting disconnected, etc., using firmware 0.7.0 I also have two projects. One is just a simple weather monitoring device using the BME280 sensor, but I have a more complex project that monitor the garage door(open and close door, auto-close door if left open for more than 15 minute), unlock the attic door using a solenoid, turns on/off attic’s lights, monitor the temp in the attic and turns on/off a fan if the temp reaches a predetermined values, etc.

I thought all my work was lost. I was so excited to bring my Garage Door project to China, compact it and mass production, selling it, and become rich. I guess that hope still in place 🙂

---

<div class="post-metadata">

**Author:** ![syrinxtech](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/syrinxtech/32/5857_2.png) [@syrinxtech](https://community.particle.io/u/syrinxtech)\
**Post date:** [May 13, 2018, 6:27pm UTC](https://community.particle.io/t/issues-with-firmware-0-7-0/41808/4 "2018-05-13T18:27:01Z")

</div>

I took your lead and upgraded two of my Photons to 0.8.0-rc.4. We’ll see how that goes.

For example, here is the IFTTT log from one device, just for today:

 ![23%20PM](https://us1.discourse-cdn.com/flex026/uploads/particle/original/3X/6/1/61c36abd6d37ceaddd62f647dc4890c32b6b1ed2.png)

It’s always the same…offline/online. Every once in a while, that turns into actually dropping the cloud connection and my Freeboard goes crazy until I power off and back on.

Good luck with your project…hope you strike it rich.

---

<div class="post-metadata">

**Author:** ![italex](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/italex/32/26312_2.png) [@italex](https://community.particle.io/u/italex)\
**Post date:** [May 13, 2018, 8:32pm UTC](https://community.particle.io/t/issues-with-firmware-0-7-0/41808/5 "2018-05-13T20:32:56Z")

</div>

You know, in my case, I even installed an external antenna on the weather device, that did not help, of course. I even went farther, I install an Access Point near the device, of course, that did not help as well. Yes, I get some “device went off line” messages once in a while, but the device stays up. I use Blynk on these projects. Here is drawing of my garage door project, so you can have an idea of it.

 ![Garage%20Door%20Control2](https://us1.discourse-cdn.com/flex026/uploads/particle/original/3X/e/d/ed2fd686a89df0e9bc3a1976d65fa88ee81bc0da.JPG)!  
[Garage%20Door%20Control|690x404](https://community.particle.io/404)

---

<div class="post-metadata">

**Author:** ![macsboost](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/macsboost/32/16778_2.png) [@macsboost](https://community.particle.io/u/macsboost)\
**Post date:** [May 14, 2018, 4:17am UTC](https://community.particle.io/t/issues-with-firmware-0-7-0/41808/6 "2018-05-14T04:17:25Z")

</div>

I have had the exact same experience at UNC Charlotte. My class has over 80 photons. Once we updated to 7.0.0 the wifi connections became very unstable. 0.6.3 worked. I would like a way to revert without using the command line.

---

<div class="post-metadata">

**Author:** ![syrinxtech](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/syrinxtech/32/5857_2.png) [@syrinxtech](https://community.particle.io/u/syrinxtech)\
**Post date:** [May 14, 2018, 12:20pm UTC](https://community.particle.io/t/issues-with-firmware-0-7-0/41808/7 "2018-05-14T12:20:30Z")

</div>

I upgraded two devices to 0.8.0-rc.4 and one had a rash of disconnects/connects last night. The other one, doing absolutely nothing, only disconnected once.

I’m going to go back to 0.6.3 and see what happens. I just hope the next time I flash that I don’t get “force” upgraded to 0.7.0.

---

<div class="post-metadata">

**Author:** ![seulater](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/seulater/32/280_2.png) [@seulater](https://community.particle.io/u/seulater)\
**Post date:** [May 15, 2018, 1:23am UTC](https://community.particle.io/t/issues-with-firmware-0-7-0/41808/8 "2018-05-15T01:23:15Z")

</div>

I just upgraded to 7.0.0 from 0.6.3. I too noticed that it acts funny. Had 6.3 running on 25 units 24/7 for 2 months with no problems. Upgraded to 7.0.0 and when you power the unit up the led flashes red for 4-5 seconds, then it restarts and goes cyan. Yet, pressing reset does not cause the same issue.

---

<div class="post-metadata">

**Author:** ![kasper](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/kasper/32/14366_2.png) [@kasper](https://community.particle.io/u/kasper)\
**Post date:** [May 19, 2018, 11:02am UTC](https://community.particle.io/t/issues-with-firmware-0-7-0/41808/9 "2018-05-19T11:02:40Z")

</div>

I think this topic relates to this topic:

> [@Update to 0.7.0 goes wrong](https://community.particle.io/t/update-to-0-7-0-goes-wrong/40700/37):
>
> Part 2 should not have been required there. In order to downgrade, you should first install any application firmware targeted at your system to be - to prevent an accidental OTA update in the process. Next system part 3 (for Electron only), part 2 & part 1. If you then still find your device in DFU Mode, you need another application firmware flash (e.g. particle flash --usb tinker, or your previous application). After that you probably also want to flash the bootloader that belongs to that …

And this bug report:  
[https://github.com/particle-iot/firmware/issues/1526](https://github.com/particle-iot/firmware/issues/1526)

---

<div class="post-metadata">

**Author:** ![italex](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/italex/32/26312_2.png) [@italex](https://community.particle.io/u/italex)\
**Post date:** [May 22, 2018, 11:57am UTC](https://community.particle.io/t/issues-with-firmware-0-7-0/41808/10 "2018-05-22T11:57:41Z")

</div>

I’m a little surprise that the developers have not confirmed or denied this issue. I was ready to scrap two projects that I have using the Photon, and move to the Raspberry. I guess they dont care.

---

<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:** [May 22, 2018, 12:10pm UTC](https://community.particle.io/t/issues-with-firmware-0-7-0/41808/11 "2018-05-22T12:10:41Z")

</div>

I have pinged them a bit over a week ago about this (and other 0.7.0 related) issue, but at that time they were deep into the preperations for Bay Area Maker Faire 2018 and had little time to respond, but I can assure you they are taking things serious and I can also tell you that they are putting a “task force” together to investigate and try to tackle the issues.

---

<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:** [May 22, 2018, 1:56pm UTC](https://community.particle.io/t/issues-with-firmware-0-7-0/41808/12 "2018-05-22T13:56:27Z")

</div>

I believe Particle will be investigating 0.7.0 in this sprint.

---

<div class="post-metadata">

**Author:** ![mdma](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/mdma/32/1924_2.png) [@mdma](https://community.particle.io/u/mdma)\
**Post date:** [May 24, 2018, 5:21pm UTC](https://community.particle.io/t/issues-with-firmware-0-7-0/41808/13 "2018-05-24T17:21:06Z")

</div>

That’s right @peekay123. We do take these issues seriously, and have set aside time next week to investigate.

A major change in 0.7.0 was an upgrade of the Wi-Fi stack from Cypress, which included support for WPA Enterprise.

@italex Could you please provide some more details. For example, the channel number that your router is using, and the RSSI levels reported on your router against the device that disconnects, both on 0.6.3 and 0.7.0. If possible you might try changing channels to see if that helps.

As you might imagine, we haven’t seen any of these issues in our testing and have as yet been unable to reproduce them, so any and all information you can provide will be helpful in helping us track down the cause.

---

<div class="post-metadata">

**Author:** ![italex](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/italex/32/26312_2.png) [@italex](https://community.particle.io/u/italex)\
**Post date:** [May 24, 2018, 7:48pm UTC](https://community.particle.io/t/issues-with-firmware-0-7-0/41808/14 "2018-05-24T19:48:09Z")

</div>

mdma:  
Right after I upgraded the Photon to the latest beta, and without changing anything else, problem solved. The point is: something is not working properly with firmware 0.7.0

I changed WiFI channels around, I think I went to 2 then 5, etc., that did not help at all. Other devices using the 2.4Ghz WiFi like the house’s thermostat, did not show up any problem, same for a VOIP desk phone, etc. They all worked good, and still working good.

---

<div class="post-metadata">

**Author:** ![mdma](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/mdma/32/1924_2.png) [@mdma](https://community.particle.io/u/mdma)\
**Post date:** [May 24, 2018, 7:50pm UTC](https://community.particle.io/t/issues-with-firmware-0-7-0/41808/15 "2018-05-24T19:50:30Z")

</div>

Thank you for the details. Could you please also check the RSSI levels before and after the upgrade, since I feel this sounds like a change in transmission power.

---

<div class="post-metadata">

**Author:** ![italex](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/italex/32/26312_2.png) [@italex](https://community.particle.io/u/italex)\
**Post date:** [May 27, 2018, 5:53pm UTC](https://community.particle.io/t/issues-with-firmware-0-7-0/41808/16 "2018-05-27T17:53:31Z")

</div>

mdma: I think you are correct on the transmission power level. I’m attaching a picture. The 70% level you see here, it was 80 when I had the problem. No matter what I did, that level did not change. I even brought an access point near the Photon, the level remained the same 80%. I installed an external antenna , that did not help either. Now, the vertical bars you see here are stamped every 5 minutes, if the photon misses one, you will see a missing vertical mark. As you can see here, there is not missing vertical mark, so the Photon has a stable signal.

 ![wx](https://us1.discourse-cdn.com/flex026/uploads/particle/original/3X/d/2/d2e842b0b7fabec2f7ea5c9b8eed425b571f7438.jpg)

---

<div class="post-metadata">

**Author:** ![mdma](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/mdma/32/1924_2.png) [@mdma](https://community.particle.io/u/mdma)\
**Post date:** [May 28, 2018, 1:57pm UTC](https://community.particle.io/t/issues-with-firmware-0-7-0/41808/17 "2018-05-28T13:57:01Z")

</div>

Thanks for the details! How does that compare with before the upgrade, i.e with system firmware 0.6.3?

---

<div class="post-metadata">

**Author:** ![bacichetti](https://avatars.discourse-cdn.com/v4/letter/b/47e85d/32.png) [@bacichetti](https://community.particle.io/u/bacichetti)\
**Post date:** [June 28, 2018, 3:42pm UTC](https://community.particle.io/t/issues-with-firmware-0-7-0/41808/18 "2018-06-28T15:42:33Z")

</div>

I have about 1000 online in the field and I see they going online and offline very frequently using system v0.7.0.  
Does Particle has an update on the issue @mdma?

The only common behaviour is that most of the time, the problem stops for a few/many hours after a reset cycle.  
I couldn’t find strong evidence that rssi levels have great influence. Sure devices with very low rssi levels will go offline here and there, but I can’t see a link between low rssi and the current Cloud instability.

During some tests, I found that the firmware gets stuck between loop cycles everytime a device loses Cloud connection.

---

<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:** [June 28, 2018, 4:23pm UTC](https://community.particle.io/t/issues-with-firmware-0-7-0/41808/19 "2018-06-28T16:23:45Z")

</div>

Just to clarify, the problem you describe _only_ came along once you upgraded to 0.7.0 and 0.6.3/0.6.4 works without issue without any reset "indefinetly"?

Also your symptom descriptions

> [@bacichetti](#):
>
> the problem stops for a few/many hours after a reset cycle.

would fit some code related problems too. So just to make sure, your code doesn't in any way run the risk of heap fragmentation?

---

<div class="post-metadata">

**Author:** ![seulater](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/seulater/32/280_2.png) [@seulater](https://community.particle.io/u/seulater)\
**Post date:** [June 28, 2018, 4:34pm UTC](https://community.particle.io/t/issues-with-firmware-0-7-0/41808/20 "2018-06-28T16:34:21Z")

</div>

I probably should not say this because I would not be able to take my devices off line to do it. But I wonder for those of us who are having problems with 0.7.0 could instead flash a very simple app to say blink a led every second and let that run for several days to see if all the problems go away. doing so would start to point to the cause.

I am kinda on board with @ScruffR about heap issues, or something hanky that the user may have done in code. As I too get unreliability with 0.7.0, but what changes my mind about this is that with 0.6.3 the same code works fine.

I would like to add, that I made a plant light using a Photon over a year ago using 0.6.3. Been powered up solid without a reset for over a year. Never had an issue. Didn’t touch a line of code, and updated to 0.7.0, recompiled and flashed it and noticed that far to often it would go off line and require a reset to fix. So I put it back to 0.6.3 and been running perfect for months now.

[Next page](https://community.particle.io/t/issues-with-firmware-0-7-0/41808.md?page=2)
