Skip to content

Conversation

@matsujirushi
Copy link

I want to use these scripts for Seeed reTerminal.
ATECC608A is connected a Compute Module 4 via I2C bus 3.

Specifying a bus with the -p option does not work.

$ python3 ~/cryptoauthtools/python/examples/info.py -i i2c -p bus=3
Traceback (most recent call last):
  File "/home/pi/cryptoauthtools/python/examples/info.py", line 93, in <module>
    info(args.iface, args.device, **parse_interface_params(args.params))
  File "/home/pi/cryptoauthtools/python/examples/info.py", line 45, in info
    assert atcab_init(cfg) == ATCA_SUCCESS
AssertionError

This is a pull request that disables this logic when you specify bus with the -p option.

cfg.cfg.atcai2c.bus = 1

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.

1 participant