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.

BQ34Z100-G1: FlashStream file with more than 32 bytes data in string

Part Number: BQ34Z100-G1
Other Parts Discussed in Thread: EV2400, BQSTUDIO, BQ34Z100

Hello,

I use direct I2C communication between the BQ34Z100-G1 fuel gauge IC and  microcontroller, which act as I2C master.
Unfortunately I have not the EV2300/EV2400 device, and at this time I have no possibilites to buy it.

I read a lot of documentation and information about the IC, from Texas Instruments and from this forum.
At present time, I can communicate with the IC by I2C protocol.
I can send and get results for the commands, the extended commands,  read flash data and write flash data into the IC, without EV2300/EV2400 and bqStudio.

But!

Now I need to write the df.fs file (FlashStream) to the IC.
The file I received from my friend who have the EV2400 device and EVM with BQ34Z100-G1 on board.
He created the golden image for my battery, and send FlashStream  files to me. And I want to write the data from the FlashStream file into IC.

But I can not understand the discrepancies between the contents of FlashStream file and  the C code from the SLUA801 document.

The discrepancies in the fact, that the gauge_execute_fs function writes 32 bytes of data only, from each string
of the FlashStream file, to the IC,  and the rest of the data, in the string, the function simply throw out.
The gauge_execute_fs function C code locate on pages 13 and 14, in SLUA801 document.

But FlashStream file (.df.fs) contain W: strings, with mush more than 32 bytes data in strings.
Moreover .bq.fs contain a lot W: strings, with more than 32 bytes data.

And, as I see, first short strings (commands) from FlashStream file switching the IC into ROM mode.

My questions is:
Can I write entire data, more than 32 bytes, from FlashStream file string, into BQ34Z100-G1 when it in ROM mode ?
Is it will error or not  ?


Thank in advance.
Dmytro