Skip to content

Conversation

suppamax
Copy link
Contributor

@suppamax suppamax commented May 9, 2022

No description provided.

Copy link
Member

@MikeOpenHWGroup MikeOpenHWGroup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this @suppamax. I need to fix a conflict rtl/vendor/pulp_platform_axi/src/axi_burst_splitter.sv before merging.

@davideschiavone
Copy link
Contributor

@suppamax - thanks for your great input - can u pls add that you may need to reboot the system after doing that?
It would save people time (like my case)

@davideschiavone
Copy link
Contributor

in addition, we may want to provide that file directly in the repo and tell the user to do:

sudo cp 60-hs2.rules /etc/udev/rules.d/
sudo udevadm control --reload

@aghonem
Copy link

aghonem commented Feb 24, 2023

@davideschiavone Where can i find this file ? cp 60-hs2.rules

@suppamax
Copy link
Contributor Author

Hi @Ahmed1Zaky
I don't remember where I've found it, but there it is

# HS2
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6014", MODE="664", GROUP="plugdev"

@aghonem
Copy link

aghonem commented Feb 25, 2023

Hi @suppamax,

Thanks for your reply! I solved this in the morning and below are the instructions that might help anyone!

To use HS2 Cable, It is necessary to add a udev rule to use the cable.

OpenOCD provides a file containing the rule we need. Copy it into /etc/udev/rules.d/

$ sudo cp <path to riscv-openocd>/build/share/openocd/contrib/60-openocd.rules /etc/udev/rules.d

The file is also available here: https://github.com/riscv/riscv-openocd/blob/riscv/contrib/60-openocd.rules
The particular entry about the HS2 cable is :

ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6014", MODE="660", GROUP="plugdev", TAG+="uaccess"

Then either reboot your system or reload the udev configuration with :

$ sudo udevadm control --reload

To check if the cable is recognized, run lsusb. There should be a line like this:

$ lsusb
Bus 005 Device 003: ID 0403:6014 Future Technology Devices International, Ltd FT232HSingle HS USB-UART/FIFO IC

I found it in the information here: https://gitlab.irit.fr/minotaur/MINOTAuR/-/blob/thales/README.md

@MikeOpenHWGroup
Copy link
Member

Added a "Do Not Merge" label pending generation of a release tag (stay tuned).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants