BQ78350-DEVICE-FW: BQ78350 Firmware Upgrade via stm32 mcu

Part Number: BQ78350-DEVICE-FW
Other Parts Discussed in Thread: BQ78350

Tool/software:

Hello,

I have a .srec file from Battery Management Studio for BQ78350, I parse the .srec file. I can Unseal, Unseal-Full access the device and I can make the device run into ROM mode.

I need to upgrade the BQ78350 device according to .srec file. But I do not know the steps of upgrade. How can I write the .srec file into to BQ78350.

I know that the device address 0x16, I know that the maximum data size is 32 byte, but I do not know the frame structure to send block frames into the BQ78350.

Can anyone help me on that what is the frame structure of blocks like: Byte -> 0 Start byte,  Byte-> 1 Command etc. can anyone give me an example code or something like that!

Thank you.