Hello again, it's been a long time since my last email, and I've tried to
make hal driver for my boards' gpios, but it seems I'm stuck.

First, I've used pcl720.comp as an example, and after a couple of
iterations I've got this code:

http://pastebin.com/4LT3WLRE

It compiles, and loadrt loads it, I guess (but seems strange to me that
lsmod dows not show any additional kernel module loaded), but oscilloscope
tells me that nothing happens when I try to fix the  value of a pin.

Well, after that I've tried to use hal_bb_gpio.c code as an example of a
hal driver hoping that it will be more obvious to read later, and after a
couple of iterations I've got this code (header and c file):

http://pastebin.com/SRvuYnJQ
http://pastebin.com/72W6P46G

For example, here are the original files:
http://pastebin.com/Y5AnDvXF
http://pastebin.com/TQC3EpQs

It compiles, but loadrt is unable to load it giving me the following
mistake:

<stdin>:1: /opt/linuxcnc/libexec/rtapi_app_xenomai exited without becoming
ready
<stdin>:1: insmod failed, returned -1
See the log and output of 'dmesg' for more information.

Both log and dmesg are silent about that mistake, and now I don't even know
where to look for mistakes and how to start my debug.

-- 
sincerely, Paul
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to