New project, litehm2: a hostmot2 port to linsn rv901t

More
26 Mar 2024 10:18 - 26 Mar 2024 10:22 #296802 by Spacehitchhiker42
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.

More
26 Mar 2024 21:32 #296843 by PCW
It should be possible since the HM2 source that supports the T20
is available. I would expect that the on-chip RAM is sufficient

Please Log in or Create an account to join the conversation.

More
27 Mar 2024 07:48 #296873 by Spacehitchhiker42
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.

More
29 Mar 2024 05:24 #297061 by xu
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

Please Log in or Create an account to join the conversation.

More
29 Mar 2024 19:32 #297135 by PCW
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.

Please Log in or Create an account to join the conversation.

More
08 May 2024 13:42 - 08 May 2024 13:43 #300122 by sensille

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.

More
08 May 2024 17:34 #300143 by IlyaKw

gentlemen . bit file still cannot be generated
 

You should carefully read a little instruction.

here

Please Log in or Create an account to join the conversation.

More
24 Jun 2024 21:14 #303715 by dzik
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

Please Log in or Create an account to join the conversation.

More
24 Jun 2024 21:21 #303717 by PCW
"board fails HM2 registration"

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.

More
24 Jun 2024 22:50 #303719 by cornholio
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.

Please Log in or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.106 seconds
Powered by Kunena Forum