Rainmaker claiming issue with the ESP32-S3-DevKitC-1-N32R8V board!!!

Mahendra_ms
Posts: 1
Joined: Thu Jan 05, 2023 8:32 am

Rainmaker claiming issue with the ESP32-S3-DevKitC-1-N32R8V board!!!

Postby Mahendra_ms » Thu Jan 05, 2023 9:28 am

Hello Geeks
I hope all are doing well...

Last couple of days me and my team playing with the rainmaker SDK
The intent is to test the switch example on the ESP32-S3-DevKitC-1-N32R8V official board with 32MB flash and 8 MB PSRAM!

The ESP32-IDF version is v4.4

We can successfully build the SDK and flash it on the board
However, during the logs, it's unable to generate the QR code for the provisioning
We are using assisted claiming for the instance


Case-1
The major error is listed below
E (9783) app_wifi: Failed to read random bytes from NVS to generate PoP.
E (9793) app_main: Could not start Wifi. Aborting!!!


The full logs are attached as below as a
Esp_Log_1.txt
file


Case-2
After some googling, we found one thread from where we have made some changes with the app_main.c
here is the change

Code: Select all

err = app_wifi_start(POP_TYPE_MAC);
if (err != ESP_OK) {
    ESP_LOGE(TAG, "Could not start Wifi. Aborting!!!");
    vTaskDelay(5000/portTICK_PERIOD_MS);
    abort();
}

If we are using the MAC rather NVS then it's able to generate the QR code!
However, during the claiming process, it again fails!


The full logs are attached here as a
Esp_Log_2.txt
file
It seems it failed to read the client key from the NVS

I have also attached the Rainmaker dashboard insights screen here


From my research, I guess there is some weird issue with the NVS!

Here I have found similar threads on the git repo


Let me know if any further debug logs required

Welcome, to all suggestions and comments!

Thanks
Mahendra
Attachments
Esp_Log_2.txt
Case-2 test logs
(78.16 KiB) Downloaded 252 times
Esp_Log_1.txt
Case-1 test logs
(17.68 KiB) Downloaded 239 times
ESP-Insights.png
Esp-insight dashboard logs
ESP-Insights.png (50.28 KiB) Viewed 2660 times

sanketwadekar
Posts: 32
Joined: Tue Jul 26, 2022 10:08 am

Re: Rainmaker claiming issue with the ESP32-S3-DevKitC-1-N32R8V board!!!

Postby sanketwadekar » Mon Jan 16, 2023 3:46 pm

For others facing a similar issue, please refer this Github issue https://github.com/espressif/esp-rainma ... 1381420160

Who is online

Users browsing this forum: No registered users and 25 guests