-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Failed to associate device." in Sending Wi-Fi Credentials in ESP Rainmaker App. (MEGH-5828) #322
Comments
Can you try by setting Partition Scheme as RainMaker, as mentioned in this README ? |
Yeah I've tried that also but didn't worked , it gave bootloop in serial monitor. |
@santoshurlam , serial monitor logs with the correct partition table? |
I have used partition scheme : "RainMaker" but gave bootloop in serial monitor and then I've tried using "Huge APP" partition scheme atleast gave QR code but got the "Failed to associate device " issue in rainmaker app, as I've already mentioned above. |
@santoshurlam , yes you have mentioned in the comment above that "it gave bootloop in serial monitor ", but it is not clear what you mean here. Is your device rebooting continuously? It can happen in one of the 2 cases:
Without any logs for this scenario, we cannot say what the issue is. If the firmware itself was faulty, even in the first case, you wouldn't see any logs. Change in partition table does not change the firmware. |
sorry for not properly specifiying the issue. |
Seems the firmware is not flashed correctly on your device. After you change the partition table, please try enabling the "Erase All Flash Before Sketch Upload" option in the settings shown above and then recompile and re-flash. |
Sadly , I've tried now but same thing happened again like above. |
"As above" could mean 2 different things. The original issue or the one after correcting the partition table. For the latter, you haven't shared any logs so can't say if bootloader itself hasn't loaded or if firmware hasn't loaded or if firmware has loaded but crashing continuously. |
@AntonKozlenko1969 In the original issue, the flash partition scheme was wrong, throwing nvs errors. When that was fixed, it was mentioned that the device keeps rebooting (but no logs were shared). In your case, I see that you have shown that partition table is correct and QR code is printed. So not sure what you mean by "Same problem". Can you elaborate and share screenshots of phone app showing error and the corresponding serial terminal log ? Most of your log before the QR code is also hidden, so the info is incomplete. |
Good afternoon.
Thanks for the reply.
I am attaching all screenshots.
Also on other projects, I noticed that ESP 32 platforms newer than 2.0.5 on
consistently support BLE.
The BLE_uart example breaks the connection immediately after connection.
Everything works stably in version 2.0.5.
Maybe that's the problem.
пн, 5 авг. 2024 г. в 07:41, Piyush Shah ***@***.***>:
… @AntonKozlenko1969 <https://github.com/AntonKozlenko1969> In the original
issue, the flash partition scheme was wrong, throwing nvs errors. When that
was fixed, it was mentioned that the device keeps rebooting (but no logs
were shared).
In your case, I see that you have shown that partition table is correct
and QR code is printed. So not sure what you mean by "Same problem". Can
you elaborate and share screenshots of phone app showing error and the
corresponding serial terminal log ? Most of your log before the QR code is
also hidden, so the info is incomplete.
—
Reply to this email directly, view it on GitHub
<#322 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BCLSI5DOY36JDNELX3TCMU3ZP37BBAVCNFSM6AAAAABLOPLKXKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRYGE3DAMJZGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Good afternoon.
After several unsuccessful attempts on the existing Arduino IDE
configuration, I solved the problem in a different way.
I have another computer on which a "clean" ARDUINO IDE 2.1.1 is installed
with the "ESP32 by Espressif" 2.0.5 platform.
And in this configuration everything worked !!!
Probably the problem occurs when the "ESP32 by Espressif" platform is
installed after the "Arduino ESP32 Boards" platform.
Even after removing the "Arduino ESP32 Boards" platform from Arduino IDE,
something remains in the system and the IDE takes the wrong libraries.
пн, 5 авг. 2024 г. в 07:41, Piyush Shah ***@***.***>:
… @AntonKozlenko1969 <https://github.com/AntonKozlenko1969> In the original
issue, the flash partition scheme was wrong, throwing nvs errors. When that
was fixed, it was mentioned that the device keeps rebooting (but no logs
were shared).
In your case, I see that you have shown that partition table is correct
and QR code is printed. So not sure what you mean by "Same problem". Can
you elaborate and share screenshots of phone app showing error and the
corresponding serial terminal log ? Most of your log before the QR code is
also hidden, so the info is incomplete.
—
Reply to this email directly, view it on GitHub
<#322 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BCLSI5DOY36JDNELX3TCMU3ZP37BBAVCNFSM6AAAAABLOPLKXKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRYGE3DAMJZGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Closing this as the issue was eventually resolved. |
Answers checklist.
General issue report
Wi-Fi Connectivity Issue with RainMaker App
When I'm running a example code of RMaker Switch, it was providing QR code and after scanning QR code through the ESP Rainmaker app after providing Wi-Fi credentials it is showing error in step 1 Sending Wi-Fi credentials: "Failed to associate device.".
The errors I got in serial monitor were ;
I'm using ESP32-WROOM 32D with Arduino ide version 2.3.2 and esp32 board manager version 3.0.2 .
Anyone give me some suggestions on to get over with this issue.
These are the tools settings I'm using and some I altered the settings also but didn't worked.
The text was updated successfully, but these errors were encountered: