Problems connecting to WiFi
Re: Problems connecting to WiFi
Checked out everything again and still there is no difference.
Deti
Deti
-
- Posts: 56
- Joined: Sun Dec 18, 2016 9:17 pm
Re: Problems connecting to WiFi
Interesting... I'm doing tests based on a totally fresh install of everything from Github, etc. as of a few hours ago, on a machine that didn't previously have any of this on it.
Working through the esp-idf/examples/03_http_request example, I'm encountering the same exact issue:
My SSID and password are normal ASCII and shouldn't be an issue - other devices (Particle Photon, Raspberry Pi, various appliances, phones, laptops and so on) have no problem connecting to this.
I even added a "esp_wifi_set_country(WIFI_COUNTRY_US)" call just in case that would affect things - no change.
Perhaps this is a new issue? Has this worked for others previously?
Working through the esp-idf/examples/03_http_request example, I'm encountering the same exact issue:
Code: Select all
I (x) wifi: n:11 0, o:11 0, ap:255 255, sta:11 0, prof:1
I (x) wifi: state: init -> auth (b0)
I (x) wifi: state: auth -> init (2)
I even added a "esp_wifi_set_country(WIFI_COUNTRY_US)" call just in case that would affect things - no change.
Perhaps this is a new issue? Has this worked for others previously?
-
- Posts: 56
- Joined: Sun Dec 18, 2016 9:17 pm
Re: Problems connecting to WiFi
I've opened an issue regarding this problem:
https://github.com/espressif/esp-idf/issues/207
https://github.com/espressif/esp-idf/issues/207
Re: Problems connecting to WiFi
For me it worked after checking out tag "v1.0".deti__ wrote:Checked out everything again and still there is no difference.
Deti
Code: Select all
git fetch --all --tags --prune
git checkout tag/v1.0
Re: Problems connecting to WiFi
Hi Malte,
thank you very much for your help - it works now! Originally I followed the instructions in https://github.com/espressif/esp-idf/bl ... -setup.rst
Why did nobody tell that the SDK is broken currently?
Deti
thank you very much for your help - it works now! Originally I followed the instructions in https://github.com/espressif/esp-idf/bl ... -setup.rst
Why did nobody tell that the SDK is broken currently?
Deti
Re: Problems connecting to WiFi
I thought so, too. But when you checkout master again it is still working, isn't it?deti__ wrote: Why did nobody tell that the SDK is broken currently?
Re: Problems connecting to WiFi
I don't think this brings you up to the master (at least in the recursively fetched remote repositories).
Deti
Deti
Re: Problems connecting to WiFi
no, it's just about checking out the esp-idf master and then doing a git submodule update to checkout the referenced versions.
I am not trying to checkout all master branches in the submodules!
I am not trying to checkout all master branches in the submodules!
Re: Problems connecting to WiFi
After some tests I found out, that it is necessary to fully erase the flash memory by issuing the command
~/esp/esp-idf/components/esptool_py/esptool/esptool.py --port /dev/ttyUSB0 erase_flash
Now make flash works properly.
Further reading: https://nodemcu.readthedocs.io/en/maste ... -init-data
Deti
~/esp/esp-idf/components/esptool_py/esptool/esptool.py --port /dev/ttyUSB0 erase_flash
Now make flash works properly.
Further reading: https://nodemcu.readthedocs.io/en/maste ... -init-data
Deti
Re: Problems connecting to WiFi
Hi Deti,
(BTW, you can erase flash from esp-idf itself via 'make erase_flash')
Angus
To clarify, are you saying that you couldn't connect to WiFi before you completely erased flash? Or is this related to some other problem? Is this on current 'master', or 'v1.0'?deti__ wrote:After some tests I found out, that it is necessary to fully erase the flash memory by issuing the command
~/esp/esp-idf/components/esptool_py/esptool/esptool.py --port /dev/ttyUSB0 erase_flash
Now make flash works properly.
(BTW, you can erase flash from esp-idf itself via 'make erase_flash')
Angus
Who is online
Users browsing this forum: No registered users and 68 guests