New project, litehm2: a hostmot2 port to linsn rv901t
- Spacehitchhiker42
- Offline
- New Member
Less
More
- Posts: 17
- Thank you received: 1
26 Mar 2024 10:18 - 26 Mar 2024 10:22 #296802
by Spacehitchhiker42
Replied by Spacehitchhiker42 on topic New project, litehm2: a hostmot2 port to linsn rv901t
Is there any massively insurmountable reason that this project wouldn't work with a Trion T20 FPGA? I did notice that SRAM was mentioned in a previous post, does this require an external SRAM chip or does it use internal FPGA resources?
Last edit: 26 Mar 2024 10:22 by Spacehitchhiker42.
Please Log in or Create an account to join the conversation.
26 Mar 2024 21:32 #296843
by PCW
Replied by PCW on topic New project, litehm2: a hostmot2 port to linsn rv901t
It should be possible since the HM2 source that supports the T20
is available. I would expect that the on-chip RAM is sufficient
is available. I would expect that the on-chip RAM is sufficient
Please Log in or Create an account to join the conversation.
- Spacehitchhiker42
- Offline
- New Member
Less
More
- Posts: 17
- Thank you received: 1
27 Mar 2024 07:48 #296873
by Spacehitchhiker42
Replied by Spacehitchhiker42 on topic New project, litehm2: a hostmot2 port to linsn rv901t
I did notice that in litehm2.py there are imports for "M12L64322a" and "GENSDRPHY", though they do not appear to be used anywhere. I just wanted to confirm that they aren't required for functionality.
Please Log in or Create an account to join the conversation.
29 Mar 2024 05:24 #297061
by xu
Replied by xu on topic New project, litehm2: a hostmot2 port to linsn rv901t
How do I use two 901T boards connected to the switch at the same time?
In addition to setting the IP address of the card 10.10.10.10 and 10.10.10.11 , how does the HAL know that it is the only IO pin
In addition to setting the IP address of the card 10.10.10.10 and 10.10.10.11 , how does the HAL know that it is the only IO pin
Please Log in or Create an account to join the conversation.
29 Mar 2024 19:32 #297135
by PCW
Replied by PCW on topic New project, litehm2: a hostmot2 port to linsn rv901t
You load the driver with multiple ip addresses specified
The hal pins/parameters will have different board numbers.
Its also important with multiple cards to use the read-request function
so that the second card does not have wait for the first card to respond
before its read data request is sent.
The hal pins/parameters will have different board numbers.
Its also important with multiple cards to use the read-request function
so that the second card does not have wait for the first card to respond
before its read data request is sent.
Please Log in or Create an account to join the conversation.
08 May 2024 13:42 - 08 May 2024 13:43 #300122
by sensille
Replied by sensille on topic New project, litehm2: a hostmot2 port to linsn rv901t
I did notice that in litehm2.py there are imports for "M12L64322a" and "GENSDRPHY", though they do not appear to be used anywhere. I just wanted to confirm that they aren't required for functionality.
Sorry for the late reply. Yes, the SDRAM is not used, only internal resources (BRAM).
Last edit: 08 May 2024 13:43 by sensille.
Please Log in or Create an account to join the conversation.
08 May 2024 17:34 #300143
by IlyaKw
Replied by IlyaKw on topic New project, litehm2: a hostmot2 port to linsn rv901t
Please Log in or Create an account to join the conversation.
24 Jun 2024 21:14 #303715
by dzik
Replied by dzik on topic New project, litehm2: a hostmot2 port to linsn rv901t
Help me please.
It seems that I’ve done everything and the bit files change when uploaded, but for some reason I can’t start Linux sts. What am I doing wrong?
LINUXCNC - 2.9.2
Machine configuration directory is '/home/dzik/linuxcnc/configs/EMCO'
Machine configuration file is 'EMCO.ini'
Starting LinuxCNC...
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX realtime
Found file(REL): ./EMCO.hal
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 10.10.10.10: INFO: Hardware address (MAC): 4f:e7:34:84:64:c6
hm2_eth: Unrecognized ethernet board found: litehm2 -- port names will be wrong
hm2_eth: discovered litehm2
hm2/hm2_lite.0: Low Level init 0.15
board fails HM2 registration
hm2_eth: in hm2_eth_reset
hm2_eth: rtapi_app_main: Resource temporarily unavailable (-11)
./EMCO.hal:9: waitpid failed /usr/bin/rtapi_app hm2_eth
./EMCO.hal:9: /usr/bin/rtapi_app exited without becoming ready
./EMCO.hal:9: insmod for hm2_eth failed, returned -1
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
hm2: unloading
Note: Using POSIX realtime
LinuxCNC terminated with an error. You can find more information in the log:
/home/dzik/linuxcnc_debug.txt
and
/home/dzik/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
It seems that I’ve done everything and the bit files change when uploaded, but for some reason I can’t start Linux sts. What am I doing wrong?
LINUXCNC - 2.9.2
Machine configuration directory is '/home/dzik/linuxcnc/configs/EMCO'
Machine configuration file is 'EMCO.ini'
Starting LinuxCNC...
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX realtime
Found file(REL): ./EMCO.hal
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 10.10.10.10: INFO: Hardware address (MAC): 4f:e7:34:84:64:c6
hm2_eth: Unrecognized ethernet board found: litehm2 -- port names will be wrong
hm2_eth: discovered litehm2
hm2/hm2_lite.0: Low Level init 0.15
board fails HM2 registration
hm2_eth: in hm2_eth_reset
hm2_eth: rtapi_app_main: Resource temporarily unavailable (-11)
./EMCO.hal:9: waitpid failed /usr/bin/rtapi_app hm2_eth
./EMCO.hal:9: /usr/bin/rtapi_app exited without becoming ready
./EMCO.hal:9: insmod for hm2_eth failed, returned -1
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
hm2: unloading
Note: Using POSIX realtime
LinuxCNC terminated with an error. You can find more information in the log:
/home/dzik/linuxcnc_debug.txt
and
/home/dzik/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
Please Log in or Create an account to join the conversation.
24 Jun 2024 21:21 #303717
by PCW
Replied by PCW on topic New project, litehm2: a hostmot2 port to linsn rv901t
"board fails HM2 registration"
indicates an inconsistency in the bitfile
what does
mesaflash --device ethernet --addr 10.10.10.10 --readhmid
report?
indicates an inconsistency in the bitfile
what does
mesaflash --device ethernet --addr 10.10.10.10 --readhmid
report?
Please Log in or Create an account to join the conversation.
24 Jun 2024 22:50 #303719
by cornholio
Replied by cornholio on topic New project, litehm2: a hostmot2 port to linsn rv901t
Did you read the section regarding patching the linuxcnc driver ? Because of the 1G bit network interface on The colorlight card.
It may be worth updating Linuxcnc so that you are running a version that has the patch included.
That is if you haven’t already done so.
It may be worth updating Linuxcnc so that you are running a version that has the patch included.
That is if you haven’t already done so.
Please Log in or Create an account to join the conversation.
Time to create page: 0.101 seconds