Update dalegacy_lib.py

This commit is contained in:
Bjoern Kerler 2024-03-05 21:11:32 +01:00 committed by GitHub
parent 4eaa8e446e
commit e33a28d35a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -345,7 +345,7 @@ class DALegacy(metaclass=LogBase):
if ret == self.Rsp.ACK:
self.info("Sending dram info ...")
dramlength = len(self.daconfig.emi)
if self.daconfig.emiver in [0xF, 0x10, 0x14, 0x15, 0x17]:
if self.daconfig.emiver in [0xF, 0x10, 0x11, 0x14, 0x15]:
dramlength = unpack(">I", self.usbread(0x4))[0] # 0x000000BC
self.info("RAM-Length: " + hex(dramlength))
self.usbwrite(self.Rsp.ACK)