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.

Linux/BQ34110: Issue while writing golder image

Part Number: BQ34110
Other Parts Discussed in Thread: BQSTUDIO

Tool/software: Linux

Hello,

We are using bq34110 fuel gauge in our project. we have generated golden image for calibration using bqstdio and we are using 12V battery with 5200mAH capacity. we have took reference from slua801.pdf to flash golden image but while using this application,  we have got write failed error and then we are not able detected fuel gauge as a slave device on i2c bus even after power cycle.

I have attached reference driver pdf, driver file and golden image fie. Please have a look on it.

Please suggest some application or process to flash golden image to gauge.

  • You can recover the bq34110 on Windows by reopening bqstudio and reflashing the golden image. If a flash fails, the device is basically left in fw upgrade mode waiting for a full fw flash to be complete. In that state it will not be detected by bqstudio. However, you can open bqstudio, select the gauge, open the fw tab and select the fw file and program it.

    Unfortunately we will not be able to review your drivers on linux for it. So long as it follows the pdf, you should be able to recover the gauge.
  • Hello,

    We have tried using bqstdio but we are not able to recover gauge. While writing golden image using bqstdio it is working fine. But while using application, i am  not able to write data flash.

    It will be great if provide some way to flash golden image to our board.

    I have attached documents from where i have taken reference and golden image that i have generated using bqstudio. Please have look on it

    Thanks,

    Viken1641.Golden_Image.zip3108.slua801.pdf

  • Hi,

    If writing the golden image works, then it points to an issue with your code. You can either use the bqfs to update or the srec to program the gauge. The code in the pdf is correct. You may want to try to add delays at the step where the code fails.