Skip to main content
Stack Overflow
  1. About
  2. For Teams

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
1 vote
0 answers
44 views

Trying to control my program time flow with a IRQ, all supervised from a WDT (watchdog) setted at 1 min, if program doesn't reset the WDT, system resets. After boot (NVS and FS data fetching), a TIMER ...
5 votes
0 answers
119 views

I am experiencing with OS programming I wrote a simple bootloader in assembly and I switched to protected mode. I want just to test interruption (keyboard) I did not want to do it with C but just in ...
0 votes
0 answers
47 views

Are maskable interrupts that are typically raised from controllers to request CPU attention and non maskable interrupts (reserved for critical hardware errors) raised on two different interrupt ...
5 votes
1 answer
194 views

I have this C code: void print_hello(void); void far int_handler(void); void kernel(void) { // Set interruption handler in IVT *((unsigned short*)(0x30 * 4)) = (unsigned short)int_handler; ...
1 vote
0 answers
192 views

Attempting to test A20 line through this link: https://www.independent-software.com/operating-system-development-enabling-a20-line.html, if you scroll to the middle of the page there is this "Testing ...
0 votes
1 answer
66 views

I have an Arduino MKR Wifi 1010, which has an ARM Cortex M0+ processor, and try to implement sleep correctly. What happens is that an interrupt is registered, and then __WFI (Wait for interrupt) is ...
3 votes
0 answers
201 views

I have multiple UIO interrupts defined. I am using Linux 6.12 without the realtime config (so, using the default scheduler, CFS). My userspace driver is using poll in a loop to watch these interrupts ...
1 vote
2 answers
123 views

I'm working on an Arduino project in pure C with multiple buttons. Each button has a different action associated with it, and I want to handle button presses using interrupts. Currently, the typical ...
Advice
1 vote
2 replies
141 views

What is the difference between an interrupt and a context switch? I understand the concept of an interrupt and how it occurs. However, I'm digging deeper into the topic. I studied Computer ...
0 votes
1 answer
44 views

Extract of longer program. Just to toggle the .side pin and then quit the PIO program. Causes loop and have to nuke the PICO! Loops before the 'Run' print. Thanks TypeError: function takes 2 ...
1 vote
1 answer
114 views

I am working on an assembly kernel, using the OSDev Wiki and a PDF from Nick Blundell. I have set up my GDT and it seems to work fine. I am also able to load the IDTR as well. However, when I try to ...
3 votes
1 answer
133 views

In RISC-V machine mode, when you issue a csrrw that sets a bit in mie (i.e. enabling an interrupt that is already pending), must the very next instruction immediately branch to the interrupt handler? ...
0 votes
1 answer
70 views

I am trying to use interrupts with the ADC module. I am using PA0 and PA1 as analog inputs for the ADC, and PC0 and PC1 as external LEDs. My goal is: when PA0 is triggered, PC0 should turn on. when ...
0 votes
0 answers
76 views

I have a program that I wrote that has interrupts of multiple priorities. Within the body of the low priority ISR, interrupts are re-enabled so that high priority interrupts can interrupt them if ...
user4574's user avatar
  • 416
0 votes
0 answers
38 views

Question regarding ISRs in Next.JS apps. Basically if we got 2 Next.js apps. 1 app do ISR and output to a storage, and 2nd app refer to App 1 output. Is this possible - 2 apps sharing a single ISR ...

15 30 50 per page
1
2 3 4 5
...
314

AltStyle によって変換されたページ (->オリジナル) /