3 2. configure variables in i2c_config.sh for your linux i2c adapter
6 you can get your interface/adapter by
8 3. load i2c configuration into shell (or use direct values)
10 4. check current mode of adapter (working registers may differ)
11 i2cdump -y ${SMB_IFACE} ${SMB_ADDR}
14 - test/offline/calibration?
15 registers 0x40-0x4a, 0x50-0x5a, 0x72, 0x73, 0x80
17 registers 0-0x1c, 0x20-0x23, 0x2f, 0x30-0x33, 0x3b-0x3f, 0x50-0x54, 0x71-0x72
18 (in test and normal mode, some registers can be temporarily enabled)
19 5. use the correct command set for actual mode
20 boot<->norm can be switched by commands
21 booting to normal mode needs to have magic word at word 0x5 in code space (may be bricked)
22 switching to test/offline mode can be done only manually (unknown other methods)
27 switching back to online mode needs to return the original values (backup)
29 flash/erase mostly untested
30 mcu space is strictly divided into code space and data space
31 code space has 2 regions: userspace flash, boot maskrom (probably inaccessible)
32 data space has 3 regions: RAM, flash, IO