Search found 9 matches

by krekos
Sat May 11, 2019 11:53 am
Forum: ESP32 boards
Topic: Can't connect WiFi after restart
Replies: 23
Views: 24798

Re: Can't connect WiFi after restart

@kevinkk525 in my original code i have loop with sleep(0.1) until i succesfully connect to Wifi ... But when i start to debug the problem i strip the code to the basic ... So i wrote to the forum only the simplest code which i used to debug ..
by krekos
Fri May 10, 2019 4:22 pm
Forum: ESP32 boards
Topic: Can't connect WiFi after restart
Replies: 23
Views: 24798

Re: Can't connect WiFi after restart

@pythoncoder I was trying this behaviour on similar code. I type SSID and Password manualy without For loop.

And i also tried it on different wifi Devices with same result.
by krekos
Wed May 08, 2019 11:42 am
Forum: ESP32 boards
Topic: Can't connect WiFi after restart
Replies: 23
Views: 24798

Re: Can't connect WiFi after restart

Setting IP in the code works. So i'm good for a while.

But how to fix auto-obtaing the IP? My project depends on it.
Thanks
by krekos
Wed May 08, 2019 11:25 am
Forum: ESP32 boards
Topic: Can't connect WiFi after restart
Replies: 23
Views: 24798

Re: Can't connect WiFi after restart

I tried multiple AP's but none of them work. Also in DHCP settings in my AP i set static IP for ESP board.
But didnt ttry set ip right in board code. I'll try then
by krekos
Wed May 08, 2019 8:56 am
Forum: ESP32 boards
Topic: Can't connect WiFi after restart
Replies: 23
Views: 24798

Can't connect WiFi after restart

Hello i just encounter this problem. I succesfully connect to WiFi AP. But after i Reset Board i cannot connect to Wifi. It doesent matter if i reset board with button, machine.reset() or sys.exit(). Reflashing firmware doesn't help, but after some time not using the board I can coonect again until ...
by krekos
Tue Oct 30, 2018 9:21 pm
Forum: ESP8266 boards
Topic: Custom modules in v1.9.4-443 firmware now boot.py and main.py won't load
Replies: 13
Views: 7718

Re: Custom modules in v1.9.4-443 firmware now boot.py and main.py won't load

OK. my mistake. when i upload boot.py with example blinking LED it worked. So i start to debuging my boot.py and it seams i have some bug in it. But i dont saw it because with my firmware, when i use print() it didnt print into console for some reason. But main probmlem with boot.py seams to be gone...
by krekos
Tue Oct 30, 2018 8:19 pm
Forum: ESP8266 boards
Topic: Custom modules in v1.9.4-443 firmware now boot.py and main.py won't load
Replies: 13
Views: 7718

Re: Custom modules in v1.9.4-443 firmware now boot.py and main.py won't load

I have boot.py in FS but ESP always boot to REPL and my boot.py is not started.
by krekos
Tue Oct 30, 2018 7:26 pm
Forum: ESP8266 boards
Topic: Custom modules in v1.9.4-443 firmware now boot.py and main.py won't load
Replies: 13
Views: 7718

Re: Custom modules in v1.9.4-443 firmware now boot.py and main.py won't load

File system? what you mean by that?? boot.py and main.py must be "fozen" in firmware??

When i was trying "Hello word" app, with orginal firmware from Site, i upload boot.py to board using mfpshell. And everything was Ok. but now with my own compiled firmware, boot.py don't run.
by krekos
Tue Oct 30, 2018 4:39 pm
Forum: ESP8266 boards
Topic: Custom modules in v1.9.4-443 firmware now boot.py and main.py won't load
Replies: 13
Views: 7718

Re: Custom modules in v1.9.4-443 firmware now boot.py and main.py won't load

Hello. I'm starting with micropython and i have same problem. When iwas using firmware downloaded directly from Site i have no problem with runing boot.py after restarting board. But when i compile firmware with added modules, ESP start to ignore boot.py which is in flash ... Please can somebody tel...