raflash
v0.0.2
用於內置的ROM啟動加載器的閃光工具RENESAS RA微控制器
強烈建議使用VENV(https://docs.python.org/3/library/venv.html)
添加一個file /etc/udev/rules.d/40-renesas.rules ,添加以下內容:
SUBSYSTEMS=="usb", ATTRS{idVendor}=="045b", ATTRS{idProduct}=="0261", GROUP="plugdev", MODE="0666"
確保再次重新啟動Udev:
sudo udevadm trigger
確保您也在Group 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
每個命令都有多種選項。例如,使用raflasher寫入-h查看所有寫入選項:
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
注意:僅在RA4硬件上測試
https://www.renesas.com/us/en/document/apn/renesas-ra-family-system-specification-specifications-andard-boot-firmware