Hi ODM,
I think I am seeing the same thing. And I believe it is RAM related.
My Reference Station is running v4.1. The ZED is running 1.32, but I don’t think that will make a difference.
I have an SD card inserted.
I have Ethernet connected.
I connect to the CONFIG ESP32 USB port with Tera Term at 115200 baud.
I reset the settings to the default (s r y).
The unit reboots and Base mode starts. I let the survey-in complete. The OLED shows “Xmitting”.
I provide RTK2go NTRIP credentials via the Base menu (3 7) (11, 13 and 14).
I exit the menu.
The survey-in restarts.
The unit connects to RTK2go using Ethernet. Corrections are sent. OLED shows “Casting”.
I use the mode button to enter “Cfg Eth” mode.
I can view the config web page over Ethernet at 192.168.0.nnn. The ZED firmware version is not shown. This is normal. Configure-Via-Ethernet requires exclusive access to SPI and Interrupts. It is not possible to communicate with the GNSS on SPI while in this mode.
I “Exit and Reset”. The unit resets and survey-in restarts. I let the survey-in complete. The unit resumes casting to RTK2go.
I use the mode button to enter “CfgWiFi” mode.
The OLED shows “RTK Config” and an IP address. I connect to RTK Config WiFi and try to open 192.168.4.1. This works. But I have seen it fail at this point.
I “Exit and Reset”.
I go back into “CfgWiFi” mode. Again it works.
I “Exit and Reset”.
I go back into “CfgWiFi” mode. This time it fails. I only get a partial web page and “Exit and Reset” has no effect.
I reset the unit using the Reset button. Survey-in begins again.
I disable Bluetooth with (s b b x x). Survey-in resumes.
I go back into “CfgWiFi” mode and again it fails.
I turn on “Heap Reporting” using (s d 1 x x x).
I see that the FreeHeap is 28624 and the HeapLowestPoint is 3972. That indicates the RAM is almost exhausted, and bad things will happen…
I reset the unit using the Reset button.
I let Survey-in complete and casting resumes.
HeapLowestPoint is 118712.
I go back into “CfgWiFi” mode. Everything works, but I see:
FreeHeap: 61936 / HeapLowestPoint: 52812 / LargestBlock: 52212
FreeHeap: 61936 / HeapLowestPoint: 52812 / LargestBlock: 52212
FreeHeap: 60636 / HeapLowestPoint: 48200 / LargestBlock: 50164
Client:192.168.4.2 /connecttest.txt
FreeHeap: 60248 / HeapLowestPoint: 47744 / LargestBlock: 48116
Client:192.168.4.2 /connecttest.txt
Client:192.168.4.2 /connecttest.txt
Client:192.168.4.2 /connecttest.txt
FreeHeap: 60480 / HeapLowestPoint: 46080 / LargestBlock: 48116
Client:192.168.4.2 /connecttest.txt
Client:192.168.4.2 /connecttest.txt
FreeHeap: 60452 / HeapLowestPoint: 46080 / LargestBlock: 48116
Client:192.168.4.2 /connecttest.txt
Client:192.168.4.2 /connecttest.txt
FreeHeap: 60480 / HeapLowestPoint: 45084 / LargestBlock: 48116
FreeHeap: 60480 / HeapLowestPoint: 45084 / LargestBlock: 48116
FreeHeap: 51788 / HeapLowestPoint: 33240 / LargestBlock: 34804
FreeHeap: 60452 / HeapLowestPoint: 6492 / LargestBlock: 47092
FreeHeap: 60480 / HeapLowestPoint: 6492 / LargestBlock: 48116
FreeHeap: 59852 / HeapLowestPoint: 6492 / LargestBlock: 47092
FreeHeap: 59848 / HeapLowestPoint: 6492 / LargestBlock: 47092
FreeHeap: 59608 / HeapLowestPoint: 6492 / LargestBlock: 47092
FreeHeap: 59608 / HeapLowestPoint: 6492 / LargestBlock: 47092
FreeHeap: 59608 / HeapLowestPoint: 6492 / LargestBlock: 47092
FreeHeap: 59608 / HeapLowestPoint: 6492 / LargestBlock: 47092
Parsing: exitAndReset,1,
Reset after AP Config
I try again, and this time I see:
reeHeap: 61604 / HeapLowestPoint: 54616 / LargestBlock: 52212
FreeHeap: 61604 / HeapLowestPoint: 54616 / LargestBlock: 52212
STATE_WIFI_CONFIG_NOT_STARTED --> STATE_WIFI_CONFIG, 2025-01-15 13:32:44.187
FreeHeap: 61628 / HeapLowestPoint: 52796 / LargestBlock: 52212
FreeHeap: 61948 / HeapLowestPoint: 52796 / LargestBlock: 52212
FreeHeap: 61948 / HeapLowestPoint: 52788 / LargestBlock: 52212
FreeHeap: 61948 / HeapLowestPoint: 52788 / LargestBlock: 52212
FreeHeap: 61948 / HeapLowestPoint: 52788 / LargestBlock: 52212
FreeHeap: 61948 / HeapLowestPoint: 52788 / LargestBlock: 52212
FreeHeap: 61948 / HeapLowestPoint: 52788 / LargestBlock: 52212
FreeHeap: 61948 / HeapLowestPoint: 52788 / LargestBlock: 52212
FreeHeap: 61948 / HeapLowestPoint: 52788 / LargestBlock: 52212
FreeHeap: 61948 / HeapLowestPoint: 52788 / LargestBlock: 52212
FreeHeap: 61948 / HeapLowestPoint: 52788 / LargestBlock: 52212
FreeHeap: 61948 / HeapLowestPoint: 52788 / LargestBlock: 52212
FreeHeap: 61948 / HeapLowestPoint: 52788 / LargestBlock: 52212
FreeHeap: 60984 / HeapLowestPoint: 52508 / LargestBlock: 50164
FreeHeap: 54284 / HeapLowestPoint: 43268 / LargestBlock: 44020
FreeHeap: 54276 / HeapLowestPoint: 40500 / LargestBlock: 41972
Client:192.168.4.2 /connecttest.txt
FreeHeap: 54124 / HeapLowestPoint: 40208 / LargestBlock: 41972
FreeHeap: 52676 / HeapLowestPoint: 40208 / LargestBlock: 40948
FreeHeap: 51220 / HeapLowestPoint: 40208 / LargestBlock: 38900
FreeHeap: 49756 / HeapLowestPoint: 37732 / LargestBlock: 36852
FreeHeap: 51548 / HeapLowestPoint: 37732 / LargestBlock: 36852
FreeHeap: 49752 / HeapLowestPoint: 37732 / LargestBlock: 36852
FreeHeap: 49752 / HeapLowestPoint: 36304 / LargestBlock: 35828
FreeHeap: 49752 / HeapLowestPoint: 36304 / LargestBlock: 35828
FreeHeap: 46972 / HeapLowestPoint: 5304 / LargestBlock: 24564
FreeHeap: 46964 / HeapLowestPoint: 5304 / LargestBlock: 24564
FreeHeap: 48760 / HeapLowestPoint: 5304 / LargestBlock: 24564
FreeHeap: 50560 / HeapLowestPoint: 5304 / LargestBlock: 24564
And the Web Page fails to load…
Unfortunately, I think the evidence is pretty clear that the firmware is running out of RAM and things are failing.
I change the “Select survey-in radio” option to WiFi with (3 16).
I go back into “CfgWiFi” mode. That radio option may have helped, because this time I see:
FreeHeap: 61196 / HeapLowestPoint: 54232 / LargestBlock: 52212
FreeHeap: 61196 / HeapLowestPoint: 54232 / LargestBlock: 52212
STATE_WIFI_CONFIG_NOT_STARTED --> STATE_WIFI_CONFIG, 2025-01-15 13:42:36.129
FreeHeap: 61212 / HeapLowestPoint: 52416 / LargestBlock: 52212
FreeHeap: 61532 / HeapLowestPoint: 52416 / LargestBlock: 52212
FreeHeap: 61532 / HeapLowestPoint: 52416 / LargestBlock: 52212
FreeHeap: 61532 / HeapLowestPoint: 52416 / LargestBlock: 52212
FreeHeap: 61532 / HeapLowestPoint: 52416 / LargestBlock: 52212
FreeHeap: 61532 / HeapLowestPoint: 52416 / LargestBlock: 52212
FreeHeap: 61532 / HeapLowestPoint: 52416 / LargestBlock: 52212
FreeHeap: 61532 / HeapLowestPoint: 52416 / LargestBlock: 52212
FreeHeap: 61532 / HeapLowestPoint: 52416 / LargestBlock: 52212
FreeHeap: 55660 / HeapLowestPoint: 44496 / LargestBlock: 46068
FreeHeap: 56796 / HeapLowestPoint: 41716 / LargestBlock: 45044
Client:192.168.4.2 /connecttest.txt
FreeHeap: 56636 / HeapLowestPoint: 41716 / LargestBlock: 45044
FreeHeap: 55188 / HeapLowestPoint: 41716 / LargestBlock: 44020
FreeHeap: 55184 / HeapLowestPoint: 41716 / LargestBlock: 44020
FreeHeap: 52856 / HeapLowestPoint: 41716 / LargestBlock: 41972
FreeHeap: 51940 / HeapLowestPoint: 11012 / LargestBlock: 39924
FreeHeap: 48264 / HeapLowestPoint: 11012 / LargestBlock: 36852
FreeHeap: 49924 / HeapLowestPoint: 11012 / LargestBlock: 36852
FreeHeap: 48268 / HeapLowestPoint: 11012 / LargestBlock: 36852
FreeHeap: 48620 / HeapLowestPoint: 11012 / LargestBlock: 36852
FreeHeap: 48264 / HeapLowestPoint: 11012 / LargestBlock: 36852
FreeHeap: 48260 / HeapLowestPoint: 11012 / LargestBlock: 36852
FreeHeap: 48256 / HeapLowestPoint: 11012 / LargestBlock: 36852
FreeHeap: 48256 / HeapLowestPoint: 11012 / LargestBlock: 36852
FreeHeap: 49900 / HeapLowestPoint: 11012 / LargestBlock: 36852
FreeHeap: 50052 / HeapLowestPoint: 11012 / LargestBlock: 36852
FreeHeap: 48576 / HeapLowestPoint: 11012 / LargestBlock: 36852
FreeHeap: 49700 / HeapLowestPoint: 11012 / LargestBlock: 36852
FreeHeap: 49724 / HeapLowestPoint: 11012 / LargestBlock: 36852
Parsing: exitAndReset,1,
Reset after AP Config
newSettings len: 3413
Just for comparison, I go into “Cfg Eth” mode and I see:
FreeHeap: 94404 / HeapLowestPoint: 87508 / LargestBlock: 86004
FreeHeap: 94404 / HeapLowestPoint: 87508 / LargestBlock: 86004
STATE_CONFIG_VIA_ETH_STARTED --> STATE_CONFIG_VIA_ETH
SD card size: 14.8 GB / Free space: 14.8 GB
FreeHeap: 94404 / HeapLowestPoint: 84112 / LargestBlock: 86004
FreeHeap: 93692 / HeapLowestPoint: 84096 / LargestBlock: 83956
FreeHeap: 93708 / HeapLowestPoint: 84096 / LargestBlock: 83956
FreeHeap: 93708 / HeapLowestPoint: 84096 / LargestBlock: 83956
FreeHeap: 93708 / HeapLowestPoint: 84096 / LargestBlock: 83956
FreeHeap: 94028 / HeapLowestPoint: 84096 / LargestBlock: 86004
FreeHeap: 94028 / HeapLowestPoint: 84096 / LargestBlock: 86004
FreeHeap: 94028 / HeapLowestPoint: 84096 / LargestBlock: 86004
FreeHeap: 94028 / HeapLowestPoint: 84096 / LargestBlock: 86004
FreeHeap: 94028 / HeapLowestPoint: 84056 / LargestBlock: 86004
FreeHeap: 76064 / HeapLowestPoint: 52632 / LargestBlock: 52212
FreeHeap: 93048 / HeapLowestPoint: 52632 / LargestBlock: 79860
FreeHeap: 93048 / HeapLowestPoint: 52632 / LargestBlock: 79860
FreeHeap: 93048 / HeapLowestPoint: 52632 / LargestBlock: 79860
FreeHeap: 93624 / HeapLowestPoint: 52632 / LargestBlock: 79860
FreeHeap: 93624 / HeapLowestPoint: 52632 / LargestBlock: 79860
FreeHeap: 93032 / HeapLowestPoint: 52632 / LargestBlock: 79860
FreeHeap: 93032 / HeapLowestPoint: 52632 / LargestBlock: 79860
FreeHeap: 92804 / HeapLowestPoint: 52632 / LargestBlock: 79860
FreeHeap: 92796 / HeapLowestPoint: 52632 / LargestBlock: 79860
FreeHeap: 92804 / HeapLowestPoint: 52632 / LargestBlock: 79860
FreeHeap: 92796 / HeapLowestPoint: 52632 / LargestBlock: 79860
FreeHeap: 92804 / HeapLowestPoint: 52632 / LargestBlock: 79860
FreeHeap: 92796 / HeapLowestPoint: 52632 / LargestBlock: 79860
FreeHeap: 92804 / HeapLowestPoint: 52632 / LargestBlock: 79860
FreeHeap: 92804 / HeapLowestPoint: 52632 / LargestBlock: 79860
FreeHeap: 92796 / HeapLowestPoint: 52632 / LargestBlock: 79860
FreeHeap: 92804 / HeapLowestPoint: 52632 / LargestBlock: 79860
FreeHeap: 92796 / HeapLowestPoint: 52632 / LargestBlock: 79860
Client:192.168.0.48 /listfiles
FreeHeap: 92116 / HeapLowestPoint: 52632 / LargestBlock: 77812
FreeHeap: 92108 / HeapLowestPoint: 52632 / LargestBlock: 77812
FreeHeap: 92116 / HeapLowestPoint: 52632 / LargestBlock: 77812
FreeHeap: 92108 / HeapLowestPoint: 52632 / LargestBlock: 77812
FreeHeap: 92116 / HeapLowestPoint: 52632 / LargestBlock: 77812
FreeHeap: 92108 / HeapLowestPoint: 52632 / LargestBlock: 77812
FreeHeap: 92116 / HeapLowestPoint: 52632 / LargestBlock: 77812
FreeHeap: 92108 / HeapLowestPoint: 52632 / LargestBlock: 77812
FreeHeap: 92116 / HeapLowestPoint: 52632 / LargestBlock: 77812
FreeHeap: 92108 / HeapLowestPoint: 52632 / LargestBlock: 77812
Parsing: exitAndReset,1,
Much healthier…!
In summary, WiFi Config is not reliable due to RAM limitations. But you should be OK with Configure-Via-Ethernet or configuring manually via the menus.
Apologies for this… This is the main reason why we migrated to the ESP32-WROVER (16MB Flash, 8MB PSRAM) on our newer RTK products.
I hope this helps,
Paul