This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] BQ78350-R2-DEVICE-FW:Enabled Protections A、B、C?

Guru**** 2604225 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/1133362/bq78350-r2-device-fw-unexpected-shifted-values-in-enabled-protections-a-b-c

器件型号:BQ78350-R2-DEVICE-FW

我们的固件的任务是翻转 Enabled Protections C 中的 OC 位。根据参考手册、该地址位于地址0x44C8。

根据 BQ Studio、正在更改错误的寄存器。 它认为已修改 Enabled Protections A。

当我使用我们自己的 I2C CLI 从 DataFlash 寄存器地址0x44C6读取数据时、我会得到以下结果:

I2C 写入-读取0 44 34 
I2C 写入-读取:写入1个字节、读取34个字节
cmd>i2c 读取34字节:
22 C6 44 3C 00 4F 3F 10 00 00 00 09 60 01 0A F0 ".D<.O?。。 `……
0f 3C 0F 3C 0F 3C 0F 3C 0E 74 0E 74 0E .<..<..t.t.
74 04分
I2C 读取完成

响应看起来很好、因此我不怀疑我们的 I2C 通信。 它表示有效载荷大小为0x22、从地址0x44C6开始。 但字节似乎被移动两个位置。

根据我们的 GG 文件、值4F 3F 10应该位于地址0x44C6、但值3C 00应该位于该地址。

我在任何文档中都看不到可以解释这一点的任何内容。 这里发生什么事了?

Luis