On Sat, 15 Oct 2016 16:06:23 -0500
Jon Elson <el...@pico-systems.com> wrote:

> On 10/14/2016 12:09 PM, Erik Friesen wrote:
> > I guess I am not following how a hardware interrupt gets mapped to the
> > userspace/lcnc servo thread.  Any pointers on this?
> >
> >
> Supposedly, this is fairly easy to do on the rt-preempt 
> kernel.  It seems it was harder to do this through RTAI.
> Michael Haberler says he has tested this on machinekit, but 
> of course the interrupt system on the ARMs is totally 
> different than on X86.
> Jon

Map an interrupt to a servo thread in linuxcnc running a linux kernel I have no 

I however know the ARM Cortex-M* model have a nested interrupt controller with 
priority and with priorities set correct it is possible to implement 
rate-monotonic scheduling in hardware with this. I works fo simple systems and 
there are quite few threads in linuxcnc although more might be needed for the 

The highet end ARMs to my knowledge lack this interrupt controller. They are 
fast but lack the hardware to rely on any theory for real time tasks.

Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
Emc-users mailing list

Reply via email to