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

More
1 year 10 months ago #316689 by kzali
What is the mod as marked in the attached photo?

Please Log in to join the conversation.

More
1 year 10 months ago #316694 by meister

What happened with enable and error hardware implementation in riocore?
 
what exactly do you mean?

Please Log in to join the conversation.

More
1 year 10 months ago #316695 by meister

What is the mod as marked in the attached photo?
 
it lowers the voltage of the level shifters on the FPGA side to cope with the 1.8V on certain ports, is fixed in the current git for the board

Please Log in to join the conversation.

More
1 year 10 months ago #316705 by Zayoo
In old RIO there was error and enable pins that could be enable in configuration file.
Code:
"enable": { "invert": true, "pin": "69" },

In case of some error, lost communication with LinuxCNC or similar there need to be some pin on board that will indicate such event.

Thanks

Please Log in to join the conversation.

More
1 year 10 months ago #316728 by meister
now we have modifier's for all pin's:
Code:
                "enable": {                     "name": "enable",                     "type": "bitout",                     "pins": {                         "bit": {                             "modifier": [                                 {                                     "type": "onerror",                                     "invert": false                                 }                             ]                         }                     }                 }
seems more complicated at first glance, but is much more flexible

 

Please Log in to join the conversation.

More
1 year 10 months ago #316736 by MirkoCNC
@meister

Tangbob board:

What is the reason to add the 10k resistors as pull-down or pull-up resistor?

The FPGA is not configured as open-drain or open-source output.

The standard output configuration of the FPGA would not need the resistors.

Correct?

I would like to leave them out, but the cannot be added later when the FPGA has been soldered. That's why I am asking.

Please Log in to join the conversation.

More
1 year 10 months ago #316738 by meister
the pull up/down resistors are there to have a defined state when starting / flashing,
otherwise it could happen that the spindle simply starts or the motors start uncontrollably

As there can be differences from board to board (BOB's), it can be installed using a jumper.

I have plugged in the TangNano and not soldered it on

Please Log in to join the conversation.

More
1 year 10 months ago #316739 by epineh
Sorry in advance for the noob question, I am finally setting up some hardware, generated a simple 3 axis step/dir machine.
When I try to compile I get      make:gw_sh: No such file or directory
                                                make***[Makefile:34: impl/pnr/project.fs] Error 127

I figured I hadn't set the path to the /home/user/gowin/IDE/bin folder but I double and triple checked and it seems correct.
I'm trying to program a tang nano 9K
 

Please Log in to join the conversation.

More
1 year 10 months ago #316740 by meister
in this case you can try in your terminal:
Code:
export PATH=/home/user/gowin/IDE/bin:$PATH gw_sh *** GOWIN Tcl Command Line Console *** % [CTRL+d]

to verify your installation

if you are on the dev branch: (git checkout dev)
you can also set the gowin path in 'riocore/toolchains.json'
Code:
{ "gowin": "/home/user/gowin/IDE" }


 

Please Log in to join the conversation.

More
1 year 10 months ago #316742 by epineh
I get the command line console and it quits out with ctrl+d as you say, but I'm still getting the same issue, I had changed the filename to something other than config.json to suit the machine, so I changed it back to config.json but no dice.

Please Log in to join the conversation.

Time to create page: 0.307 seconds
Powered by Kunena Forum