From 283880da59eb6cc84c7733a78f7f98269ef6e8f8 Mon Sep 17 00:00:00 2001 From: Robin Krens Date: Thu, 15 Feb 2024 19:36:51 +0100 Subject: [PATCH] README.md: add section on access rights --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index ee81030..8b7ec8a 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,19 @@ Flash tool for the built in ROM bootloader for Renesas RA microcontrollers - pip install -r requirements.txt - pip install -e . +## Access rights to USB device + +Add a file `/etc/udev/rules.d/40-renesas.rules` and add the following: +``` +SUBSYSTEMS=="usb", ATTRS{idVendor}=="045b", ATTRS{idProduct}=="0261", GROUP="plugdev", MODE="0666" +``` +Make sure you retrigger udev again: + +``` +sudo udevadm trigger +``` +Make sure you are also in the group *plugdev* + ## Usage ``` usage: raflash [-h] {write,read,erase,info} ... -- 2.7.4