Creating custom configs for Mesa 7i80HDT

More
01 Nov 2023 18:12 - 01 Nov 2023 18:14 #284274 by slammers
Does anyone have a guide for how to compile the Mesa provided source files for the Trion FPGAs on the 7i80HDT?
 
Last edit: 01 Nov 2023 18:14 by slammers.

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

More
01 Nov 2023 18:54 #284275 by PCW
The process is basically the same as for Xilinx based boards except
for using a different tool chain. That is, you  use an existing pinout file
or create a new one, reference the new pinout file  in the top  level source,
then re-compile ( The new pinout file will likely need to be added to the project )

What configuration do you need?

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

More
02 Nov 2023 15:53 - 02 Nov 2023 15:56 #284341 by slammers
You use the Efinity software to do this? I have some experience with Verilog but not much with VHDL. I was hoping someone wrote something to get up and running quicker.

My immediate need is to configure this device to match the exact pinout of the 7i93. I have made my own customer interface board that uses two ribbon cables from the 7i93 to my board and since I can not get a 7i93, I was hoping it could use the 7i80HDT without modifying my hardware.

I have not got my LinuxCNC installation talking to the 7i80HDT yet so I am not sure if there is already a configuration that does this.

But I would like to have the ability to make my own configurations  for a future project.
 
Last edit: 02 Nov 2023 15:56 by slammers.

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

More
02 Nov 2023 16:14 #284345 by PCW
What 7I93 firmware are you using?

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

More
02 Nov 2023 16:23 #284346 by slammers
I think it SVST4_4D_48

loadrt hm2_eth board_ip="192.168.1.121" config=" num_encoders=4 num_pwmgens=4 num_stepgens=4"

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

More
02 Nov 2023 19:15 #284362 by PCW
This should have the same pinout (+ 4 more stepgens on the last connector)

File Attachment:

File Name: 7i80hdt_svst8_4d.zip
File Size:250 KB


Basically All I changed in the source was adding the pinout file
and adding it to the project and top level file.

You can edit the pin file to something you want and I can recompile
if you don't want to setup the tools
 
Attachments:

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

More
02 Nov 2023 21:20 - 02 Nov 2023 21:25 #284377 by slammers
I updated my system to the master branch and now have
LINUXCNC - 2.10.0-pre0-2330-g292511db43

But when I run
mesaflash --addr 192.168.1.121 --device=ETHER --readhmid

I still get error
Unsupported ethernet device 7I80HDT at 192.168.1.121
No ETHER board found

Do I have to update the firmware on the device or should mesa flash recongnize it out of the box?

Also, when I run the Pncconf Wizard there is no choice for 7i80HDT, only the 7i80HD
Last edit: 02 Nov 2023 21:25 by slammers.

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

More
02 Nov 2023 21:31 #284378 by PCW
You would need to update mesaflash to recognize the 7I80HDT

github.com/LinuxCNC/mesaflash
(build instructions at bottom of page)

Your older mesaflash version _should_ work for _reading_ with
the --device ether option so it may be there is a host configuration issue.

(what does "ip a" report?)

You do need to update mesaflash to correctly write to the 7I80HDT

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

More
02 Nov 2023 22:44 #284388 by slammers
I would think if there was an issue with my ip config then it would not even detect that the attached ether device is a 7i80HDT. It finds the board but says its not supported.

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether e8:6a:64:e9:68:f6 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.2/8 brd 192.255.255.255 scope global noprefixroute eno1
valid_lft forever preferred_lft forever
inet6 fe80::ea6a:64ff:fee9:68f6/64 scope link noprefixroute
valid_lft forever preferred_lft forever

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

More
02 Nov 2023 23:52 - 02 Nov 2023 23:53 #284400 by PCW
I don't think that host configuration will work to access the card reliably

I would set the host IP address to 192.168.1.100/24 and disable IPV6
or better still 10.10.10.100/24 and set the 7I80HDT card to 10.10.10.10
(W2,W3 DOWN,UP and power cycle)

And then update mesaflash (since the old version of mesaflash cannot write
correctly to the 7I80HDT)
Last edit: 02 Nov 2023 23:53 by PCW.

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

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