Skip to content

Conversation

nakidkuzn
Copy link

thanks

@reflog
Copy link

reflog commented Apr 3, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants