Can Asus Tinker Board run LINUXCNC

More
7 years 1 week ago #148663 by terry1992
The problem is the parallel port of my PC is not set to EPP 1.9 mode.
Thanks for your help.

Please Log in to join the conversation.

More
6 years 11 months ago #149675 by terry1992
I can communication (readhmid) with the 7i90 card by spi.
And I got a tinker board mesaflash driver from the author of
.
The driver link is www.youtube.com/redirect?redir_token=qq6...QZC_8&event=comments
However when I tried to load the hm2_tkboard.
An error occured as follows.
Code:
halcmd: loadrt hostmot2 Note: Using POSIX realtime hm2: loading Mesa HostMot2 driver version 0.15 halcmd: loadrt hm2_tkboard Invalid cookie Read: 00000000 00000000 00000000 00000000 hm2_tkboard: rtapi_app_main: No such device (-19) <stdin>:2: waitpid failed /home/atech/linuxcnc-dev/bin/rtapi_app hm2_tkboard <stdin>:2: /home/atech/linuxcnc-dev/bin/rtapi_app exited without becoming ready <stdin>:2: insmod for hm2_tkboard failed, returned -1

Could anyone give me some advice to fix it?

Please Log in to join the conversation.

More
6 years 11 months ago #149691 by tommylight
That has to be compiled and installed before use, did you do that?

Please Log in to join the conversation.

More
6 years 11 months ago #149700 by terry1992
I have do the halcompile command before.
The result are
Code:
atech@tinkerboard:~/linuxcnc-dev/src$ halcompile --install ./hm2_tkboard.c Compiling realtime hm2_tkboard.c Linking hm2_tkboard.so cp hm2_tkboard.so /home/atech/linuxcnc-dev/rtlib/

Do it means the compile is already done? Or there are something I have to do before I tried to do the loadrt command?

Please Log in to join the conversation.

More
6 years 11 months ago #149758 by andypugh
No, that has installed and compiled.

It has also, fairly clearly, run. It has got as far as talking to the Mesa card but has not seen the response expected. I would suspect an issue with physical wiring, or possibly the SPI needs enabling in firmware? This certainly needs to be done with the Pi.

Please Log in to join the conversation.

More
6 years 11 months ago #149759 by andypugh
Reading between the lines here: tinkerboarding.co.uk/forum/thread-85-post-1285.html

You may need to edit /boot/hw_intf.conf

Please Log in to join the conversation.

More
6 years 11 months ago #149760 by andypugh
Has anyone tried the Tinkerboard with the 7C80 or 7C81?

Please Log in to join the conversation.

More
6 years 11 months ago #149772 by PCW
The 7C80 or 7C81 should be identical in behavior to a 7I90 as far as the SPI interface goes, The fact that mesaflash works suggest you have the correct SPI wiring (unless the driver uses a different port)

Are you sure the driver is a hal component? That seems a bit odd

Please Log in to join the conversation.

More
6 years 11 months ago #149777 by andypugh

PCW wrote: Are you sure the driver is a hal component? That seems a bit odd


All the drivers are HAL components. i am a bit surprised that it compiled cleanly with halcompile, as typically it is hard to get the includes right, but it did, so looks like OK to me.

Please Log in to join the conversation.

More
6 years 11 months ago #149778 by PCW
I guess I just meant that that using halcompile outside of the norrnal LinuxCNC source tree for hm2 drivers seem odd

Please Log in to join the conversation.

Time to create page: 0.076 seconds
Powered by Kunena Forum