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.

[参考译文] BQ4050:FlashStream 格式与 SLUA801不匹配

Guru**** 2556900 points


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

https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/1077472/bq4050-flashstream-format-does-not-match-slua801

部件号:BQ4050

我正在尝试解析.bq.fs FlashStream 文件,以便在嵌入式环境中使用。 Battery Management Studio 生成的.bq.fs 文件的格式与 SLUA801中指定的语法不匹配。  

我希望 FlashStream 文件中只能看到 W,C,X 或;(分号),但生成的命令会更加复杂:  

这三个字母代码是什么意思? 我猜第二封信指定了指令(W =写入,C =比较),第三封信指定了要执行的事务类型(B =块,W =字?)。  

如果这些猜测是正确的,是否有 C 代码来解析此语法? SLUA01中的源代码不需要三字母代码,因此不能用于此输出(它也缺少块读/写功能)。