Hardware specification of mesa 7c81

More
03 Jan 2024 10:13 #289645 by cornholio
The following user(s) said Thank You: Mehta_123

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

More
05 Jan 2024 11:33 #289852 by Mehta_123
Hello !!

Thanks for your help, one last thing is I want to keep my options open.
So, I have tried to port this on Altera DE10 Nano but due to some missing libraries getting errors also, tried to copy that libraries but there are so many libraries so is there any alternate solution to implement this on altera ?

Thanks !!

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

More
05 Jan 2024 16:09 #289878 by PCW
To use hostmot2 on Altera you would need to at the minimum
duplicate the functionality of the clock generation libraries and perhaps
SRL16. I believe this has been done before (by a MachinKit user) but I don't have a link.
The SRL16 part (rewriting it into generic VHDL) has been done for the
Mesa Efinix Hostmot2 source.

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

More
05 Jan 2024 17:06 #289881 by blazini36
What specifically about  the 7c81 are you trying to port to Altera for the DE10 Nano? Machinekit already has a hostmot2 port for the DE10 Nano, its based on a Mesa 5i25. check out "mksocfpga"

Machinekit's fallen by the wayside but the hm2 port for the DE10 nano worked great, lots of wasted potential there.

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

More
18 Jan 2024 09:27 #291010 by Mehta_123
Hello !!

I have found following link for altera de10 nano. 
github.com/machinekit/mksocfpga

While building this project facing some errors, also solved some errors but i am not able to solve one error.

Adding snapshot for your reference.


 

Can you help me with this??

Thanks !!
Attachments:

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

More
18 Jan 2024 22:54 #291070 by blazini36
I certainly can't. I got alotta help from the Machinekit group. That was years ago, and I have no idea what state it is in now, Machinekit is pretty much dead. Maybe you'll find some help in my old thread:
groups.google.com/g/machinekit/c/eVhvTnuhblE/m/uv1Ml-gGAgAJ

Gotta watch out as MK is a bit different than LinuxCNC. It's a fork of LinuxCNC but they split the "CNC" stack off into a separate application. So the DE10 was meant to run the Mesa side in FPGA fabric and the realtime Linux/HAL stuff was meant to run on the DE10's ARM cores. The rest of LinuxCNC was supposed to run on a non-realtime remote computer. You can actually run everything on the DE10, which is what I did. It's like running LinuxCNC on a Raspberry Pi 3 with a built in Mesa card.

I haven't touched it for years cuz MK is dead. Be nice if you could get the Mesa side working with LinuxCNC, I could knock the dust off these...

 

The DE10 Has a ton of IO
Attachments:

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

More
19 Jan 2024 07:21 - 19 Jan 2024 08:59 #291099 by Mehta_123
Hello!!
I have also build the same project which was worked on spartan 6, but facing error.
Adding snapshot for reference.

 

Can you help me with this??
Thank You!! 
 
Attachments:
Last edit: 19 Jan 2024 08:59 by Mehta_123.

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

More
19 Jan 2024 10:15 #291105 by cornholio
I think DCM is a Xilinx primitive, so you'll have to search the internet for the Altera equivalent.

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

More
17 Feb 2024 07:34 #293584 by Mehta_123
Hello !!

I was trying to implement mirroring of axis, as there is no support in GUI. So trying to understand source code but didn't get any luck (salute to the guys who made this..). But then I thought of way to mirror the axis without understanding the source code.

Simply assigned the step and inverted direction to the signals and added 2 output in top and ucf (pins that are not used by source code) file. Got synthesized and able to generate bit file, tested it but only getting one plus when I move forward/backward.

Is there something I'm missing ? Adding SS of snippets that I have added.
 
 
 
 

Also tried changing constraint file using "TIG" like:
NET "my_output" LOC = "A2" | TIG;

But in this I'm getting continuous pulse.

Can you help me with this ?

Thanks !!
Attachments:

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

More
17 Feb 2024 15:42 #293631 by PCW
There is no need to change source code for something
as basic as inverting an output. Almost any setting is
doable in hal:

setp hm2_7c81.0.stepgen.00.direction.invert_output true

 

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

Moderators: PCWjmelson
Time to create page: 0.241 seconds
Powered by Kunena Forum