Skip to content
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

ESP32-C6 crashing after update to latest version (MEGH-5894) #325

Open
3 tasks done
P-R-O-C-H-Y opened this issue Aug 15, 2024 · 3 comments
Open
3 tasks done

ESP32-C6 crashing after update to latest version (MEGH-5894) #325

P-R-O-C-H-Y opened this issue Aug 15, 2024 · 3 comments

Comments

@P-R-O-C-H-Y
Copy link
Member

Answers checklist.

  • I have read the Rainmaker documentation and the issue is not addressed there.
  • I have updated my IDF branch (release/vX.Y) to the latest version and checked that the issue is present there. This is not applicable if you are using Rainmaker with Arduino.
  • I have searched the Rainmaker forum and issue tracker for a similar issue and not found a similar issue.

IDF / ESP32-Arduino version.

release/v5.1 5c57dfe949 / Arduino master

Operating System used.

macOS

How did you build your project?

Arduino IDE

Development Kit.

ESP32-C6-DevKitC-1 V1.2

What is the expected behavior?

The Rainmaker on esp32c6 was working without any errors.
For testing I am using RainMaker switch example from esp32-arduino repo.

What is the actual behavior?

After updating to latest Rainmaker version the board crashes after scanning QR code.
Versions used:

espressif__esp_rainmaker: 1.4.0
espressif__rmaker_common: 1.4.6

Error:

E (25623) OPENTHREAD: esp_openthread_lock_acquire(21): Failed to acquire the lock because the mutex is not ready
assert failed: otTaskletsSignalPending esp_openthread_task_queue.c:48 (ret == sizeof(val))

Steps to reproduce.

  1. Update ESP32-Arduino core to latest master
  2. Select RainMaker Switch example
  3. In Tools -> select ESP32C6,
    Partition scheme -> RainMaker no OTA
    Core Debug Level -> Verbose
  4. In the sketch comment line 79: RMaker.enableOTA(OTA_USING_TOPICS); as partition without OTA is used.
  5. Flash and try to connect the device in RainMaker App

Debug Logs.

E (25623) OPENTHREAD: esp_openthread_lock_acquire(21): Failed to acquire the lock because the mutex is not ready
assert failed: otTaskletsSignalPending esp_openthread_task_queue.c:48 (ret == sizeof(val))

More Information.

No response

@P-R-O-C-H-Y P-R-O-C-H-Y changed the title ESP32-C6 crashing after last ESP32-C6 crashing after update to latest version Aug 15, 2024
@github-actions github-actions bot changed the title ESP32-C6 crashing after update to latest version ESP32-C6 crashing after update to latest version (MEGH-5894) Aug 15, 2024
@wqx6
Copy link
Contributor

wqx6 commented Aug 16, 2024

Could you check whether the OPENTHREAD_ENABLED in menuconfig is enabled for the example? It should not be enabled if you are running RainMaker Over Wi-Fi on C6.

@P-R-O-C-H-Y
Copy link
Member Author

Could you check whether the OPENTHREAD_ENABLED in menuconfig is enabled for the example? It should not be enabled if you are running RainMaker Over Wi-Fi on C6.

Yes it is. We need to have it enabled in Arduino to provide support for it.

@me-no-dev
Copy link
Member

This is a similar issue to how we often see PSRAM_ENABLED being treated as if PSRAM has been started and used, which might not be the case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants