Wifi dropping and having issues.

User avatar
fly135
Posts: 606
Joined: Wed Jan 03, 2018 8:33 pm
Location: Orlando, FL

Wifi dropping and having issues.

Postby fly135 » Tue Apr 23, 2019 3:03 pm

Not sure if this is a coincidence and I've only tested with one device so far. When I switched from having one NVS partition to two the wifi on my device started having issues with connecting and dropping on a frequent basis. This isn't a wifi issue overall because all the ones running with the single NVS partition are doing fine. I've attached a boot print showing the two NVS partitions. The line in the partition file for the 2nd NVS is...

secstore, data, nvs, 0x290000, 0x70000

In the boot print it replaces "nvs" with "Wifi Data", so combines with my new problem it makes me wonder if there is an issue with having two NVS partitions or if I'm doing something wrong.
I (29) boot: ESP-IDF v3.1.3-dirty 2nd stage bootloader
I (29) boot: compile time 13:15:42
I (29) boot: Enabling RNG early entropy source...
I (34) qio_mode: Enabling default flash chip QIO
I (39) boot: SPI Speed : 40MHz
I (43) boot: SPI Mode : QIO
I (47) boot: SPI Flash Size : 16MB
I (52) boot: Partition Table:
I (55) boot: ## Label Usage Type ST Offset Length
I (62) boot: 0 nvs WiFi data 01 02 00009000 00004000
I (70) boot: 1 otadata OTA data 01 00 0000d000 00002000
I (77) boot: 2 phy_init RF data 01 01 0000f000 00001000
I (85) boot: 3 factory factory app 00 00 00010000 00200000
I (92) boot: 4 storage Unknown data 01 82 00210000 00080000
I (100) boot: 5 secstore WiFi data 01 02 00290000 00070000
I (107) boot: 6 ota_0 OTA app 00 10 00400000 00200000
I (115) boot: 7 ota_1 OTA app 00 11 00600000 00200000
I (123) boot: End of partition table
I (127) boot: Defaulting to factory image
I (131) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x4e350 (320336) map
I (234) esp_image: segment 1: paddr=0x0005e378 vaddr=0x3ffc0000 size=0x01c98 ( 7320) load
I (237) esp_image: segment 2: paddr=0x00060018 vaddr=0x400d0018 size=0x117ddc (1146332) map
I (578) esp_image: segment 3: paddr=0x00177dfc vaddr=0x3ffc1c98 size=0x02e9c ( 11932) load
I (582) esp_image: segment 4: paddr=0x0017aca0 vaddr=0x40080000 size=0x00400 ( 1024) load
I (585) esp_image: segment 5: paddr=0x0017b0a8 vaddr=0x40080400 size=0x1cb04 (117508) load
I (650) boot: Loaded app from partition at offset 0x10000
I (650) boot: Disabling RNG early entropy source...
BTW, is "phy_init" needed if you aren't using Ethernet?

John A

User avatar
fly135
Posts: 606
Joined: Wed Jan 03, 2018 8:33 pm
Location: Orlando, FL

Re: Wifi dropping and having issues.

Postby fly135 » Tue Apr 23, 2019 11:55 pm

I believe I know what the problem is, and it doesn't have anything to do with NVS. At the same time as creating the 2nd NVS I was using a new daughterboard that didn't have a pin clipped on the connector. It was putting 5V on GPIO 00. Not sure if that could cause the problem but I'll know when I clip the pin and retest.

John A

Who is online

Users browsing this forum: Bing [Bot], JANAKIRAMAN, kevlar and 59 guests