renesas: vendor CDBs from pioneer-optical

The identity read (3C 02 F1), the two gated memory reads (3C 02 B0 at 0x04
and 0x500000, 0xA4 bytes) and the read-unlock knock (3B 02 41 A5 AA AA) come
from the crate's constructors; the bytes on the wire are unchanged and the
knock test still pins them. The crate's flash::read_memory is not used: it
knocks before every read and stops on a refused knock, where this sequence
reads first and tries the second window even when the knock is refused.
This commit is contained in:
Matthew Jackson
2026-10-04 18:42:19 -07:00
parent 17e33f89cf
commit 800c78f86b
4 changed files with 29 additions and 14 deletions
Generated
+7
View File
@@ -110,6 +110,7 @@ dependencies = [
"base64",
"num-bigint",
"num-traits",
"pioneer-optical",
"rand",
"serde",
"serde_json",
@@ -207,6 +208,12 @@ version = "0.2.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
[[package]]
name = "pioneer-optical"
version = "0.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "48a5bdb9e9a07422ceb5133d227fbe4ecce77060007e5a9bac0dda3d82d72911"
[[package]]
name = "proc-macro2"
version = "1.0.107"