-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
[TW#28622] Starting of wifi softAP and modbus slave, the system was crashed. Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0) #3009
Comments
Hi @patrykkrz. Thanks for the report. The |
igrr
pushed a commit
that referenced
this issue
Mar 12, 2019
revert changes made in mbrtu.c, mbascii.c change critical section type to semaphore mutex instead of spin lock Closes: #3009
igrr
pushed a commit
that referenced
this issue
Apr 16, 2019
revert changes made in mbrtu.c, mbascii.c change critical section type to semaphore mutex instead of spin lock Closes: #3009
catalinio
pushed a commit
to catalinio/pycom-esp-idf
that referenced
this issue
Jun 28, 2019
revert changes made in mbrtu.c, mbascii.c change critical section type to semaphore mutex instead of spin lock Closes: espressif/esp-idf#3009
2 tasks
0xFEEDC0DE64
pushed a commit
to 0xFEEDC0DE64/esp-idf
that referenced
this issue
May 5, 2021
foxval
pushed a commit
to foxval/esp-idf
that referenced
this issue
Jun 8, 2021
revert changes made in mbrtu.c, mbascii.c change critical section type to semaphore mutex instead of spin lock Closes: espressif#3009
espressif-bot
pushed a commit
to espressif/esp-modbus
that referenced
this issue
Apr 5, 2022
Closes: espressif/esp-idf#3009 * Original commit: espressif/esp-idf@1ef7d09
espressif-bot
pushed a commit
to espressif/esp-modbus
that referenced
this issue
Apr 5, 2022
revert changes made in mbrtu.c, mbascii.c change critical section type to semaphore mutex instead of spin lock Closes: espressif/esp-idf#3009 * Original commit: espressif/esp-idf@aaa1cb6
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Problem Description
When you start WIFI SoftAP and then modbus slave, the system will be damaged.
Steps to repropduce
Remarks
In this case, the time interval is important. When you add or delete some logs in my code, the problem may not occur. When I add a delay before running the modbus slave, the problem also does not occur.
Adding a delay solves the problem, but I think it is deceptive.
I have not sent or received data via modbus, but I am afraid there may be similar problems.
When I was looking for an answer to why this is happening, I found this information and issues:
In the modbus slave component (mbrtu.c), critical sections are used. For example in function eMBRTUInit.
The order of calling the function:
Code to reproduce this issue
https://gist.github.com/patrykkrz/10709e49751d4915467dcfeb6e089cf8
Debug Logs
Attachments
core.zip (elf file and coredump)
main.zip (all sources)
sdkconfig.txt
The text was updated successfully, but these errors were encountered: