bkubicek / Marlin

Reprap FW optimized for gen6
17 stars 1 forks source link

interupt routine "busy" got triggered? #12

Closed lampmaker closed 13 years ago

lampmaker commented 13 years ago

The stepper interrupt routine has a "busy" provision that makes sure it leaves the routine if it has been been triggered while still inside the routine. (~line 2070 I believe). I haven't checked ,but I wonder:

bkubicek commented 13 years ago

no, i don't believe so. From my, although limited atmel experience, a running timer interrupt blocks all further interrups, until it returns. Also, I tried to re-enable the interrupts to circumvent this, in the same manner than in marlin, however it never ever worked. But, on the other hand, mega2560 could be different