Mesa 7i80HD Etheret problem

More
10 Nov 2018 12:56 #120383 by 3D-Master
Hello,

i have a 7i80HD and when i want to create a new connection to it i set a new adress like so:

Adress Netmask Gateway
192.168.1.121 255.255.255.0 0.0.0.0

but the Gateway always is Yellow underlined so i cannot completely finish the connection. When i click on save and look at the new adress it says:

Adress netmask gateway
192.168.1.121 24

what could be wrong?

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

More
10 Nov 2018 13:05 #120384 by Clive S
Replied by Clive S on topic Mesa 7i80HD Etheret problem

Hello,

i have a 7i80HD and when i want to create a new connection to it i set a new adress like so:

Adress Netmask Gateway
192.168.1.121 255.255.255.0 0.0.0.0

but the Gateway always is Yellow underlined so i cannot completely finish the connection. When i click on save and look at the new adress it says:

Adress netmask gateway
192.168.1.121 24

what could be wrong?


I think that could be OK, have you tried it? 24 is instead of 255.255.255.0 if I am not mistaken

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

More
10 Nov 2018 13:29 #120387 by 3D-Master
okay i can ping the card but when i say "mesaflash --device 7i80hd --readhmid" it says no 7i80hd board found.

just for your info i had to reset the network because i couldnt connect to the internet either by ethernet or wifi

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

More
10 Nov 2018 14:37 #120389 by Clive S
Replied by Clive S on topic Mesa 7i80HD Etheret problem
I have not read the manual but it is suggested that you use something like 10.10.10.9 for the card and set the pc to 10.10.10.10 this keeps it out of your general ip range.

Have you powered the card up?

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

More
10 Nov 2018 14:48 #120390 by PCW
Replied by PCW on topic Mesa 7i80HD Etheret problem
You have set your host address to the 7I80HDs default IP address

If you have the 7I80 set for 192.168.1.121 you should set your host address to say
192.168.1.10

The reason that ping works is that you are pinging yourself :-)

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

More
10 Nov 2018 14:55 #120391 by 3D-Master
yes the card is powered up with 5v

i have added a static adress to my computer in the file "interfaces" at /etc/network:

auto eth1
iface eth1 inet static
address 192.168.1.1
hardware−irq−coalesce−rx−usecs 0

and now i can use mesaflash --readhmid and see the io pins but when i start the machine it says:
Note: Using POSIX realtime
iptables: No chain/target/match by that name.
./7i80hd.hal:9 parameter or pin ´hm2_7i80HD.0.pwmgen.pwm_frequency´ not found

i have created a basic config with only XY and Z encoder and pwm output so it should start (like it did in the video i saw)

as --readhmid states i have pwm output from pin 23 to 47 (23 pwm 24 dir 25 pwm and so on)

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

More
10 Nov 2018 15:16 #120393 by PCW
Replied by PCW on topic Mesa 7i80HD Etheret problem
hm2_7i80HD.0.pwmgen.pwm_frequency should be hm2_7i80hd.0.pwmgen.pwm_frequency

Also do you have pwmgens enabled in the driver config line?

You can get a list of available hal pins,parameters,signals and functions with:

halcmd show all

when linuxcnc is running

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

More
10 Nov 2018 18:02 #120407 by 3D-Master
i have every 7i80HD renamed to 7i80hd (if that is what you mean) but still it says parameter or pin not found.

in the hal is:

loadrt hm2_eth board_ip="192.168.1.121" config=" num_encoders=6 num_pwmgens=6 num_stepgens=0"

Linuxcnc doesnt even start so i cannot see the pin names

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

More
10 Nov 2018 20:52 #120417 by 3D-Master
i flashed the sv12.bit on the 7i80 and made a new machine config with the exact same bitfile and only added x,y and z encoders and pwm but still it wont find the parameter or pin... also it writes "7i80HD" again instead of "7i80hd"

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

More
10 Nov 2018 21:32 #120418 by PCW
Replied by PCW on topic Mesa 7i80HD Etheret problem
What writes 7I80HD? if its the error message, you still have "7I80HD" in your file, is it possible you are not editing the correct file?

when you flash a new bitfile, did you power cycle the 7I80HD or run mesaflash with the --reload option? If you don't do this, the flash memory will be updated but the FPGA firmware will be unchanged.

To see the available pins if you have a hal file issue, an alternate way is to start the driver with halrun:

halrun
halcmd: loadrt hostmot2
halcmd: loadrt hm2_eth board_ip="192.168.1.121" config=" num_encoders=6 num_pwmgens=6 num_stepgens=0"
halcmd show param hm2*

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

Time to create page: 0.203 seconds
Powered by Kunena Forum