Mesa Flash - Mesa 7i94.

More
6 years 11 months ago - 6 years 11 months ago #150287 by Moreira
Replied by Moreira on topic Mesa Flash - Mesa 7i94.
Hi PCW,

what is the linuxcnc branch?

I've replaced the files in the mesa-hostmot2 directory of the linuxcnc 2.8 and it compiled successfully.

However, when I try to open a working configuration it complains about an undefined symbol: hm2_xy2mod_force_write.
Last edit: 6 years 11 months ago by Moreira.

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

More
6 years 11 months ago #150293 by andypugh
Replied by andypugh on topic Mesa Flash - Mesa 7i94.
Perhaps it is worth trying to keep things minimal at this point.

If you open a terminal window and type:
Code:
halrun loadrt hostmot2 loadrt hm2_eth board_ip=10.10.10.1
(You may need to change that IP address, depending on your config)
Do you see any errors?

If not, then you can carry on with commands like
Code:
show pin
to get a list of all the HAL pins that will be valid in your config.
Code:
exit
to leave the halcmd prompt.

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

More
6 years 11 months ago #150298 by Moreira
Replied by Moreira on topic Mesa Flash - Mesa 7i94.
Hello,

I've just done it and it didn't work!

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

More
6 years 11 months ago #150299 by PCW
Replied by PCW on topic Mesa Flash - Mesa 7i94.
That error means that you did not move the included Makefile that includes the xy2mod object to the src directory

hostmot2-objs := \
hal/drivers/mesa-hostmot2/hostmot2.o \
hal/drivers/mesa-hostmot2/ioport.o \
hal/drivers/mesa-hostmot2/encoder.o \
hal/drivers/mesa-hostmot2/abs_encoder.o\
hal/drivers/mesa-hostmot2/resolver.o \
hal/drivers/mesa-hostmot2/pwmgen.o \
hal/drivers/mesa-hostmot2/inmux.o \
hal/drivers/mesa-hostmot2/xy2mod.o \ <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
The following user(s) said Thank You: Moreira

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

More
6 years 11 months ago #150300 by PCW
Replied by PCW on topic Mesa Flash - Mesa 7i94.
its hostmot2 not hotmot2

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

More
6 years 11 months ago #150302 by Moreira
Replied by Moreira on topic Mesa Flash - Mesa 7i94.
PCW you were right!

I forgot to copy the makefile into the source directory!

It's working now!! I can load the linux CNC and It recognises the board 7i94.

Thanks a lot!!

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

Time to create page: 0.546 seconds
Powered by Kunena Forum