Click here to Skip to main content
15,114,302 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 6:23
Memberlopatir19-Apr-18 6:23 
GeneralRe: Thought of the Day Pin
W Balboos, GHB19-Apr-18 6:31
mveW Balboos, GHB19-Apr-18 6:31 
GeneralArgh! Interrupt problems! Pin
CodeWraith19-Apr-18 6:15
MemberCodeWraith19-Apr-18 6:15 
GeneralRe: Argh! Interrupt problems! Pin
OriginalGriff19-Apr-18 6:22
mveOriginalGriff19-Apr-18 6:22 
GeneralRe: Argh! Interrupt problems! Pin
CodeWraith19-Apr-18 6:31
MemberCodeWraith19-Apr-18 6:31 
GeneralRe: Argh! Interrupt problems! Pin
lopatir19-Apr-18 6:42
Memberlopatir19-Apr-18 6:42 
GeneralRe: Argh! Interrupt problems! Pin
OriginalGriff19-Apr-18 6:49
mveOriginalGriff19-Apr-18 6:49 
GeneralRe: Argh! Interrupt problems! Pin
Marc Clifton19-Apr-18 7:32
mvaMarc Clifton19-Apr-18 7: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 8:03
MemberCodeWraith19-Apr-18 8:03 
GeneralRe: Argh! Interrupt problems! Pin
Marc Clifton20-Apr-18 3:52
mvaMarc Clifton20-Apr-18 3:52 
GeneralRe: Argh! Interrupt problems! Pin
Slacker00719-Apr-18 6:36
professionalSlacker00719-Apr-18 6:36 
GeneralRe: Argh! Interrupt problems! Pin
OriginalGriff19-Apr-18 6:50
mveOriginalGriff19-Apr-18 6:50 
GeneralRe: Argh! Interrupt problems! Pin
Slacker00719-Apr-18 7:07
professionalSlacker00719-Apr-18 7:07 
GeneralRe: Argh! Interrupt problems! Pin
lopatir19-Apr-18 7:17
Memberlopatir19-Apr-18 7:17 
GeneralRe: Argh! Interrupt problems! Pin
OriginalGriff19-Apr-18 7:21
mveOriginalGriff19-Apr-18 7:21 
GeneralRe: Argh! Interrupt problems! Pin
lopatir19-Apr-18 7:36
Memberlopatir19-Apr-18 7:36 
GeneralRe: Argh! Interrupt problems! Pin
OriginalGriff19-Apr-18 9:27
mveOriginalGriff19-Apr-18 9:27 
GeneralRe: Argh! Interrupt problems! Pin
CodeWraith19-Apr-18 8:13
MemberCodeWraith19-Apr-18 8:13 
GeneralRe: Argh! Interrupt problems! Pin
Marc Clifton19-Apr-18 7:23
mvaMarc Clifton19-Apr-18 7:23 
GeneralRe: Argh! Interrupt problems! Pin
OriginalGriff19-Apr-18 7:27
mveOriginalGriff19-Apr-18 7:27 
GeneralAPOD Pin
R. Giskard Reventlov19-Apr-18 5:27
MemberR. Giskard Reventlov19-Apr-18 5:27 
GeneralRe: APOD Pin
glennPattonInThePub319-Apr-18 5:45
professionalglennPattonInThePub319-Apr-18 5:45 
GeneralRe: APOD Pin
lopatir19-Apr-18 6:03
Memberlopatir19-Apr-18 6:03 
GeneralRe: APOD Pin
Rick York19-Apr-18 13:13
mveRick York19-Apr-18 13:13 
GeneralIs it possible to meet these requirements? Pin
Gary Huck19-Apr-18 5:18
MemberGary Huck19-Apr-18 5: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.