Questions tagged [interrupt]
Use for questions related to interrupt signals and interrupt handling.
interrupt
3,403
questions
0
votes
0
answers
43
views
Disabling write protection on Windows
I've been learning win internals and I came across an interesting thing called Write Protection.
I know Windows relies on interrupts but I don't know any other way to do this.
I decided to try it ...
0
votes
0
answers
16
views
ADC MCP3564 doesn't work with external clock
I'm using the ADC MCP3564 (from Microchip) to sample and convert data from a triaxial accelerometer. Everything works correctly if I use the internal oscillator, but if I use an external oscillator (8 ...
0
votes
0
answers
14
views
How to manage ISR in AWS Amplify with NextJs app router
I am writing NextJs frontend using NextJs 14 and ISR approach. All of my pages have revalidate set to 30 seconds. I use Amplify to deploy application. I caught very strange behaviour of cache on ISR ...
0
votes
0
answers
27
views
At what point in the interrupt-processing path does device-driver code execute?
I am new to interrupt handlers and device i/o and I have a few questions:
When you load a device-driver, i.e. kernel module, its assembly code is stored in the module-mapping region of the Kernel ...
0
votes
0
answers
22
views
How to handle multiple interrupts connected on same interrupt line in STM32?
I have created a circuit to use multiple interrupts in STM32H63 microcontroller. e.g. several interrupt sources are conntected to EXTI0 and similarly for others interrupt lines as well. Now, I know ...
-2
votes
2
answers
75
views
Make python steps non-interruptible
I want to make a portion of my python script non-interruptible - i.e. when a keyboard interrupt is triggered, it will wait for the line(s) to complete before interrupting.
Use-case: I am performing ...
0
votes
0
answers
31
views
How do exceptions work with the MMU in ARM Cortex A8 (ARMv7-A)?
Currently, I am studying the Cortex A8 kernel with MMU support. Previously, I only worked with Cortex M3, which did not have an MMU. According to the official documentation (ARM architecture reference ...
1
vote
1
answer
70
views
How to implement functions within a UART Interrupt Handler?
I know this is an incredibly long questions but ive posted as much detail so I can give the most context and hopefully make it easier to answer.
I am currently creating a program to receive messages ...
0
votes
1
answer
31
views
Interrupting a thread from ShutdownHook doesn't close resources
I have following code with a try-with-resources which creates two resources and it works fine:
public class SimpleResourceExample {
public static void main(String... args) {
try (var ...
1
vote
0
answers
32
views
How does the OSPM know if an incoming interrupt is SCI or not?
According to the ACPI spec:
The SCI interrupt is defined to be a shareable interrupt and is connected to an OS visible interrupt that uses a shareable
protocol. The FADT has an entry that indicates ...
0
votes
1
answer
32
views
How to tell what kind of event a SCI represents?
I am trying to understand the ACPI event programming model.
According to the ACPI 6.5 spec, SCI (System Control Interrupt) will be raised for two kinds of events: fixed event and general-purpose event....
0
votes
0
answers
14
views
UltraZed EV SOM: Interrupt Handler Not Triggering After Stop Command and Restart
I'm working on a project using the UltraZed EV SOM, and I've encountered an issue with interrupt handling in my custom kernel module.
Issue Description:
I have two video modes: "Normal" and &...
0
votes
0
answers
82
views
AVR program(for ATmega328p) restarts after interrupts (Proteus 8)
The program is written in C and compiled for AVR microcontroller ATmega328p. The program is being debugged in Proteus 8. After all interrupts are executed, the program restarts from the initialization ...
1
vote
0
answers
33
views
Error[Pe020]: identifier is undefined in vector table for RTOS-based ADC Interrupt
I'm doing a training program for embedded development, and right now I'm working on setting up an ADC interrupt in an RTOS environment in IAR Embedded Workbench.
I'm running into a problem when I try ...
2
votes
0
answers
76
views
Why is a process slower inside an audio interrupt/callback compared to a loop?
I'm writing a real-time audio application in C++ that does a beefy amount of processing on 10ms chunks of audio. I'm using miniaudio to handle the audio I/O. When benchmarking the amount of time the ...