From: Robin Krens Date: Thu, 15 Feb 2024 18:36:51 +0000 (+0100) Subject: README.md: add section on access rights X-Git-Tag: v0.0.2~5 X-Git-Url: https://robinkrens.nl/gitweb/?a=commitdiff_plain;h=283880da59eb6cc84c7733a78f7f98269ef6e8f8;p=renesas-ra-flasher README.md: add section on access rights --- 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} ...