Renesas RA flash tool
Flash tool for the built in ROM bootloader for Renesas RA microcontrollers
Requirements
- Python >= 3.6
- venv
Local and development install
Strongly Recommended to use venv (https://docs.python.org/3/library/venv.html)
- python -m venv .venv
- source .venv/bin/activate
- 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} ...
RA Flasher Tool
options:
-h, --help show this help message and exit
Commands:
{write,read,erase,info}
write Write data to flash
read Read data from flash
erase Erase sectors
info Show flasher information
Each command has various options. For example, use RAFlasher write -h to see all write options:
usage: raflash write [-h] [--start_address START_ADDRESS] [--size SIZE] [--verify] file_name
positional arguments:
file_name File name
options:
-h, --help show this help message and exit
--start_address START_ADDRESS
Start address
--size SIZE Size in bytes
--verify Verify after writing
Dev
- Pull requests
- Issues
Supported functionality
- Read
- Write
- Erase / sector erase
- Info / area information
- ID Authentication
- Baud rate (only for SCI)
Supported OS
- Linux
- Windows
- Mac OS
Supported interfaces
- USB
- SCI
Supported MCUs
- RA4 (tested)
- RA2 (should potentially work)
- RA6
Note: only tested on RA4 hardware
Resources
Metadata
Release files for raflash 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| raflash-0.0.2.tar.gz | 20.3 kB | Without provenance | Details for raflash-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| raflash-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for raflash-0.0.2-py3-none-any.whl |
Total release size: 42.1 kB
Release files / raflash-0.0.2.tar.gz
| Download URL | raflash-0.0.2.tar.gz |
|---|---|
| Size | 20.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
872e66d2136fbd4c55ecdcf8c37e0faf765cb0717966f53bfd87a4223e8ce825
|
|
BLAKE2b-256 checksum How to use checksums |
fdb189304b8d97cec0567eae4a56edf3b60de2bbb44e3cf0abdca4751db61f40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.12
|
Release files / raflash-0.0.2-py3-none-any.whl
| Download URL | raflash-0.0.2-py3-none-any.whl |
|---|---|
| Size | 21.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
68e9edc8a2e616b25776edbbb322af767dc0a058f4b5455764c4982e7a848046
|
|
BLAKE2b-256 checksum How to use checksums |
de3dde3afb413ad2a4f48d164881ed2aacc4546611363bb9f64459415b8671d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.12
|
Security for raflash 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.