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
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,
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.
ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". TI AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY TI. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM TI.
Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.