Skip to content

Test application can't access to ATECC608A device via I2C [Embedded Linux] #230

@victorK8

Description

@victorK8

Test application can't access to ATECC608A device via I2C the bug

Used platform

  • Microchip sam5d27-wlsom1 with custom buildroot's linux distribution.
  • ATECC608A with UDFN socket with XPRO connector.

Compiling

We cross-compile cryptoauth library and test app on Ubuntu 20.04 LTS machine (without errors or warnings).

After that, we send all compiled content to platform via scp.

Bug

In sam5d27-wlsom1 platform, we run the test app succesfully.

However, when we are running info attribute, test app returns the next lines:

/home/victor/cryptoauthlib/lib/atca_iface.c:98:e1:Failed to configure HAL
/home/victor/cryptoauthlib/lib/atca_iface.c:54:e1:atinit
atcab_init() failed with ret=0x000000E1

ATECC608A is correctly connected to platform via I2C in XPRO connector. Running i2cdetect -y 1 command, we can check that ATECC608A has 0x60 address in i2c bus. Result of i2cdetect command:

00: -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- UU -- -- -- --
60: 60 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

Any idea?

Thank guys!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions