You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I just run one task (comment one K_THREAD_DEFINE to prevent it from running), the running task can work perfectly. But if I let two tasks to run simultaneously , the MPU fault occur and CPU reset.
Expected behavior
There is no MPU fault.
Impact
Critical impact on the application when MPU fault occur and CPU reset. The application cannot work.
There is also NET_EVENT_IPV4_DHCP_BOUND event that can be also used. The ADDR_ADD event is ok too but if you are using DHCPv4, then the IPV4_DHCP_BOUND event is probably more suitable one to use.
Describe the bug
I am building the coded bluetooth gateway using nrf52840 and ENC28J60. Integrated between two examples:
I created two task:
There is no main function. I start two tasks using:
If I just run one task (comment one K_THREAD_DEFINE to prevent it from running), the running task can work perfectly. But if I let two tasks to run simultaneously , the MPU fault occur and CPU reset.
Expected behavior
There is no MPU fault.
Impact
Critical impact on the application when MPU fault occur and CPU reset. The application cannot work.
Logs and console output
�[1B�[9D�[8D�[J[00:00:00.542,663] �[1;31m os: ***** MPU FAULT *****�[0m
�[8D�[J[00:00:00.542,694] �[1;31m os: Data Access Violation�[0m
�[8D�[J[00:00:00.542,694] �[1;31m os: MMFAR Address: 0x30a03�[0m
�[8D�[J[00:00:00.542,694] �[1;31m os: r0/a1: 0x40003000 r1/a2: 0x20007174 r2/a3: 0x00030a03�[0m
�[8D�[J[00:00:00.542,694] �[1;31m os: r3/a4: 0x00000000 r12/ip: 0x20000618 r14/lr: 0x0002ac21�[0m
�[8D�[J[00:00:00.542,724] �[1;31m os: xpsr: 0x81003813�[0m
�[8D�[J[00:00:00.542,724] �[1;31m os: Faulting instruction address (r15/pc): 0x00034688�[0m
�[8D�[J[00:00:00.542,724] �[1;31m os: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0�[0m
�[8D�[J[00:00:00.542,724] �[1;31m os: Fault during interrupt handling
�[0m
�[8D�[J[00:00:00.542,755] �[1;31m os: Current thread: 0x20005718 (idle 00)�[0m
Environment (please complete the following information):
Additional context
Does anyone meet this problem?
The text was updated successfully, but these errors were encountered: