[Elphel-support] Script for changing the SADDR bit for the MT9P031 sensor

Oleg support-list at support.elphel.com
Thu Mar 8 13:09:43 PST 2018


Frederick,

1. Here are the files: https://community.elphel.com/f
iles/393/20180308_test_0x5d/

2. Before copying - boot from the card and check the linux version:

> root at elphel393:~# uname -r
> 4.9.0-xilinx-v2017.3


* If it's 4.9.0-xilinx-v2017.3 then copying only devicetree.dtb and uImage
might be enough - they are on the FAT partition of the card.
* In case of fail if you use minicom (or putty or other serial terminal
program) there will be some kind of a kernel panic.

3.
My bootlog for 0x5d:

> ...
> [   21.692018] {0} Setting i2c_addr to 0x5d
> [   21.696039] Read i2c (port = 0, sa7=0x5d, reg=0x0) chip ID=ffff
> ...
> [   21.747074] {1} Setting i2c_addr to 0x5d
> [   21.756495] Read i2c (port = 1, sa7=0x5d, reg=0x0) chip ID=ffff
> ...
> [   21.807904] {2} Setting i2c_addr to 0x5d
> [   21.817282] Read i2c (port = 2, sa7=0x5d, reg=0x0) chip ID=ffff
> ...
> [   21.868874] {3} Setting i2c_addr to 0x5d
> [   21.878291] Read i2c (port = 3, sa7=0x5d, reg=0x0) chip ID=ffff

...


bootlog for 0x48 (2 sensors connected):

> ...

[   21.607985] {0} Setting i2c_addr to 0x48
> [   21.612007] Read i2c (port = 0, sa7=0x48, reg=0x0) chip ID=1801
> [   21.617888] Found MT9P001 2592x1944 sensor, chip ID=1801
> [   21.674977] {1} Setting i2c_addr to 0x48
> [   21.684454] Read i2c (port = 1, sa7=0x48, reg=0x0) chip ID=1801
> [   21.690690] Found MT9P001 2592x1944 sensor, chip ID=1801
> [   21.747575] {2} Setting i2c_addr to 0x48
> [   21.757033] Read i2c (port = 2, sa7=0x48, reg=0x0) chip ID=ffff
> ...
> [   21.808291] {3} Setting i2c_addr to 0x48
> [   21.817738] Read i2c (port = 3, sa7=0x48, reg=0x0) chip ID=ffff
> ...


Best regards,
Oleg Dzhimiev
Electronics Engineer
phone: +1 801 783 5555 x124
Elphel, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://support.elphel.com/pipermail/support-list_support.elphel.com/attachments/20180308/f4b16986/attachment.html>


More information about the Support-list mailing list