One more piece of information here, to rule out any hardware (or other) problems with my Photons, I just set up a wireless hotspot on my iPhone and configured my Photon to connect to that instead of my Linksys E3000.
When connected to my iPhone instead of my router, everything works fine. I flashed to 0.4.2 (and even did a fresh build/flash from the develop branch and everything works great.
This definitely points to a compatibility/configuration issue between my Photons and router.
I hope we nail this one soon! Iāve made a small fix to the WICED library in the develop branch that I hope fixes this issue.
Anyone that has time to test, please do so and let me know!
Another thing to try when you get the chance - you mentioned that flashing with system_pad_BM-09.bin works, how about when flashing system-part1, and system-part2 as separate files?
Thereās a branch feature/wifi-connect-dhcp, where Iāve enabled debug output from WICED. Please try that branch and PM met the debug logs that are printed.
@loopj has been helping out immensely with tracking down this bug. (TL;DR - I canāt reproduce the issue so am relying heavily on people that have the problem.)
If you have the flashing green LED after updating to 0.4.2 or later and are familiar with the local toolchain, please consider trying the latest fixes!
To get the latest fixes:
checkout branch feature/wifi-connect-dhcp
delete the build/target folder
put the photon in DFU mode
run make PLATFORM_ID=6 all program-dfu COMPILE_LTO=n
And then report back here with the result - whether WiFi connected or not.
Yes, there may be other network issues since I hacked an upgrade of the LwIP stack. My focus now is on WiFi connectivity - any other issues Iāll look at once we have a confirmed fix.