-
-
Notifications
You must be signed in to change notification settings - Fork 7
Bugfix: Cleanly transfer interrupts from the H7 to the M8 #1
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
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ter each IRQ_ENABLE.
…pt edge into a game of luck.
it's needed by SPI CS to work correctly (IRQ+DMA)
…context it is important to restore the right condition upon leaving the functions critical section.
… has been sent to the M8 via enqueue_packet.
…rly separate it from the general __enable_irq/__disable_irq calls.
…d GPIO interrupt.
aentinger
commented
Jun 15, 2022
facchinm
added a commit
that referenced
this pull request
Nov 6, 2024
Enabling them crashes the m7 fw with this stacktrace #0 HardFault_Handler () at src/stm32h7xx_it.c:47 #1 <signal handler called> #2 0x08004770 in __metal_mutex_acquire (mutex=0x24003318 <rvdev+88>) at libraries/openamp_arduino/src/metal/system/generic/mutex.h:60 #3 metal_mutex_acquire (mutex=0x24003318 <rvdev+88>) at libraries/openamp_arduino/src/metal/mutex.h:59 #4 rpmsg_virtio_rx_callback (vq=0x240070d0) at libraries/openamp_arduino/src/rpmsg_virtio.c:548 #5 0x080041da in rproc_virtio_notified (vdev=0x24007058, notifyid=notifyid@entry=0) at libraries/openamp_arduino/src/remoteproc_virtio.c:341 #6 0x08003b48 in MAILBOX_Poll (vdev=<optimized out>) at libraries/openamp_arduino/src/mailbox_hsem_if.c:122 #7 0x08003d1e in OPENAMP_check_for_message () at libraries/openamp_arduino/src/openamp.c:166 #8 0x080013e2 in HSEM1_IRQHandler () at src/rpc.c:116 #9 <signal handler called> #10 0x080013a8 in serial_rpc_ready () at src/rpc.c:97 #11 0x08003596 in try_execute_m4_app () at src/m4_util.c:74 #12 0x0800088a in main () at src/main.c:124 Investigate a proper fix
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.