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

More
15 Dec 2024 04:01 #316689 by kzali
What is the mod as marked in the attached photo?
Attachments:

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

  • meister
  • Away
  • Platinum Member
  • Platinum Member
More
15 Dec 2024 09:07 #316694 by meister

What happened with enable and error hardware implementation in riocore?
 

what exactly do you mean?
The following user(s) said Thank You: Zayoo

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

  • meister
  • Away
  • Platinum Member
  • Platinum Member
More
15 Dec 2024 09:10 #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
The following user(s) said Thank You: kzali

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

More
15 Dec 2024 13:36 #316705 by Zayoo
In old RIO there was error and enable pins that could be enable in configuration file.
    "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 or Create an account to join the conversation.

  • meister
  • Away
  • Platinum Member
  • Platinum Member
More
16 Dec 2024 06:22 #316728 by meister
now we have modifier's for all pin's:
                "enable": {
                    "name": "enable",
                    "type": "bitout",
                    "pins": {
                        "bit": {
                            "modifier": [
                                {
                                    "type": "onerror",
                                    "invert": false
                                }
                            ]
                        }
                    }
                }
seems more complicated at first glance, but is much more flexible

 
The following user(s) said Thank You: Zayoo

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

More
16 Dec 2024 09:50 #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 or Create an account to join the conversation.

  • meister
  • Away
  • Platinum Member
  • Platinum Member
More
16 Dec 2024 09:58 #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 or Create an account to join the conversation.

More
16 Dec 2024 10:38 - 16 Dec 2024 10:39 #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
 
Last edit: 16 Dec 2024 10:39 by epineh.

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

  • meister
  • Away
  • Platinum Member
  • Platinum Member
More
16 Dec 2024 11:06 - 16 Dec 2024 11:10 #316740 by meister
in this case you can try in your terminal:
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'
{
"gowin": "/home/user/gowin/IDE"
}


 
Last edit: 16 Dec 2024 11:10 by meister.

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

More
16 Dec 2024 11:47 #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 or Create an account to join the conversation.

Time to create page: 0.145 seconds
Powered by Kunena Forum