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

More
2 years 4 months ago #303947 by Cant do this anymore bye all
The following user(s) said Thank You: meister

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

More
2 years 4 months ago - 2 years 4 months ago #303955 by meister
have build a minimal bitfile (blinking LED's)

multixmedia.org/Spartan6.bit

if you like to test it :)


EDIT: update path  (.bin -> .bit)
Last edit: 2 years 4 months ago by meister.

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

More
2 years 4 months ago #303960 by meister
so, have add some pin-mappings for the v04 board (DB3) and add 3 stepdir plugins ...
Code:
#: PYTHONPATH=. python3 ../riogui/bin/rio-setup riocore/configs/Spartan6/config-test.json #: PYTHONPATH=. python3 bin/rio-generator -b riocore/configs/Spartan6/config-test.json  .... Running DRC. DRC detected 0 errors and 0 warnings. Creating bit map... Saving bit stream in "rio.bit". #: halcompile --install Output/Spartan6/LinuxCNC/rio.c Compiling realtime rio.c Linking rio.so cp rio.so /usr/lib/linuxcnc/modules/ #: linuxcnc Output/Spartan6/LinuxCNC/rio.in ...

sorry, wrong test file, you need the .bit :
multixmedia.org/Spartan6.bit
 

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

More
2 years 4 months ago #303961 by Cant do this anymore bye all
I need to setup my RPi4 to test SPI, been somewhat busy today so not a lot of time to do much.

I think I may have a an image floating around.

Is there a way to test the UDPSPI bridge prior to connecting it to a FPGA board ? Will it respond to a ping ? I rebuilt the W32-ETH01 firmware and it seemed to upload ok.

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

More
2 years 4 months ago #303962 by meister
ping should work, have to look in the source code for the IP, not sure if it is static

the test-bitfile need no connection, it just blinking (i hope)

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

More
2 years 4 months ago #303967 by Cant do this anymore bye all
Well mate I can't say if it works or not, my dev board has decided not to play nicely.
Loads to SRAM but afterwards doesn't conifg, this is even with some known good bit files.
It's a hell of an effort to write to Flash, every time I try the flash chip returns different ID.
If I run openFGPALoader to detect the FPGA it works fine.

Just a few notes, the on board OSC is actually 50Mhz not 25MHz as per schemtic
Speed type is -2 not -3 .

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

Time to create page: 0.341 seconds
Powered by Kunena Forum