I have a strange problem.
My sketck (Arduino IDE 165) work fine on MCUNODE and ESP01 and others.
Now I bought 2 Sonoff modules from Itead. I flash the sketck, connects to AP, everithing ok. GPIOoo released of course.
I disconnect and reconnect power, does no more connect to AP. Flash again the same sketck, no way in, doesn't connect.
Change the sketch to another AP, flash to Sonoff, connects, works well. I disconnect and reconnect power, does no more connect to this AP.
Only the FIRST connect works, then never ever more connects to the same AP.
Tested with the second Sonoff, exactly the same behaviour.
Any idea?
Tested with 3 different sketckes, always the same as described above. And all these sketches run on nodemcu with no problems. So I don't believe on an error in the sketck.