No AP to Join / Enable Mesh Fail

vjkolaventy
Posts: 1
Joined: Fri Nov 25, 2016 3:07 am

No AP to Join / Enable Mesh Fail

Postby vjkolaventy » Fri Nov 25, 2016 4:10 am

Hi

I have installed both MESH_DEMO from Master and also the MESH_DEMO 1.3.2. Though I have no errors during compile nor during downloading the firmware, the ESP8266 module is not able connect to the AP. I have given my router SSID and Password in the user_config.h.

I have downloaded the FOTA files
esp_init_data_default.bin 0xfc000
blank.bin 0xfe000
boot_v1.4(b1).bin 0x00000
upgrade/user1.1024.new2.bin 0x01000

The no-boot files were not working with my module. LED is constantly on and I get garbage on the screen.

With the FOTA, I get the following message

no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
mesh_enable_cb
enable mesh fail, re-enable
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0

Do I have to modify any other files. Please help me.

Regards
Vijay

wwq100
Posts: 1
Joined: Sat Dec 03, 2016 5:08 pm

Re: No AP to Join / Enable Mesh Fail

Postby wwq100 » Sat Dec 03, 2016 5:12 pm

hi,
I got the same error. How can us fix it?

Code: Select all


r
€l`$`
rSESP-TOUCH FLOW INIT...
ESP-TOUCH SET STATION MODE ...
SC version: V2.5.4
flush ssid: pwd:@??@??
mesh version: v1.3.3
mode : sta(5c:cf:7f:c0:f8:f1)
add if0

scandone
err,scan status 1
scandone
err,scan status 4
ESP-TOUCH TIMEOUT
mode : sta(5c:cf:7f:c0:f8:f1) + softAP(5e:cf:7f:c0:f8:f1)
add if1
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
bcn 100
scandone

scan-ch:0

scandone

scan-ch:0

scandone
no ap to join

scan-ch:0

scandone

scan-ch:0

scandone
no ap to join

scan-ch:0

scandone





I have two nodes. But it seems can not work well.

ESP_Alen
Posts: 208
Joined: Tue Mar 01, 2016 2:01 pm

Re: No AP to Join / Enable Mesh Fail

Postby ESP_Alen » Mon Dec 05, 2016 12:30 pm

Hi, Please paste the compiler err log here.

We'll fix the problem.

suresh
Posts: 7
Joined: Wed Oct 26, 2016 10:15 pm

Re: No AP to Join / Enable Mesh Fail

Postby suresh » Sat Dec 17, 2016 5:35 pm

Hi,
I am facing the same problem too. The branch I used is ESP8266_MESH_DEMO-debug_for_light. Mesh demo was working fine for quite some time and I was experimenting by switching the root nodes among three devices. Suddenly one device stopped joining the mesh, showing "no ap to join" error continuously. Even though I rebuilt and loaded all the 4 bin files to the devices, the problem remained.

scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join

I tried ESP8266_MESH_DEMO-1.3.1on the same device and it works! So there is no issue with the hardware. Mesh seems to be stable in the debug_for_light version compared to 1.3.1 or master so I prefer to use that branch. Kindly suggest a solution for this issue ASAP.

Thank you,
Suresh

suresh
Posts: 7
Joined: Wed Oct 26, 2016 10:15 pm

Re: No AP to Join / Enable Mesh Fail

Postby suresh » Tue Dec 20, 2016 3:55 pm

Our R&D is stuck with this problem. There is no compiler error. The code works randomly. Any immediate help appreciated.

rajendra
Posts: 7
Joined: Sat Sep 17, 2016 5:24 pm

Re: No AP to Join / Enable Mesh Fail

Postby rajendra » Tue Jan 03, 2017 6:59 pm

Hi Alen,

I am facing same issue. Following is compiler log.

./gen_miscU.sh
gen_misc.sh version 20150511

Please follow below steps(1-5) to generate specific bin(s):
STEP 1: choose boot version(0=boot_v1.1, 1=boot_v1.2+, 2=none)
enter(0/1/2, default 2):
1
boot mode: new

STEP 2: choose bin generate(0=eagle.flash.bin+eagle.irom0text.bin, 1=user1.bin, 2=user2.bin)
enter (0/1/2, default 0):
1
generate bin: user1.bin

STEP 3: choose spi speed(0=20MHz, 1=26.7MHz, 2=40MHz, 3=80MHz)
enter (0/1/2/3, default 2):
2
spi speed: 40 MHz

STEP 4: choose spi mode(0=QIO, 1=QOUT, 2=DIO, 3=DOUT)
enter (0/1/2/3, default 0):
0
spi mode: QIO

STEP 5: choose spi size and map
0= 512KB( 256KB+ 256KB)
2=1024KB( 512KB+ 512KB)
3=2048KB( 512KB+ 512KB)
4=4096KB( 512KB+ 512KB)
5=2048KB(1024KB+1024KB)
6=4096KB(1024KB+1024KB)
enter (0/2/3/4/5/6, default 0):
2
spi size: 1024KB
spi ota map: 512KB + 512KB
spi size: KB


start...

make -C demo clean;
make[1]: Entering directory '/home/rajendra/ESP8266/ESP8266_MESH_DEMO/mesh_demo/demo'
rm -f -r .output/eagle/debug
make[1]: Leaving directory '/home/rajendra/ESP8266/ESP8266_MESH_DEMO/mesh_demo/demo'
rm -f -r .output/eagle/debug
make[1]: Entering directory '/home/rajendra/ESP8266/ESP8266_MESH_DEMO/mesh_demo/demo'
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP_MESH_SUPPORT -I include -I ./ -I ../include -I ../../include -I ../../include/eagle devicefind.c
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP_MESH_SUPPORT -I include -I ./ -I ../include -I ../../include -I ../../include/eagle mesh_demo.c
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP_MESH_SUPPORT -I include -I ./ -I ../include -I ../../include -I ../../include/eagle mesh_bin.c
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP_MESH_SUPPORT -I include -I ./ -I ../include -I ../../include -I ../../include/eagle mesh_mqtt.c
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP_MESH_SUPPORT -I include -I ./ -I ../include -I ../../include -I ../../include/eagle mesh_http.c
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP_MESH_SUPPORT -I include -I ./ -I ../include -I ../../include -I ../../include/eagle mesh_none.c
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP_MESH_SUPPORT -I include -I ./ -I ../include -I ../../include -I ../../include/eagle mesh_parser.c
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP_MESH_SUPPORT -I include -I ./ -I ../include -I ../../include -I ../../include/eagle esp_touch.c
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP_MESH_SUPPORT -I include -I ./ -I ../include -I ../../include -I ../../include/eagle mesh_json.c
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP_MESH_SUPPORT -I include -I ./ -I ../include -I ../../include -I ../../include/eagle mesh_device.c
xtensa-lx106-elf-gcc -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP_MESH_SUPPORT -I include -I ./ -I ../include -I ../../include -I ../../include/eagle -o .output/eagle/debug/obj/mesh_device.o -c mesh_device.c
xtensa-lx106-elf-gcc -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP_MESH_SUPPORT -I include -I ./ -I ../include -I ../../include -I ../../include/eagle -o .output/eagle/debug/obj/mesh_json.o -c mesh_json.c
xtensa-lx106-elf-gcc -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP_MESH_SUPPORT -I include -I ./ -I ../include -I ../../include -I ../../include/eagle -o .output/eagle/debug/obj/esp_touch.o -c esp_touch.c
xtensa-lx106-elf-gcc -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP_MESH_SUPPORT -I include -I ./ -I ../include -I ../../include -I ../../include/eagle -o .output/eagle/debug/obj/mesh_parser.o -c mesh_parser.c
xtensa-lx106-elf-gcc -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP_MESH_SUPPORT -I include -I ./ -I ../include -I ../../include -I ../../include/eagle -o .output/eagle/debug/obj/mesh_none.o -c mesh_none.c
xtensa-lx106-elf-gcc -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP_MESH_SUPPORT -I include -I ./ -I ../include -I ../../include -I ../../include/eagle -o .output/eagle/debug/obj/mesh_http.o -c mesh_http.c
xtensa-lx106-elf-gcc -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP_MESH_SUPPORT -I include -I ./ -I ../include -I ../../include -I ../../include/eagle -o .output/eagle/debug/obj/mesh_mqtt.o -c mesh_mqtt.c
xtensa-lx106-elf-gcc -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP_MESH_SUPPORT -I include -I ./ -I ../include -I ../../include -I ../../include/eagle -o .output/eagle/debug/obj/mesh_bin.o -c mesh_bin.c
xtensa-lx106-elf-gcc -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP_MESH_SUPPORT -I include -I ./ -I ../include -I ../../include -I ../../include/eagle -o .output/eagle/debug/obj/mesh_demo.o -c mesh_demo.c
xtensa-lx106-elf-gcc -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP_MESH_SUPPORT -I include -I ./ -I ../include -I ../../include -I ../../include/eagle -o .output/eagle/debug/obj/devicefind.o -c devicefind.c
xtensa-lx106-elf-ar ru .output/eagle/debug/lib/libdemo.a .output/eagle/debug/obj/mesh_device.o .output/eagle/debug/obj/mesh_json.o .output/eagle/debug/obj/esp_touch.o .output/eagle/debug/obj/mesh_parser.o .output/eagle/debug/obj/mesh_none.o .output/eagle/debug/obj/mesh_http.o .output/eagle/debug/obj/mesh_mqtt.o .output/eagle/debug/obj/mesh_bin.o .output/eagle/debug/obj/mesh_demo.o .output/eagle/debug/obj/devicefind.o
xtensa-lx106-elf-ar: creating .output/eagle/debug/lib/libdemo.a
make[1]: Leaving directory '/home/rajendra/ESP8266/ESP8266_MESH_DEMO/mesh_demo/demo'
xtensa-lx106-elf-gcc -L../lib -nostdlib -T../ld/eagle.app.v6.new.1024.app1.ld -Wl,--no-check-sections -Wl,--gc-sections -u call_user_start -Wl,-static -Wl,--start-group -lc -lgcc -lhal -lphy -lpp -lnet80211 -llwip -lwpa -lcrypto -lmain -lwps -lmesh -lsmartconfig demo/.output/eagle/debug/lib/libdemo.a -Wl,--end-group -o .output/eagle/debug/image/eagle.app.v6.out

!!!
1401017167
1401017168
Support boot_v1.2 and +
Generate user1.1024.new.2.bin successully in folder bin/upgrade.
boot.bin------------>0x00000
user1.1024.new.2.bin--->0x01000
!!!

Who is online

Users browsing this forum: No registered users and 1 guest