amonet icon indicating copy to clipboard operation
amonet copied to clipboard

Mustang

Open nakidkuzn opened this issue 6 years ago • 1 comments

thanks

nakidkuzn avatar Aug 29 '19 22:08 nakidkuzn

Can't seem to get it working. here's the log:

❯ sudo ./bootrom-step.sh
[2020-04-03 14:58:19.636193] Waiting for bootrom
[2020-04-03 14:59:19.115641] Found port = /dev/ttyACM0
[2020-04-03 14:59:19.154218] Handshake

 * * * If you have a short attached, remove it now * * *
 * * * Press Enter to continue * * *

Traceback (most recent call last):
  File "main.py", line 161, in <module>
    main()
  File "main.py", line 82, in main
    load_payload(dev, "../brom-payload/build/payload.bin")
  File "/home/reflog/amonet/modules/load_payload.py", line 99, in load_payload
    dev.write32(0x10007008, 0x1971) # low-level watchdog kick
  File "/home/reflog/amonet/modules/common.py", line 147, in write32
    self.check(self.dev.read(2), b'\x00\x01') # arg check
  File "/home/reflog/amonet/modules/common.py", line 84, in check
    raise RuntimeError("ERROR: Serial protocol mismatch")
RuntimeError: ERROR: Serial protocol mismatch

any ideas? @nakidkuzn

reflog avatar Apr 03 '20 12:04 reflog