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.

bq27500 Loading own DFI does not work

Other Parts Discussed in Thread: BQ27500, BQ27500-V130

Hi

With the bqEasy software I created an own DFI-File. However, after loading the file to the fuel gauge (by EV2300) I cannot communicate with the fuel gauge anymore. I found out, that after programming the fuel gauge the SCL line is low (even though I have a pull up assembled).

Loading the predefined bq27500_1_06.dfi works, however loading the predefined bq27500_1_08.dfi does not work. Does anybody has the same problem or any idea what the problem could be?

Thanks for your help.

Regards,
Rony

  • Hello Rony,

    Unfortunately you will need to replace the IC.  The DFI file must match the firmware version running on your IC, or else you risk locking up the IC permanently.

    If you were running firmware version bq27500 1.06 and load a DFI for bq27500 1.08 then this is your problem.

    If you create a DFI file using 1.06 firmware (and EVSW) but then upgrade your IC firmware to 1.08, then you must also create a new DFI or upgrade the DFI by following the procedures in app note SLUA453a.

    -David

  • Hi David

    What exactly is the difference between firmware and DFI file?
    Is the firmware loaded on the fuel gauge when I buy it? Then, I can start EVSW, do a DFI file using bqEasy and finally I can program all fuel gauges which have the same firmware programmed initially?

    Thanks for your help!

    Rony

  • Hi

    I have a similar problem with the bq2700 130

    I have created a golden dfi file (B5_130 ver2_0500_0130_GOLDEN.dfi) using the BQ evaluation software, bqEASY.

    Stepping thru the 1 to 5 step fowling the instructions in slua544

    It all wend good and a golden dfi file (B5_130 ver2_0500_0130_GOLDEN.dfi) was created.

    the problems it when I programme the new dfi file into another bq27500 130 device, using the BQ evaluation software, bqEASY, I lose communication with it.

    I then tried to program the same bq27500 130 device it was generated on, same result, no communication.

    What can I do to regain communication with the device.  

    regards

    Emil

     

  • Emil,

    At what point do you lose communication?  Does the DFI programming complete without any errors, but you simply can't communicate on the DataRAM screen, for example?  Or do you get a communication error during the DFI programming process?  In the latter case, the data flash might be so corrupted that you cannot recover the IC any more and it must be replaced.  You will also need to figure out what was causing the communication error.  It could be something as simple as poor cabling.

  • Hi David

     

    The GOLDEN.dfi was created successfully and downloaded to the bq27500 v1.30 and all was okay, I then tried to download the GOLDEN.dfi to another bq27500 v1.30.

    The download was successfully, but then I am unable to communicate with the bq27500.

    I tried several bq27500 with the same result.

     

    Currently I am using the CONFIGURED.dfi which is working.

    Using the CONFIGURED.dfi I miss the step 4 and 5 in the bqEASY calibration set up

     

    Why do I loss communication, I understand that if the wrong version is downloaded I also loss communication, but this is not the case, CONFIGURED.dfi The 3 first step in the bqEASY calibration set up works fine.

     

    Regards

     

    Emil Piper

    R&D Electronic Engineer

    Novo Nordisk A/S

    Denmark    

  • Hi Emil,

    The symptom still suggests that your data flash and instruction flash versions are mismatched.

    You say that you can successfully create the golden DFI on a bq27500 v1.30 and download it to that IC.

    However, when you go to download it to other ICs then you can no longer communicate with them.  Typically this would happen if your ICs had another version such as V120 still programmed in the instruction flash. 

    You can check the version in those ICs before you try to download the DFI by sending command 02 to the Control register.  On the DataRAM screen, click on the Value to the right of Control.  Type "02" then hit the Enter key on your keyboard.  Then click the Refresh button on your screen.  The Value will update with the data read from the IC.  It will say 0120 for V120 or 0130 for V130. 

    If you see that the IC actually has V120 programmed into it then that is the root cause of your problem.  You need to upgrade the IC first by following the instructions in SLUA453A

    Updating Firmware with the bq2750x and EVM (Rev. A)

    You will use the SENC file in the Tools & Software section of the bq27500-V130 Product Folder on ti.com:

    bq27500-V130 Senc File

     

    If you confirm that your IC does in fact have V130 programmed in it already and you are still seeing the problem, please let me know.