- Posts: 18
- Thank you received: 0
Can Asus Tinker Board run LINUXCNC
7 years 1 week ago #148663
by terry1992
Replied by terry1992 on topic Can Asus Tinker Board run LINUXCNC
The problem is the parallel port of my PC is not set to EPP 1.9 mode.
Thanks for your help.
Thanks for your help.
Please Log in to join the conversation.
6 years 11 months ago #149675
by terry1992
Replied by terry1992 on topic Can Asus Tinker Board run LINUXCNC
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.
Could anyone give me some advice to fix it?
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.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
6 years 11 months ago #149691
by tommylight
Replied by tommylight on topic Can Asus Tinker Board run LINUXCNC
That has to be compiled and installed before use, did you do that?
Please Log in to join the conversation.
6 years 11 months ago #149700
by terry1992
Replied by terry1992 on topic Can Asus Tinker Board run LINUXCNC
I have do the halcompile command before.
The result are
Do it means the compile is already done? Or there are something I have to do before I tried to do the loadrt command?
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.
6 years 11 months ago #149758
by andypugh
Replied by andypugh on topic Can Asus Tinker Board run LINUXCNC
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.
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.
6 years 11 months ago #149759
by andypugh
Replied by andypugh on topic Can Asus Tinker Board run LINUXCNC
Reading between the lines here:
tinkerboarding.co.uk/forum/thread-85-post-1285.html
You may need to edit /boot/hw_intf.conf
You may need to edit /boot/hw_intf.conf
Please Log in to join the conversation.
6 years 11 months ago #149760
by andypugh
Replied by andypugh on topic Can Asus Tinker Board run LINUXCNC
Has anyone tried the Tinkerboard with the 7C80 or 7C81?
Please Log in to join the conversation.
6 years 11 months ago #149772
by PCW
Replied by PCW on topic Can Asus Tinker Board run LINUXCNC
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
Are you sure the driver is a hal component? That seems a bit odd
Please Log in to join the conversation.
6 years 11 months ago #149777
by andypugh
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.
Replied by andypugh on topic Can Asus Tinker Board run LINUXCNC
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.
6 years 11 months ago #149778
by PCW
Replied by PCW on topic Can Asus Tinker Board run LINUXCNC
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
