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.

BQ35100: Chemistry programming failed. Error code: 1709

Part Number: BQ35100
Other Parts Discussed in Thread: EV2400, BQSTUDIO

Tool/software:

I am trying to program a chemistry profile to BQ35100 for Battery (Make: Saft, P/N: LSH20, Capacity: 13000mAh). I am using the BQ studio latest version 1.3.127 and Chemistry version: 1099. But after selecting my Battery's profile (Battery profile ID: 0659) and clicking "Program Selected Chemistry", I receive an error with code: 1709 (Chemistry programming failed. The chemistry signature doesn't match signature calculated by firmware). 

I have also updated the Chemistry version to latest one i.e. 1121 but still same error persists.  EV2400 Interface adapter is being used for I2C communication between BQ Studio and BQ35100.

While tried to load another Battery's chemical ID (profile ID: 0648), it got programmed successfully. 

Please suggest on how to proceed with programming my required Chemical ID: 0659.

Thank you

  • Hello Sudarshan,

    Make sure to download and update to the latest EV2400 driver (version 0.32) https://www.ti.com/tool/EV2400

    Also, please place this file (https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/196/0100_5F00_1_5F00_02_2D00_bq35100.bqz) in the "config" folder of where BQStudio is installed on the computer.

    Regards,

    Adrian

  • Thanks for the reply,

    The file you mentioned is already present in the "config" folder of BQStudio. Secondly, I updated the firmware to version 0.32 but still the same error persists. But now if I issue the "ChemID" command from BQ Studio, I get the desired Chemical ID. So, inspite of the above error, is Chemistry profile updated to BQ35100 ?

    Kindly suggest.

  • Hello Sudarshan,

    Yes, if you issue the ChemID command and it returns the correct ChemID then the chemistry profile has been updated.

    Regards,

    Adrian

  •   Hello Adrian,

    So I assume that my Chemistry profile has been updated. Thereafter I try to put it in EOS mode and for that I follow the TI's manual on "How to Configure the BQ35100 for EOS Mode". As per this, when I am issuing "New Battery" command, I am getting error " Write MAC ReadBlock Communication error: First 2 bytes of MAC Response read from device doesn't match MAC command sent."

    Secondly, if I try to write to Bit 0 and Bit 1 of "Operation Config A" register to select EOS mode, then I get an error " Operation failed because initial read of all data flash failed". Ihave imported the default values of all parameters under the "configuration" tab in BQ Studio. What else this error is related to ?

     Also, after programming Chemistry profile when I connect my battery to load, some 300mA is being drawn in actual but in BQ studio, it either shows 0A or "-1A". Please provide solution so that I can start monitoring lifetime of my above battery.

  • Hello Sudarshan,

    Make sure the gauge is in Full Access mode when trying to change data memory parameters.

    Regards,

    Adrian

  • Hello Adrian,

    I have tried in Full Access mode as well. But still the errors persist. Also, when I issue any command like "NEW BATTERY" or "RESET", device goes to SEALED mode again from UNSEALED / Full Access mode.

  • Hello,

    This is some very strange behavior. Let me discuss with the firmware team regarding this.

    Nick

  • Hello Sudarshan,

    Please program this SREC that has some of your settings already configured and let me know if you run into any more problems.

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/196/for_5F00_Sudarshan.srec

    Regards,

    Adrian

  • Hello Adrian,

    I tried to program the above .srec file but as soon as I select the file and Program it, "No Acknowledge from Device" pops up.

  • Also, If I try to program 2nd time immediately, I get "Programming: Priority Sequence already in progress".

    I could able to program the above .SREC file when I selected "UNSEAL FULL ACCESS" but with error (I couldn't capture the screenshot of that error as immediately after that BQ35100 device connection disappeared in BQ studio).  Now, BQ35100 in sometimes appearing in BQ studio and sometimes not. Also, whenever it is appearing, it is reading some wrong Battery voltage and temperature. (In our case Battery voltage is 3.5V whereas, it is reading now around 15V.  Earlier at least it was reading the correct Battery voltage and connection with the device was permanent but now with above .SREC file, it seems condition has worsen.

  • Hello,

    Can you close out BQStudio and reopen it to see if this clears the issue.

    Regards,

    Adrian

  • Hello,

    Yes, tried that multiple times but the issue persists. Is this happened because of new .SREC file ? Is there any way to load the original .SREC file or default .SREC file so atleast this new issue of appearing/disappearing of BQ35100 will be resolved.

  • Hello Sudarshan,

    Yes, let me send you the default SREC file and try to program that onto the device: https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/196/bq35100.srec

    Regards,

    Adrian

  • Hello,

    After programming the SREC file which you sent earlier, with the unusual behaviour as I explained above in 3rd last comment, the IC stopped being detected on I2C bus. I checked this with my microcontroller STM32  and with BQ studio as well. Therefore, I am unable to program the default SREC file you sent recently. Why this behaviour on the IC and how to proceed further ?

    Also, while referring the various threads on TI forum, I found the below one. My device address is also changed from 0xAA to 0x16 after programming the earlier sent SREC file. Why so ? I am able to detect it on I2C bus from STM32 microcontroller with 0x16 I2C address but I am not able to detect it in BQ studio.

    Thank you

  • Hello Sudarshan,

    It sounds like the device might be stuck in ROM mode. I would recommend following these steps: https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/1288151/bq34z100-g1-how-to-exit-rom-mode

    Regards,

    Adrian

  • Hello,

    I tried following the same steps as mentioned in the link successfully but still getting same error i.e. device address is 0x16 and unable to send/receive any command. Please try to solve this issue as early as possible since it has been almost a month, we are stuck with this issue. We were thinking that with BQ studio and EV 2400, everything will be handy and easy to implement and this was all selected based on TI's recommendation to us. I request you again to help us in solving this issue quickly.

  • Also, what this error which pops up every time I select the device. This I observed right from beginning. Refer the screenshot below:

  • Hello Sudarshan,

    Are you able to use a new bq35100 IC? I am now hypothesizing this device could have become defective as it is autodetecting a device number that does not appear in my data base.

    Regards,

    Adrian

  • Hello Adrian,

    I can try with new IC but now I am afraid of that. Because even before programming your given SREC file (for_Sudarshan.srec), I wasn't able to enter EOS mode as discussed above (Write MAC ReadBlock Communication error: First 2 bytes of MAC Response read from device doesn't match MAC command sent). After programming your SREC file, the situation got even worst (Battery voltage changed from 3.6V to 15V, internal temperature is -293 degC etc.).

    If I go with new IC, enlist the complete steps I should try sequentially. Also, I need online support from your technical representative during entire config process. Is it possible for you to arrange that.

    With regard,

    Sudarshan Chaudhary

  • Hello @Adrian

    We are now trying with new IC. We are able to configure that to EOS mode by writing to "Operation config A" register. We wish to try with  a fresh battery (13Ah, Lithium thionyl chloride, Make: Saft). Please tell us what steps we need to follow ? How will we come to know that battery is drained fully ?

    With regard,

    Sudarshan Chaudhary

  • Hello Sudarshan,

    That is great to hear that the new IC is working. I would recommend following the steps outlined in this document: https://www.ti.com/lit/an/sluaal7/sluaal7.pdf

    You will know when the battery is drained fully by when the voltage of the battery reaches the terminate voltage (this is specified in the datasheet for the battery).

    Regards,

    Adrian

  • Hello Adrian,

    Thanks for sharing the document. But I will not be checking battery voltage using Multimeter everytime. BQstudio should Alert me well-in advance so that I get the sufficient time to replace the Battery in my product. Currently, I have connected a load which is drawing a current of 600mA and as per my calculation, the Battery of capacity 13Ah should be drained in 21 hrs. But the IC should send Alert signal through its register. I am assuming that following bits will set high after battery is left with 20% of its capacity ( As EOS trend detection is set at 20% in BQ studio):

    ALERT bit (Bit 3rd of Battery Status register)

    EOS bit (Bit 3rd of Battery Alert register)

    Please confirm.