renesas-ra-flasher
9 months agosetup.py: update metadata
Robin Krens [Sun, 18 Feb 2024 23:11:48 +0000 (00:11 +0100)]
setup.py: update metadata

9 months agoRAConnect: remove import
Robin Krens [Sun, 18 Feb 2024 22:34:23 +0000 (23:34 +0100)]
RAConnect: remove import

9 months agorequirements.txt: update with pyserial
Robin Krens [Sun, 18 Feb 2024 22:32:59 +0000 (23:32 +0100)]
requirements.txt: update with pyserial

9 months agoRAConnect: use serial backend instead of pyusb
Robin Krens [Sun, 18 Feb 2024 22:29:14 +0000 (23:29 +0100)]
RAConnect: use serial backend instead of pyusb

9 months agoREADME.md: add section on access rights
Robin Krens [Thu, 15 Feb 2024 18:36:51 +0000 (19:36 +0100)]
README.md: add section on access rights

9 months agorelease.yml: added script to release on tags v0.0.1
Robin Krens [Thu, 15 Feb 2024 14:18:51 +0000 (15:18 +0100)]
release.yml: added script to release on tags

9 months agopytest.yml: added testroutine pipeline
Robin Krens [Thu, 15 Feb 2024 13:36:16 +0000 (14:36 +0100)]
pytest.yml: added testroutine pipeline

9 months agosetup.py: set correct long description
Robin Krens [Thu, 15 Feb 2024 13:23:55 +0000 (14:23 +0100)]
setup.py: set correct long description

9 months agoREADME.md: update header
Robin Krens [Thu, 15 Feb 2024 13:23:04 +0000 (14:23 +0100)]
README.md: update header

9 months agosetup.py: minor restructering dirs
Robin Krens [Thu, 15 Feb 2024 12:52:11 +0000 (13:52 +0100)]
setup.py: minor restructering dirs

9 months agoLICENSE: GNU GPL-3.0
Robin Krens [Thu, 15 Feb 2024 12:48:00 +0000 (13:48 +0100)]
LICENSE: GNU GPL-3.0

9 months agosetup.py: add package reqs
Robin Krens [Thu, 15 Feb 2024 11:13:12 +0000 (12:13 +0100)]
setup.py: add package reqs

9 months ago.flake8: add config + minor style fixes
Robin Krens [Thu, 15 Feb 2024 11:04:31 +0000 (12:04 +0100)]
.flake8: add config + minor style fixes

9 months agoREADME.md: styling
Robin Krens [Thu, 15 Feb 2024 10:13:50 +0000 (11:13 +0100)]
README.md: styling

9 months agoREADME.md: change naming
Robin Krens [Thu, 15 Feb 2024 10:11:21 +0000 (11:11 +0100)]
README.md: change naming

9 months agoREADME.md: initial readme
Robin Krens [Thu, 15 Feb 2024 10:09:06 +0000 (11:09 +0100)]
README.md: initial readme

9 months agosetup.py: change name and add entry point
Robin Krens [Thu, 15 Feb 2024 10:05:45 +0000 (11:05 +0100)]
setup.py: change name and add entry point

9 months agosetup.py: set import refs
Robin Krens [Thu, 15 Feb 2024 10:05:25 +0000 (11:05 +0100)]
setup.py: set import refs

9 months agorequirements.txt: remove self package
Robin Krens [Thu, 15 Feb 2024 09:46:05 +0000 (10:46 +0100)]
requirements.txt: remove self package

9 months agoadd requirements.txt
Robin Krens [Thu, 15 Feb 2024 09:32:22 +0000 (10:32 +0100)]
add requirements.txt

9 months agolicense: add header to various source files
Robin Krens [Wed, 14 Feb 2024 16:20:34 +0000 (17:20 +0100)]
license: add header to various source files

9 months agotests: add/modify ack=True test
Robin Krens [Wed, 14 Feb 2024 16:17:50 +0000 (17:17 +0100)]
tests: add/modify ack=True test

9 months agoRAPacker.py: minor cleanup
Robin Krens [Wed, 14 Feb 2024 16:14:03 +0000 (17:14 +0100)]
RAPacker.py: minor cleanup

9 months agoRADevice.py: deleted, moved logic to RAConnect class
Robin Krens [Wed, 14 Feb 2024 16:12:05 +0000 (17:12 +0100)]
RADevice.py: deleted, moved logic to RAConnect class

9 months agoRAFlasher.py: minor rewrites with lambdas
Robin Krens [Wed, 14 Feb 2024 16:10:08 +0000 (17:10 +0100)]
RAFlasher.py: minor rewrites with lambdas

9 months agoRAFlasher.py: use area information to set EAD and section size boundaries
Robin Krens [Wed, 14 Feb 2024 15:56:27 +0000 (16:56 +0100)]
RAFlasher.py: use area information to set EAD and section size boundaries

9 months agoRAConnect.py: remove unused func
Robin Krens [Wed, 14 Feb 2024 14:44:50 +0000 (15:44 +0100)]
RAConnect.py: remove unused func

9 months agoRAFlasher.py: move inquire connection to RAConnect class
Robin Krens [Wed, 14 Feb 2024 14:27:27 +0000 (15:27 +0100)]
RAFlasher.py: move inquire connection to RAConnect class

9 months agoRAFlasher.py: minor cleanup
Robin Krens [Wed, 14 Feb 2024 14:13:22 +0000 (15:13 +0100)]
RAFlasher.py: minor cleanup

9 months agoRAFlasher.py: erase functionality
Robin Krens [Wed, 14 Feb 2024 13:36:48 +0000 (14:36 +0100)]
RAFlasher.py: erase functionality

- allow for longer timeouts is RAConnect
- minor refactoring

9 months agoRAFlasher: refactory boundaries start and end address to function
Robin Krens [Wed, 14 Feb 2024 12:15:47 +0000 (13:15 +0100)]
RAFlasher: refactory boundaries start and end address to function

9 months agoRAFlasher.py: add verify functionality
Robin Krens [Wed, 14 Feb 2024 10:46:14 +0000 (11:46 +0100)]
RAFlasher.py: add verify functionality

9 months agoRAFlasher.py: markup info and area cmd
Robin Krens [Wed, 14 Feb 2024 10:14:41 +0000 (11:14 +0100)]
RAFlasher.py: markup info and area cmd

9 months agoRAConnect.py: minor cleanup debug and print statements
Robin Krens [Wed, 14 Feb 2024 10:10:02 +0000 (11:10 +0100)]
RAConnect.py: minor cleanup debug and print statements

9 months agoRAFlasher: minor cleanup print and debug statements
Robin Krens [Wed, 14 Feb 2024 10:02:21 +0000 (11:02 +0100)]
RAFlasher: minor cleanup print and debug statements

9 months agoRAFlasher.py: add progress bar
Robin Krens [Wed, 14 Feb 2024 09:51:50 +0000 (10:51 +0100)]
RAFlasher.py: add progress bar

9 months agoRAFlasher: increase chunk size to max
Robin Krens [Wed, 14 Feb 2024 09:51:32 +0000 (10:51 +0100)]
RAFlasher: increase chunk size to max

9 months agoRAFlasher.py: initial working write
Robin Krens [Tue, 13 Feb 2024 20:57:30 +0000 (21:57 +0100)]
RAFlasher.py: initial working write

9 months agoRAPacker: data package can aso start with 0x81
Robin Krens [Tue, 13 Feb 2024 19:08:36 +0000 (20:08 +0100)]
RAPacker: data package can aso start with 0x81

9 months agoRAFlasher.py: read functionality
Robin Krens [Tue, 13 Feb 2024 19:08:16 +0000 (20:08 +0100)]
RAFlasher.py: read functionality

9 months agoRAFlasher: impl. area information command
Robin Krens [Tue, 13 Feb 2024 15:30:33 +0000 (16:30 +0100)]
RAFlasher: impl. area information command

9 months agoRAFlasher.py: logic to check if connection already established
Robin Krens [Tue, 13 Feb 2024 14:55:00 +0000 (15:55 +0100)]
RAFlasher.py: logic to check if connection already established

9 months agoRAFlasher.py: signature request info
Robin Krens [Tue, 13 Feb 2024 14:18:39 +0000 (15:18 +0100)]
RAFlasher.py: signature request info

9 months agoRAFlasher.py: initial hardware test
Robin Krens [Tue, 13 Feb 2024 13:57:15 +0000 (14:57 +0100)]
RAFlasher.py: initial hardware test

- set data header to 0x01 (fix)
- select second interface (first interface is not used) for endpoints
- repeatly read EP of usb device

9 months agoRAFlasher.py: write setup communication with start and end address conv
Robin Krens [Sun, 11 Feb 2024 16:30:58 +0000 (17:30 +0100)]
RAFlasher.py: write setup communication with start and end address conv

9 months agoRAFlasher.py: initial get_dev_info
Robin Krens [Sun, 11 Feb 2024 15:21:32 +0000 (16:21 +0100)]
RAFlasher.py: initial get_dev_info

9 months agoRAFlasher.py: argparse setup
Robin Krens [Sun, 11 Feb 2024 15:05:37 +0000 (16:05 +0100)]
RAFlasher.py: argparse setup

9 months agoRAFlasher.py: continuos loop sending chunks
Robin Krens [Sun, 11 Feb 2024 14:17:01 +0000 (15:17 +0100)]
RAFlasher.py: continuos loop sending chunks

9 months agoRAPacker.py: fix high byte pkt len
Robin Krens [Sun, 11 Feb 2024 14:16:32 +0000 (15:16 +0100)]
RAPacker.py: fix high byte pkt len

9 months agoRAPacker.py: fix on package size boundary
Robin Krens [Sun, 11 Feb 2024 13:39:18 +0000 (14:39 +0100)]
RAPacker.py: fix on package size boundary

9 months agoRAPacker: minor directory restructering
Robin Krens [Sun, 11 Feb 2024 13:31:50 +0000 (14:31 +0100)]
RAPacker: minor directory restructering

9 months agoRAFlasher.py: initial setp with write_img
Robin Krens [Sun, 11 Feb 2024 13:29:29 +0000 (14:29 +0100)]
RAFlasher.py: initial setp with write_img

9 months agodir: some restructering and refactoring
Robin Krens [Sat, 10 Feb 2024 17:37:45 +0000 (18:37 +0100)]
dir: some restructering and refactoring

- naming:
connect.py > RAConnect.py
flasher.py > Packer.py
- .gitignore to mostly ignore cache
- setup.py project info

9 months agoconnect.py: basic usb connection procedure
Robin Krens [Sat, 10 Feb 2024 16:56:44 +0000 (17:56 +0100)]
connect.py: basic usb connection procedure

- unload class driver
- communicate directly by endpoints

9 months agotests: unpack read test
Robin Krens [Sat, 10 Feb 2024 14:23:14 +0000 (15:23 +0100)]
tests: unpack read test

9 months agotests: add status err test
Robin Krens [Sat, 10 Feb 2024 14:16:14 +0000 (15:16 +0100)]
tests: add status err test

9 months agotests: added pack and unpack test
Robin Krens [Sat, 10 Feb 2024 13:53:41 +0000 (14:53 +0100)]
tests: added pack and unpack test

9 months agotest: added test for unpack packets
Robin Krens [Sat, 10 Feb 2024 13:43:38 +0000 (14:43 +0100)]
test: added test for unpack packets

9 months agoflasher.py: initial unpacking
Robin Krens [Sat, 10 Feb 2024 13:38:10 +0000 (14:38 +0100)]
flasher.py: initial unpacking

9 months agosetup.py: directory setup with pytest
Robin Krens [Sat, 10 Feb 2024 12:43:38 +0000 (13:43 +0100)]
setup.py: directory setup with pytest

9 months agoflasher.py: minor packet construct corrections
Robin Krens [Sat, 10 Feb 2024 11:59:17 +0000 (12:59 +0100)]
flasher.py: minor packet construct corrections

9 months agoflasher.py: format data packet
Robin Krens [Sat, 10 Feb 2024 11:14:52 +0000 (12:14 +0100)]
flasher.py: format data packet

9 months agoflasher.py: initial packing
Robin Krens [Fri, 9 Feb 2024 23:47:20 +0000 (00:47 +0100)]
flasher.py: initial packing

9 months agoflasher.py: formatting commands
Robin Krens [Fri, 9 Feb 2024 23:08:51 +0000 (00:08 +0100)]
flasher.py: formatting commands