Mesa Flash - Mesa 7i94.
- PCW
- Away
- Moderator
Less
More
- Posts: 17970
- Thank you received: 4828
11 Nov 2019 18:40 #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
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- Moreira
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
12 Nov 2019 15:44 - 12 Nov 2019 15:53 #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
Attachments:
Last edit: 12 Nov 2019 15:53 by Moreira.
Please Log in or Create an account to join the conversation.
- Moreira
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
12 Nov 2019 15:56 #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 or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
Less
More
- Posts: 19480
- Thank you received: 6532
12 Nov 2019 15:57 #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 or Create an account to join the conversation.
- Moreira
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
12 Nov 2019 16:20 - 12 Nov 2019 16:21 #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.
.
Last edit: 12 Nov 2019 16:21 by Moreira.
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
Less
More
- Posts: 19480
- Thank you received: 6532
12 Nov 2019 16:38 #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 or Create an account to join the conversation.
- Moreira
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
12 Nov 2019 16:41 - 12 Nov 2019 16:42 #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
Last edit: 12 Nov 2019 16:42 by Moreira.
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17970
- Thank you received: 4828
12 Nov 2019 17:47 #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 or Create an account to join the conversation.
- Moreira
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
13 Nov 2019 12:09 - 13 Nov 2019 14:22 #150287
by Moreira
Replied by Moreira on topic Mesa Flash - Mesa 7i94.
Attachments:
Last edit: 13 Nov 2019 14:22 by Moreira.
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23170
- Thank you received: 4860
13 Nov 2019 12:55 #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 liketo 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:
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
show pin
exit
Please Log in or Create an account to join the conversation.
Time to create page: 0.287 seconds