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.

Golden Image Firmware (DFI) update on bq2750x

Other Parts Discussed in Thread: BQ27501, BQ27510, BQ27510-G1, BQ27541

Hi all,

Please, can you help us with an issue related to upgrading the golden image firmware (DFI) of bq250x?

The status is the following:

1) We have made successful calibration of the homebox PCB with our LiION battery. For this:
        * We have used the "bq Evaluation Software " ver.0.9.58.
        * We have made the necessary  configuration, calibration , Impedance track initialization with the appropriate battery charges and discharges.
        * We have generated the golden firmware image file (bq27501ROM.dfi)

We have flashed one box with the upper image and the battery gauge with calibrated impedance track activated was working excellent.

2) We developed a firmware upgrade application (the source code for that application we can provide on request) for our "armv7a" platform that upgrades the bq27501 firmware with the attached golden DFI firmware. The firmware update procedure is according to TI's "Going to Production with the bq2750x (Rev. C)" (http://www.ti.com/litv/pdf/slua449c) document. The log output from this application is also attached to the post.

3) The issue we have is that after flashing the battery gauge (bq27501), we cannot communicate with that device anymore - neither on the gauge I2C address (0xAA), nor on the ROM mode I2C address (0x16). Actually the bq27501 device does not respond on any I2C address on the bus. The "bq Evaluation Software" also cannot communicate with the device.

4) The questions that we have are the following:
    *) How we can recover the original bq27501 firmware? Actually how we can make the device to work again?
    *) What's wrong with our firmware update procedure when all the checksum verifications pass?
    *) Do TI has an sample firmware update code or DFI file, which we could use for testing our firmware update procedure on our hardware?

 

Any help will be deeply appreciated!

Daniel

  •  

    Please make sure the DFI version is matching the firmware version. Check SLUA453.

  • Hi Ming,

     

    Thanks for your reply.

    We've checked the DFI firmware version and it matches the device firmware (v1.23). Actually if it does not match then the bq software gives some warning and complains about it.

    Do you know if there's a way to recover a incorrect (or damaged) firmware?

  • Hi Everyone,

    We are also trying to update the calibration information in a BQ27510 device.

    We get exactly the same result as Daniel, we complete the update and the device stops responding on address 0xAA and 0x16.

    Has anyone sucesssfully updated one of these devices?  If so would you be able to release the code?

    Regards,

    Tom

  • Hi,

     

    I was talking about the DFI version. For example, if the DFI is generated using FW ver A. You CAN NOT load it into FW ver B. Once it is locked up, the only way is to remove the IC and replace it with a good one. Please refer to SLUA453 for details.

     

    Thanks

    Ming

  • I have now fixed my issue.

    I generated the calibration file on a BQ27510-G1 but was trying to program a BQ27510. 

    Daniel, looking at your batcal_log.txt file, it looks like you're putting IF row 0 back into the device before row 1.  The flowchart in SLUA449 (Page 11) states row 1 then row 0.  That might be your issue.

    Checking the firmware version before programming is also a good start.  BQ27510 = V1.11, BQ27510-G1 = V1.12

    Hope this helps someone.

    Tom

  • Hi Tom,

     

    I'm glad to see that you fixed your issue. Probably we also have some versioning mismatch. You were right that the order of restoring the instruction memory pages was reversed, but unfortunately reversing it in the way  described in SLUA449 (p.11) didn't solve our firmware update issue. According to Ming we need to replace our current bq2750x chips with new ones in order to continue the investigation and try to update them with new firmware.

     

    Thanks for your support,

    Daniel

  • Hi Daniel,

               i have made a bq27510 golden DFI image,now i need to update it into a bq27510 on my board , can you give me your  firmware upgrade application.

    my email is : fengye552001@yahoo.com.cn

    thanks !

    davied feng

  • Hi Daniel.

    I have created Golden DFI file for bq27541. I wanted to update golden pack to bq27541. It will be highly appreciated if you can send firmware updater code.

    Email ID: chirag.doshi@lntemsys.com

     

    Thanking in Advance,

    Chirag

  • Hi Daniel,

    I'm using bq27505 do you think your software is compatible with this device? I have created the golden DFI file and I'll appreciate if you can send your firmware updater code.

     

    My email: gcornacchia@racine.ra.it

     

    thank you

     

    regards,

    Luca

  • Daniel,

    I have created a bq27505 DFI file and was wondering if I could get a copy of your firmware updater application code.  It would be highly appreciated.  Thanks.

    My email:  nhm@trackpointsystems.com

    Thank You,

    Nick