Compare commits

...

7 commits

Author SHA1 Message Date
Bjoern Kerler
127c353b39
Update xml_lib.py
Some checks failed
Python application / Test (push) Has been cancelled
2024-10-07 10:46:03 +02:00
Bjoern Kerler
7b30c5293c
Update pltools.py 2024-10-07 10:39:04 +02:00
Bjoern Kerler
670cd5384c
Merge pull request #1229 from cyrozap/mt6890-support
Add MT6890 information
2024-10-07 10:27:21 +02:00
cyrozap
6cbe6786b3 MT6880 and MT6890 have the same HW code
Confirmed by connecting to a Dell DW5931e / Fibocom FM350-GL in BROM USB
DL mode.
2024-09-29 12:50:52 -05:00
cyrozap
77958d7ac8 Add efuse address for MT6890 2024-09-29 01:39:44 -05:00
cyrozap
cc0a502bc0 Confirm watchdog address for MT6890 2024-09-29 01:35:39 -05:00
cyrozap
093769e72b Correct SoC name for HW code 0x0992
Connecting to the BROM of an MT6890 (found in a T-Mobile / Quanta D53 5G
mobile hotspot) reports a HW code of 0x0992.
2024-09-29 01:28:37 -05:00
3 changed files with 8 additions and 4 deletions

View file

@ -967,7 +967,10 @@ class DAXML(metaclass=LogBase):
self.ack_value(length)
cmd, result = self.get_command_result()
if type(result) is DwnFile:
data = fh.read(length)
if fh:
data = fh.read(length)
else:
data = wdata
if not self.upload(result, data, raw=True):
self.error("Error on writing flash at 0x%08X" % addr)
return False

View file

@ -101,7 +101,7 @@ class PLTools(metaclass=LogBase):
return False
else:
self.error(f"Error on sending payload: {filename}")
self.error(f"Error, payload answered instead: {hexlify(ack).decode('utf-8')}")
self.error(f"Error, payload answered instead: {hexlify(response_ack).decode('utf-8')}")
return False
def runbrute(self, args):

View file

@ -346,7 +346,7 @@ hwconfig = {
dacode=0x0598,
name="ELBRUS/MT0598"),
0x992: Chipconfig( # var1
# watchdog
watchdog=0x10007000,
# uart
# brom_payload_addr
# da_payload_addr
@ -355,9 +355,10 @@ hwconfig = {
# cqdma_base
# ap_dma_mem
# blacklist
efuse_addr=0x11EC0000,
damode=DAmodes.XFLASH,
dacode=0x0992,
name="MT0992"),
name="MT6880/MT6890"),
0x2601: Chipconfig(
var1=0xA, # Smartwatch, confirmed
watchdog=0x10007000,