Updating WiFi Credentials

Post Reply
bouali
Posts: 25
Joined: Tue Mar 07, 2017 12:17 pm

I've freshly flashed my esp with a gate-module-firmware, for the beginning Nothing expected wrong. I configured the module network and works, but when I try to enter the module into his config mode to update the wifi(pass,ssid), it reboots and reconnects again to the same IP.

I respect these configurations:

PORT SETTINGS:

[CHANNEL0] RELAY1 GPIO4
[CHANNEL1] RELAY2 GPIO13
CFG BUTTON GPIO5 // pulled up to 3.3V - RES 10kohm // pressing and hold >5s...

LED
- GREEN GPIO12
- BLUE GPIO14

[CHANNEL2] INPUT_PORT1 GPIO12
[CHANNEL3] IMPUT_PORT2 GPIO14

pls help, thanks in advance.
User avatar
pzygmunt
Posts: 18207
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

Probably you have wrong flash size.
gate-module-firmware is dedicated for 2MB chip
bouali
Posts: 25
Joined: Tue Mar 07, 2017 12:17 pm

Ok, understood. my flash has 4MB size.
Thank you pzygmunt :)
User avatar
pzygmunt
Posts: 18207
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

bouali wrote: Wed Feb 21, 2018 7:30 pm Ok, understood. my flash has 4MB size.
Thank you pzygmunt :)
So, should work. Only you need set 2MB size when flashing.
User avatar
pzygmunt
Posts: 18207
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

... and don't forget upload esp_init_data_default.bin at 0x1fc000 when you set 2MB flash size
bouali
Posts: 25
Joined: Tue Mar 07, 2017 12:17 pm

I've checked the [ESP8266 SDK
Getting Started Guide].
I'll reflash it, and I will get back to you once I have a problem.
esp8266 flash  down.PNG
esp8266 flash down.PNG (109.3 KiB) Viewed 15275 times
bouali
Posts: 25
Joined: Tue Mar 07, 2017 12:17 pm

Good, worked fine now.
Thank you ;)
Post Reply

Return to “Help”