From 7514ffe3b565669f6535ce05826613a884fb0665 Mon Sep 17 00:00:00 2001 From: Ian McIntyre Date: Sat, 13 Dec 2025 13:30:49 -0500 Subject: Support ISSI LP and WP configs in one algo The configurations and sequences need to vary depending on the connected part. We can determine the part at runtime to vary the config. We could probably do this for all the parts. Maybe I'll try that later. --- src/sequences/common.rs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/sequences') diff --git a/src/sequences/common.rs b/src/sequences/common.rs index cd3d573..4bb9493 100644 --- a/src/sequences/common.rs +++ b/src/sequences/common.rs @@ -80,3 +80,11 @@ pub const SEQ_RST: Sequence = { instr[0] = Instr::new(SDR_CMD, Pads::One, 0x99); Sequence(instr) }; + +/// Read product ID by JEDEC ID. +pub const SEQ_READ_ID_JEDEC_ID: Sequence = { + let mut instr = [Instr::STOP; _]; + instr[0] = Instr::new(SDR_CMD, Pads::One, 0x9F); + instr[1] = Instr::new(SDR_READ, Pads::One, 0); + Sequence(instr) +}; -- cgit v1.2.3