- Posts: 16
- Thank you received: 0
Mesa Flash - Mesa 7i94.
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!
I've just done it and it didn't work!
Attachment not found
Please Log in to join the conversation.
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 \ <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
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 \ <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Please Log in to join the conversation.
6 years 11 months ago #150300
by PCW
Replied by PCW on topic Mesa Flash - Mesa 7i94.
its hostmot2 not hotmot2
Please Log in to join the conversation.
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!!
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 to join the conversation.
6 years 11 months ago #150307
by andypugh
Replied by andypugh on topic Mesa Flash - Mesa 7i94.
My suggested procedure still has some things going for it, as it takes a lot of surrounding stuff out of the equation.
But it does need to be "hostmot2".
But it does need to be "hostmot2".
Please Log in to join the conversation.
6 years 11 months ago #150320
by PCW
Replied by PCW on topic Mesa Flash - Mesa 7i94.
Yes, halcmd is great way to debug hardware and software setups, list pins and parameters etc without the need for a hal/ini file
Its also better for live tweaking pins and parameters than the GUIs "show" interface because it has command completion and you inherit command history and line editing from the terminal interface
Its also better for live tweaking pins and parameters than the GUIs "show" interface because it has command completion and you inherit command history and line editing from the terminal interface
Please Log in to join the conversation.
6 years 11 months ago #150352
by Moreira
Replied by Moreira on topic Mesa Flash - Mesa 7i94.
Hi Andy,
I've implemented your suggested procedure. It recognises the board and displays the pins.
Thank you!
I've implemented your suggested procedure. It recognises the board and displays the pins.
Thank you!
Attachment not found
Please Log in to join the conversation.
6 years 11 months ago #150375
by andypugh
Replied by andypugh on topic Mesa Flash - Mesa 7i94.
Another tip, you can use the command line to connect to a live system:
That allows you link and unlink pins, load and unload HAL components, start halmeters (loadusr halmeter pin motion.program-line for example), start the halscope (loadusr halscope) etc etc.
Anything you can do in a HAL file you can do live at the command line.
Code:
halcmd -kf
Anything you can do in a HAL file you can do live at the command line.
Please Log in to join the conversation.
6 years 11 months ago #150377
by Moreira
Replied by Moreira on topic Mesa Flash - Mesa 7i94.
This is great! Thank you!
Please Log in to join the conversation.
Time to create page: 0.066 seconds
