[Xenomai] Fwd: RTDM !xnpod_unblockable_p() question

2014-08-14 Thread Michael Smith
On Wed, Aug 13, 2014 at 10:04 PM, Gilles Chanteperdrix < gilles.chanteperd...@xenomai.org> wrote: > On 08/13/2014 02:28 PM, Michael Smith wrote: > > but there is just not enough information in the code > > or documentation for me to solve it. > > Actually, the information can very well be found in

Re: [Xenomai] Fwd: RTDM !xnpod_unblockable_p() question

2014-08-14 Thread Philippe Gerum
On 08/14/2014 09:02 AM, Michael Smith wrote: > On Wed, Aug 13, 2014 at 10:04 PM, Gilles Chanteperdrix < > gilles.chanteperd...@xenomai.org> wrote: > >> On 08/13/2014 02:28 PM, Michael Smith wrote: >>> but there is just not enough information in the code >>> or documentation for me to solve it. >>

[Xenomai] access SPI and DMA hardware from application ("external abort on non-linefetch")

2014-08-14 Thread Reitinger, Peter
or 0. [ 2872.798021] handleClose Bus error root@dimm-am335x:~# ### Thank you in advance for your help! Kind regards Peter Reitinger -- next part -- A non-text attachment was scrubbed... Name: Makefile Type: application/octet-stream Size: 228 bytes Desc: Makefile URL: <

Re: [Xenomai] C++ std::thread and xenomai pthread

2014-08-14 Thread Jeff Webb
On 08/14/2014 02:27 PM, Matthew Lindner wrote: Can you elaborate? Did you check to see if it was using xenomai pthreads and was staying in primary mode? It's been a while since I wrote the code, so it's hard for me to remember the details. This is why I was reluctant to say more. I have used

Re: [Xenomai] C++ std::thread and xenomai pthread

2014-08-14 Thread Jorge Ramirez Ortiz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/11/2014 05:48 PM, Jeff Webb wrote: > On 08/11/2014 10:33 AM, Matthew Lindner wrote: >> Has anyone experimented with using std::thread from the C++ STL library? I >> am curious if it automatically incorporates the xenomai pthread API layer >> or w

Re: [Xenomai] access SPI and DMA hardware from application ("external abort...")

2014-08-14 Thread Reitinger, Peter
Hello, meanwhile I have solved the issue on my own. I tried to access the SPI1 HW with traditional mmap approach from user space and had the same problem until I saw that I had to start the whole SPI1 module by setting a specific control bit to enable its clock. Sorry for posting this, but I wa