Загрузка данных


-rw-r--r-- 1 vovan users  864742 Sep 15 11:33 final_i2c.bin
-rw-r--r-- 1 vovan users  862694 Sep 15 11:06 lattice_test.bin
-rw------- 1 vovan users    1470 Sep 15 11:05 lpc_convert.py
-rw-r--r-- 1 vovan users    2048 Sep 15 11:32 padding.bin
vovan@localhost:~/LATTICE/NEW> cmp lattice_test.bin final_i2c.bin 
cmp: EOF в lattice_test.bin после байта 862694 в строке 626

root@imx95-19x19-lpddr5-evk:~# insmod /lib/modules/6.12.34-lts-next-gbe78e49cb433/kernel/drivers/fpga/lattice-sysconfig.ko
root@imx95-19x19-lpddr5-evk:~# insmod /lib/modules/6.12.34-lts-next-gbe78e49cb433/kernel/drivers/media/i2c/fpga_lifmd6000_csi_bridge.ko
root@imx95-19x19-lpddr5-evk:~# echo final_i2c.bin > /sys/bus/i2c/devices/2-0040/load_fpga                                                              
root@imx95-19x19-lpddr5-evk:~# i2ctransfer -f -y 2 w4@0x40 0x3c 0x00 0x00 0x00 r8
0x00 0x00 0x05 0x11 0x05 0x80 0x00 0x00
root@imx95-19x19-lpddr5-evk:~# i2ctransfer -f - y 2 w4@0x40 0x11 0x00 0x00 0x00 r8
Error: I2C bus name doesn't match any bus present!
root@imx95-19x19-lpddr5-evk:~# i2ctransfer -f -y 2 w4@0x40 0x11 0x00 0x00 0x00 r8
0x00 0x00 0x05 0x11 0x05 0x80 0x00 0x00
root@imx95-19x19-lpddr5-evk:~# i2ctransfer -f -y 2 w4@0x40 0x11 0x00 0x00 0x00 r8
0x00 0x00 0x05 0x11 0x05 0x80 0x00 0x00
root@imx95-19x19-lpddr5-evk:~# i2ctransfer -f -y 2 w4@0x40 0x16 0x00 0x00 0x00 r4
0x11 0x0f 0x10 0x43
root@imx95-19x19-lpddr5-evk:~# i2ctransfer -f -y 2 w4@0x40 0xC0 0x00 0x00 0x00 r4
0x00 0x00 0x00 0x00
root@imx95-19x19-lpddr5-evk:~# i2ctransfer -f -y 2 w4@0x40 0x22 0x00 0x00 0x00 r4
0x80 0x00 0x00 0x00
root@imx95-19x19-lpddr5-evk:~# i2ctransfer -f -y 2 w4@0x40 0x2C 0x00 0x00 0x00 r4
0x00 0x00 0x05 0x80