LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

More
1 year 10 months ago - 1 year 10 months ago #315911 by meister
I have built a new stepdir driver,
with adjustable 'delay after dir' and adjustable pulse length (also 50% duty possible).

first tests are still running, but if you want to have a look at the branch: new_stepdir_fix_pulse_len_dir_delay

EDIT (there is also a test-bench for this driver):
 # (cd riocore/plugins/stepdir ; make testb)

 
Last edit: 1 year 10 months ago by meister.
The following user(s) said Thank You: Mecanix

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

More
1 year 10 months ago #315956 by meister
branch: using_os_path_join

 

the rio-setup gui is running directly on windows now :)
 

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

More
1 year 10 months ago #316002 by MirkoCNC
Hi Meister,

Unfortunately, I cannot make it run under Windows.

I have changed:

file_path = r".\riocore\__init__.py"
if os.path.isfile(file_path):
sys.path.insert(0, os.path.abspath("."))

When running rio_setup, the first problem, I cannot import halpins from riocore.
Directory is OK and the __init__.py file is there.

Perhaps you can help me out. Thanks a lot!

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

More
1 year 10 months ago - 1 year 10 months ago #316004 by meister
i think you are on the wrong branch:

git checkout dev


BTW: very experimental, only for the gui and to generate the config-files,
i think, building bitfiles will not work yet on windows


 
Last edit: 1 year 10 months ago by meister.

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

More
1 year 10 months ago #316005 by MirkoCNC
Another question for Meister:

FPGA Module 2.00: Spartan 6 FPGA Board.

I would like to use that FPGA board. It has SPI / JTAG connectors for programming EEPROMs. Is it suitable?

I assume that the W5500 uses another SPI module inside the FPGA after programming for the data communicaktion with LinuxCNC. Therefore, I think it the configuaration EEPROMS cannot be flashed via the W5500. Is it correct?

Does the RIO System write the FPGA everytime when getting online or is the data permanently flashed on the EEPROMs?
 

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

More
1 year 10 months ago #316006 by meister
you can use this Spartan6 module, but have to setup/modify 'riocore/boards/Spartan6/board.json' and change package and type for your needs.

programming will not work over w5500 :( you need to write the bitfile into the flash.



@all
WINDOWS-WARNING:
rio was not intended to run on windows, at the moment i can't give windows/mac support for it.
I just made the system a bit more platform independent.

i normally don't use windows at all, but i think if you customise the generated makefiles a bit, you could generate the bitfiles there too, but very experimental :).

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

Time to create page: 0.238 seconds
Powered by Kunena Forum