raflash
v0.0.2
Herramienta flash para el cargador de arranque ROM incorporado para los microcontroladores de Renesas RA
Muy recomendable para usar Venv (https://docs.python.org/3/library/venv.html)
Agregue un archivo /etc/udev/rules.d/40-renesas.rules y agregue lo siguiente:
SUBSYSTEMS=="usb", ATTRS{idVendor}=="045b", ATTRS{idProduct}=="0261", GROUP="plugdev", MODE="0666"
Asegúrese de volver a retrencar UDEV:
sudo udevadm trigger
Asegúrese de estar en el grupo plugdev
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
Cada comando tiene varias opciones. Por ejemplo, use RaFlasher Write -H para ver todas las opciones de escritura:
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
Nota: Solo probado en hardware RA4
https://www.enesas.com/us/en/document/apn/enesas-ra-family-system-specifications-standard-boot-firmware