- Posts: 17524
- Thank you received: 0
Mesa Flash - Mesa 7i94.
6 years 11 months ago #150146
by PCW
Replied by PCW on topic Mesa Flash - Mesa 7i94.
Glad its working , you probably were running the older version
To amplify on what tommylight was saying, do no write anything to the 7I94
other than a file with a name that starts with 7i94_ and ends in .bit
To amplify on what tommylight was saying, do no write anything to the 7I94
other than a file with a name that starts with 7i94_ and ends in .bit
Please Log in to join the conversation.
6 years 11 months ago #150217
by Moreira
Replied by Moreira on topic Mesa Flash - Mesa 7i94.
Hi PCW,
I've re-built the linuxcnc ( github.com/KurtJacobson/RF45-CNC/wiki/Bu...LinuxCNC-From-Source ) after replacing the hm2_eth.c and pins.c files in the directory: linuxcnc-dev/src/hal/drivers/mesa-hostmot2/
When I tried to compile (make) the 2.7 branch I had multiple undeclared errors generated by the pins.c file.
So, I tried the 2.8 branch and It also generated errors but they were all related to the undeclared definition "HHM2_GTAG_INMIX". Then, I opened the pins.c file and commented the lines of code which use this definition and it worked! Please find attached the modified pins.c file.
Then, after launching the linux cnc from the terminal I came across with the window "Confirm automatic update". It says I should update linux cnc.
I ignored this and I was getting errors: "the linux cnc was shutting down and cleaning up"
What linux CNC version should I be using with mesa i794?
Should I update linux cnc?
Best Regards,
Laura
I've re-built the linuxcnc ( github.com/KurtJacobson/RF45-CNC/wiki/Bu...LinuxCNC-From-Source ) after replacing the hm2_eth.c and pins.c files in the directory: linuxcnc-dev/src/hal/drivers/mesa-hostmot2/
When I tried to compile (make) the 2.7 branch I had multiple undeclared errors generated by the pins.c file.
So, I tried the 2.8 branch and It also generated errors but they were all related to the undeclared definition "HHM2_GTAG_INMIX". Then, I opened the pins.c file and commented the lines of code which use this definition and it worked! Please find attached the modified pins.c file.
Then, after launching the linux cnc from the terminal I came across with the window "Confirm automatic update". It says I should update linux cnc.
I ignored this and I was getting errors: "the linux cnc was shutting down and cleaning up"
What linux CNC version should I be using with mesa i794?
Should I update linux cnc?
Best Regards,
Laura
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Please Log in to join the conversation.
6 years 11 months ago #150219
by Moreira
Replied by Moreira on topic Mesa Flash - Mesa 7i94.
Hello PCW,
Yes, I've done that. Thank you!
Yes, I've done that. Thank you!
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
6 years 11 months ago #150220
by tommylight
Replied by tommylight on topic Mesa Flash - Mesa 7i94.
Can you please tell us what are you trying to achieve as the end result, it seems you keep trying to do things you really do not need to.
On the first screen you are using a config for a parallel port and your PC does not have one, at least not at the address it is looking for (0x378).
On the first screen you are using a config for a parallel port and your PC does not have one, at least not at the address it is looking for (0x378).
Please Log in to join the conversation.
6 years 11 months ago #150222
by Moreira
Replied by Moreira on topic Mesa Flash - Mesa 7i94.
Hello,
At this point I want to create a configuration (Hal.file and Ini.file) that I can edit and adapt to my application.
However, I'm not sure if the re-built LinuxCNC 2.8 will work witth Mesa 7i94. So, I just selected a sample configuration to test it. It crashes when I select this : "Sample Configurations\by_interface\parport\etch-servo\etch"
However, this does not happen when I use the LinuxCNC 2.7, which is currently installed.
.
At this point I want to create a configuration (Hal.file and Ini.file) that I can edit and adapt to my application.
However, I'm not sure if the re-built LinuxCNC 2.8 will work witth Mesa 7i94. So, I just selected a sample configuration to test it. It crashes when I select this : "Sample Configurations\by_interface\parport\etch-servo\etch"
However, this does not happen when I use the LinuxCNC 2.7, which is currently installed.
.
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
6 years 11 months ago #150228
by tommylight
Replied by tommylight on topic Mesa Flash - Mesa 7i94.
What is 7i94 supposed to do? Stepgens? GPIO? Encoders? PWM? SSI, Smart Serial ?
Please Log in to join the conversation.
6 years 11 months ago #150230
by Moreira
Replied by Moreira on topic Mesa Flash - Mesa 7i94.
Smart Serial and GPIO (for home switches).
The current firmware is the 7194ss_5abobd.bit
The current firmware is the 7194ss_5abobd.bit
Please Log in to join the conversation.
6 years 11 months ago #150234
by PCW
Replied by PCW on topic Mesa Flash - Mesa 7i94.
The first step would be to get a working 7I94 hal file, you will not get far with hal files for other hardware. I think I have a test config (for step-dir) you can try but I have to dig it up
Also here is the latest snapshot of Mesa HM2 changes:
freeby.mesanet.com/newmesa.zip
Note that this should be unzipped into the yourlinuxcnc-dev/src/hal/drivers/mesa-hm2 directory and the Makefile moved to yourlinuxcnc-dev/src
Also here is the latest snapshot of Mesa HM2 changes:
freeby.mesanet.com/newmesa.zip
Note that this should be unzipped into the yourlinuxcnc-dev/src/hal/drivers/mesa-hm2 directory and the Makefile moved to yourlinuxcnc-dev/src
Please Log in to join the conversation.
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.
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.
Attachment not found
Please Log in to join the conversation.
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:
(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
to get a list of all the HAL pins that will be valid in your config.
to leave the halcmd prompt.
If you open a terminal window and type:
Code:
halrun
loadrt hostmot2
loadrt hm2_eth board_ip=10.10.10.1
Do you see any errors?
If not, then you can carry on with commands like
Code:
show pin
Code:
exit
Please Log in to join the conversation.
Time to create page: 0.076 seconds
