I'm working on writing firmware that has the ability to configure new BQ34Z100 battery monitors based on the Golden Image File that was generated after performing a number of optimization cycles. I've attached that .df.fs file below. I do not wish to update the monitor's firmware, simply the data flash that affects the configuration.
Because the commands in the .df.fs file put the monitor into ROM mode and because ROM mode commands are not adequately documented, I've run into issues that I cannot debug without outside information.
What is the nature of the "W: 16 64 <byte0> <byte1>" commands? Additionally, when checking the status of the monitor using "C: 16 66 00", what does a return code of 0x04 indicate?
I ask, because I find that I am able to progress through the commands in the .df.fs file until I reach line 158: "W: 16 64 63 06", as the next status check returns 0x04 instead of 0x00. I have a feeling that these are checksum commands of some kind. If they are, I find it interesting that the prior checksums are being accepted, but fails pretty far into the set of commands.
Thanks for the help - please let me know if any of this was unclear or if I can provide additional information.