From 8557ca37b6c65e2217a45dff5fbbf08ca88be1bc Mon Sep 17 00:00:00 2001 From: YRabbit Date: Thu, 29 Aug 2024 17:03:00 +1000 Subject: [PATCH] BUGFIX. Fix dat offset. UserFlash description contained rubbish. Signed-off-by: YRabbit --- apycula/dat19.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apycula/dat19.py b/apycula/dat19.py index 19c4a655..62910e6c 100644 --- a/apycula/dat19.py +++ b/apycula/dat19.py @@ -288,11 +288,10 @@ def read_io(self): ret["DqsCLoc"] = self.read_arr16(0x16) ret["JtagIns"] = self.read_arr16(5) ret["JtagOuts"] = self.read_arr16(11) - ret["ClksrcIns"] = self.read_arr16(0x26) - ret["ClksrcOuts"] = self.read_arr16(16) + ret["ClksrcIns"] = self.read_arr16(0x27) + ret["ClksrcOuts"] = self.read_arr16(17) ret["UfbIns"] = self.read_outs(0x5A) ret["UfbOuts"] = self.read_outs(0x20) - self._cur += 4 ret["McuIns"] = self.read_outs(0x109) ret["McuOuts"] = self.read_outs(0x174) ret["EMcuIns"] = self.read_outs(0x10E)