New project, litehm2: a hostmot2 port to linsn rv901t

More
04 Jul 2023 19:01 #274777 by tuxcnc

New bitstream is attached
 


 
If you are so polite, I will also ask.
 

File Attachment:

File Name: tuxcnc-mod.conf.txt
File Size:3 KB
Attachments:

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

More
04 Jul 2023 19:48 - 04 Jul 2023 19:49 #274782 by IlyaKw
To be able to "compile" gateware for this project I have made virtual machine based on Debian 9. The image contains everything you need to do this.

I would like to support this project so I want to share this with those who are interested. The image weighs ca. 13GB. Please find attached archive with .torrent file.

All you need are located in /opt directory. 
1. su - 
2. You should place your config to /opt/litehm2/configs
3. From /opt/litehm2/ enter make

If your config is correct then during compilation, a message will appear about the unavailability of the "xst" component.
Enter the command
. /opt/Xilinx/14.7/ISE_DS/settings64.sh

Again make

Successful compilations

 

File Attachment:

File Name: litex_cnc.rar
File Size:127 KB
Attachments:
Last edit: 04 Jul 2023 19:49 by IlyaKw. Reason: Other

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

More
05 Jul 2023 05:14 #274804 by sensille

 

File Attachment:

File Name: tuxcnc-mod.conf.txt
File Size:3 KB



Attached. Let me know if it works and when you need any modifications.


 

File Attachment:

File Name: tuxcnc-mod.bit.txt
File Size:454 KB

Attachments:

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

More
05 Jul 2023 12:28 #274825 by xu
Hands are too stupid ,
Two RV901T boards have been broken

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

More
05 Jul 2023 12:30 #274826 by IlyaKw
How did you manage to do this ?

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

More
05 Jul 2023 15:41 #274832 by tuxcnc

Thanks, but does not work.
The LED blinks, but no responds to ping and network connection are unstable (disconnects and connects again...).
I have this same when compiled myself.
In my opinion (but I'm not sure), the Spartan has to few resources and some gates are shared to different modules (I suspect this from some warning messages).
I have got two RV901T, one can use with JTAG (Xilinx Platform Cable USB, both with flash programmer (EZP2023+).
I not see difference which programmer is used.
I tested my RV901T with Litex-CNC project, and only very small configurations work. More complex projects are compiled without errors, but are unstable, or work not properly...
In your project there are other problems, but the reason may be the same...
 

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

More
05 Jul 2023 15:54 #274834 by sensille
No, it is rock solid for me, and I don't think your configuration is too large. 88% LUTs is a bit on the heavier side, but all timing constraints are met. I will program the bitstream and see if it works for me and if it the connection is stable.
What do you mean by unstable exactly? How can I reproduce it? I really want to get it working in your setup :)

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

More
05 Jul 2023 16:00 - 05 Jul 2023 16:01 #274835 by sensille
Oh, another question ... In the beginning I had problems with stability because my power supply was not good enough. To be more precise, I just used chinese dupont-style jumper wires, which barely have any copper in them. Can you check that your supply really is stable?
About the importance of having a back-to-back ethernet connection we already talked about.
Last edit: 05 Jul 2023 16:01 by sensille.

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

More
05 Jul 2023 16:39 #274838 by xu
I usually use
mesaflash --addr 10.10.10.10 --device ether --write xxxxxxxx.bit --fix-boot-block
After that, ping 10.10.10.10 can be normal

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

More
06 Jul 2023 15:27 #274894 by sensille
@tuxcnc the bitstream is now running here on my unmodified board for nearly a day without an "error finishing read" message. I'm pretty sure you have a different problem with your hardware, not with the bitstream.

(I changed the driver direction to output though to prevent the fpga from getting too hot)

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

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