Click here to Skip to main content
15,891,033 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Thought of the Day Pin
lopatir19-Apr-18 5:23
lopatir19-Apr-18 5:23 
GeneralRe: Thought of the Day Pin
W Balboos, GHB19-Apr-18 5:31
W Balboos, GHB19-Apr-18 5:31 
GeneralArgh! Interrupt problems! Pin
CodeWraith19-Apr-18 5:15
CodeWraith19-Apr-18 5:15 
GeneralRe: Argh! Interrupt problems! Pin
OriginalGriff19-Apr-18 5:22
mveOriginalGriff19-Apr-18 5:22 
GeneralRe: Argh! Interrupt problems! Pin
CodeWraith19-Apr-18 5:31
CodeWraith19-Apr-18 5:31 
GeneralRe: Argh! Interrupt problems! Pin
lopatir19-Apr-18 5:42
lopatir19-Apr-18 5:42 
GeneralRe: Argh! Interrupt problems! Pin
OriginalGriff19-Apr-18 5:49
mveOriginalGriff19-Apr-18 5:49 
GeneralRe: Argh! Interrupt problems! Pin
Marc Clifton19-Apr-18 6:32
mvaMarc Clifton19-Apr-18 6:32 
Brings back memories. Do you have a processor that automatically disables further interrupts when the first interrupt occurs, or is an instruction to disable interrupts? If the former, one workaround I had to implement once was to check at the end of the interrupt handler if any other bits had been set and route them in the code. If the latter, you could either write your IRQ handlers to be really really safe, or you could write an IRQ handler that queues the interrupt and have a separate (does your processor do threading?) "loop" (ugh, but again, been there, done that) that services the queue.

Heck, if you can create a separate thread, don't even use the IRQ line, just poll the latch. As evil as that sounds, it actually works quite well, IIRC. If your processor doesn't support threads, then, ummm...not a great solution.

Anyways, that's my 2c from what I remember having to deal with in a previous lifetime.
Latest Article - Building a Prototype Web-Based Diagramming Tool with SVG and Javascript

Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny

Artificial intelligence is the only remedy for natural stupidity. - CDP1802

GeneralRe: Argh! Interrupt problems! Pin
CodeWraith19-Apr-18 7:03
CodeWraith19-Apr-18 7:03 
GeneralRe: Argh! Interrupt problems! Pin
Marc Clifton20-Apr-18 2:52
mvaMarc Clifton20-Apr-18 2:52 
GeneralRe: Argh! Interrupt problems! Pin
Slacker00719-Apr-18 5:36
professionalSlacker00719-Apr-18 5:36 
GeneralRe: Argh! Interrupt problems! Pin
OriginalGriff19-Apr-18 5:50
mveOriginalGriff19-Apr-18 5:50 
GeneralRe: Argh! Interrupt problems! Pin
Slacker00719-Apr-18 6:07
professionalSlacker00719-Apr-18 6:07 
GeneralRe: Argh! Interrupt problems! Pin
lopatir19-Apr-18 6:17
lopatir19-Apr-18 6:17 
GeneralRe: Argh! Interrupt problems! Pin
OriginalGriff19-Apr-18 6:21
mveOriginalGriff19-Apr-18 6:21 
GeneralRe: Argh! Interrupt problems! Pin
lopatir19-Apr-18 6:36
lopatir19-Apr-18 6:36 
GeneralRe: Argh! Interrupt problems! Pin
OriginalGriff19-Apr-18 8:27
mveOriginalGriff19-Apr-18 8:27 
GeneralRe: Argh! Interrupt problems! Pin
CodeWraith19-Apr-18 7:13
CodeWraith19-Apr-18 7:13 
GeneralRe: Argh! Interrupt problems! Pin
Marc Clifton19-Apr-18 6:23
mvaMarc Clifton19-Apr-18 6:23 
GeneralRe: Argh! Interrupt problems! Pin
OriginalGriff19-Apr-18 6:27
mveOriginalGriff19-Apr-18 6:27 
GeneralAPOD Pin
R. Giskard Reventlov19-Apr-18 4:27
R. Giskard Reventlov19-Apr-18 4:27 
GeneralRe: APOD Pin
glennPattonWork319-Apr-18 4:45
professionalglennPattonWork319-Apr-18 4:45 
GeneralRe: APOD Pin
lopatir19-Apr-18 5:03
lopatir19-Apr-18 5:03 
GeneralRe: APOD Pin
Rick York19-Apr-18 12:13
mveRick York19-Apr-18 12:13 
GeneralIs it possible to meet these requirements? Pin
Gary Huck19-Apr-18 4:18
Gary Huck19-Apr-18 4:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.