renesas-ra-flasher
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