I’m working on an encryption verification system now.I use a chip that call atsha204.We communicate via the I2C bus.But when the length of data that I write to i2c bus longer than 14.The i2c bus error occured.And the kernel dump this.
We are investigating it. Means while could you try if the transfer size is not 4n+<0, 1,2,3> bytes for n=1,3,5,7,…, the size include the slave address.
@CalmCar
Can you please help get below detail informations to further check?
I2C signal oscilloscope capture shots during the issue.
Is the client driver user space or kernel space driver and what is API used for transfer.
From the log, error is on I2C controller dedicated for camera and we have 2 different driver for generic i2c controller (i2c-tegra.c) and camera I2C driver (i2c-tegra-vi.c), If possible can this device be connected to Gen1 I2C and tested?
@ShaneCCC
1.Could you please visit below two url for i2c-0 and i2c-6 capturers with logic analizer?
i2c-0:http://pan.baidu.com/s/1c1ECyQk
i2c-6:http://pan.baidu.com/s/1bpdaXsz
The two picturers capture by the same code in user space.I write 64 bytes to the client in this code.
Part of my code:
@CalmCar,
I am currently looking into this issue.
I tried the same message pattern you mentioned on i2c-6 locally with HSEPROM (Part no: FM24V05) and do not see any issues.
Need few more details to check this further, could you please provide?
Complete UART log from the start of boot and test output?