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: going to production - minimum set of data to write to the gas gauge

Expert 7280 points
Part Number: BQ34Z100-G1

Dear team,

Could you please help me understand exactly what needs to be written to the gas gauge when going to production ?

Is the full flash image necessary ? (.screc)

Can the .csv data be enough ?

(I suppose we should at least add the chemistry data)

The idea is to minimize the download size so that a MCU can easily flash the BQ34Z100-G1 on first product start.

Thanks a lot for your support,

Best regards,

PA

  • Hi Pial,

    Here are the step by step instructions for production flashing for the bq34z100-g1:

    www.ti.com/.../slua665.pdf

    Please note: Error handling is not implemented in this sample code and magic numbers are used. In your implementation, please use variables and error handling.

    If you have any questions, please let me know!

    Sincerely,
    Bryan Kahler

  • Hello Bryan,

    Thank you for your first answer.

    I was aware of that document (even if I have not read it cover to cover yet), but I don't think it indicates if we can write less than the full flash image (golden image file) to the device.

    Can you confirm it is absolutely mandatory to write it in full ?

    Thanks again,

    Best regards,

    PA

  • Hi PA

    You can write just the dffs file to the gauge. This is just the data flash portion of the flash. 

    thanks

    Onyx

  • Hi PA,

    Onyx is correct, the data flash portion of the flash is in the DFFS file (referred to as DFI in the app note).

    Assuming your Golden Image and Device Firmware match (e.g., are both bq34z100-G1):

    1) Write DFFS (referred to as DFI in app note) to chip
    2) Calibrate Voltage (unless voltage is under 5V, see app note for more information)
    3) Modify Individual Flash locations, e.g., Serial Number, Lot Code, Date

    I highly recommended reading the app note. www.ti.com/.../slua665.pdf

    Sincerely,
    Bryan Kahler