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.

BQ27542-G1: Dumping the golden image data into fuel gauge using the code

Part Number: BQ27542-G1

For flashing the golden image generated using the code, we are referring to the  document no - slua801.pdf. I am attaching the document for the reference.

In this there is sample code given for linux at the last. From this I came to know that we need to implement the flash stream parser function which is the gauge_execute_fs () function given in the document. Now in the sample code given, there are two functions gauge_read_data_class(pHandle, DC_STATE, pData, DC_STATE_LENGTH); and gauge_write_data_class(pHandle, DC_STATE, pData, DC_STATE_LENGTH) after the gauge_execute_fs (). 

My question is do we need to implement those two functions as well for flashing the golden image data. I have implemented parser function which is the same gauge_execute_fs() function. Please guide me on this.

I am also attaching the reference document.6644.slua801.pdf

Regards,

Mahek