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.

BQ27510-G3: Is the "factory fresh" firmware image available for this Battery Gauge?

Part Number: BQ27510-G3
Other Parts Discussed in Thread: BQ27510-G1, , BQSTUDIO, BQEVSW

Folks:

Recently, I asked about the possibility of buying BQ27510-G1 battery gauges and installing the -G3 firmware onto them and I was told this was possible. (Hopefully, this new thread is linked back to that in some way.)

Assuming we wanted to go down that road, does TI make available a pristine copy of the -G3 firmware that we should use to reload those -G1 gauges?

I ask because over time, I've collected what I'd expect would be "factory fresh" images from a number of -G3 gauges but at least some of the images that I collected vary a little bit in the high addresses.
I THINK the affected addresses are:

  • The flash block starting at 0x0A00 (line 2078+ of the .bq.fs image),
  • The flash block starting at 0x0A1C (line 2190+),
  • The flash block starting at 0x0A1D (line 2194+), and
  • The flash block starting at 0x0A1E (line 2198+)

Also, the CRC or checksum for that area (at line 2210 of the .bq.fs image) also varies. (No surprise)

Two of my captures have all bytes of 0xFF in those 0A1C, 0A1D, and 0A1E areas and but the rest of my captures have varying values.

It is my BELIEF that these areas are probably used by the Gauge to store some sort of non-volatile data so the two captures that have lots of 0xFF values probably really are "factory fresh" and the others represent Battery Gauges that ran, at least briefly and as a result, stored some data into those areas.

I could probably use ANY of these capture files to reprogram -G1 Gauges but if TI has a preferred "clean" firmware load image, I'd prefer to use that. Is such an image available?

Atlant

  • Hello Atlant,

    bq27510-G3 Firmware Image download link www.ti.com/.../sluc442

  • Thanks for the prompt reply!

    I'll try this out on Monday (when I'm back in the office) and report back!

  • I guess I need to “buy another clue”.

    I've downloaded that .ZIP file and found within it bq27510-G3_4_00.senc which clearly sounds like it's the right stuff. And once unzipped, the file looks like it's a “TI encrypted” file:

    Block 0:
    00000000: 5449454E 43520200 00000000 00004000 00000400 00000010 00004000 007F751D TIENCRúùùùùùùù@ùùùúùùùùúùù@ùùuú
    00000020: 22900F9A 0DF3590A 470C0D0E 0FF1FBFF FFC49758 D5A0D778 3C1B651B 53E1BEE8 "úšóYGúúúñûÿÿÄ—XÕ ×x<úeúSá¾è
    00000040: 6AB3F7FF FF32790F 94086F26 272829E5 F73BDE2E 2F86FBFF FF27C237 EF3E51EE j³÷ÿÿ2yú”úo&'()å÷;Þ./†ûÿÿ'Â7ï>Qî
    00000060: 3738030C C6AD3D1B 0F7BFAFF FF4141AD 46554047 4748594B 4B704D1E 731AFEFF 78úúÆ­=úú{úÿÿAA­FU@GGHYKKpMúsúþÿ
    00000080: FF50356E 53745556 54B0595A 5B5FB55E 5F69FDFF FF609FB7 98F16564 65D4697E ÿP5nStUVT°YZ[_µ^_iýÿÿ`Ÿ·˜ñedeÔi~
    000000A0: 68847D06 7F55FAFF FF187073 71C8745A 776679B2 B3686D7E 439CFCFF FF8E9182 h„}úUúÿÿúpsqÈtZwfy²³hm~CœüÿÿŽ‘‚
    000000C0: 89C28089 80878AAA 8BE8CBDE 8540FEFF FF9E499C 0A950596 F381BCC0 9488FDF0 ‰Â€‰€‡Šª‹èËÞ…@þÿÿžIœ•ú–ó¼À”ˆýð
    000000E0: 93E8FBFF FF20A16A 8BA551A6 A7A8A9AA ABACADAE AF9AFDFF FFF331B6 B3B4B4A2 “èûÿÿ ¡j‹¥Q¦§¨©ª«¬­®¯šýÿÿó1¶³´´¢
    00000100: B794BCBA B1AF35BE 7785FDFF FFCAC3C3 C3C72DC6 D7932929 2C252424 234AF8FF ·”¼º±¯5¾w…ýÿÿÊÃÃÃÇ-Æד)),%$$#Jøÿ
    00000120: FF3D3E3D 2224243B 3B36282E 2F2B2524 25DFF0FF FF1B1C1F 1E1E1213 121B1B04 ÿ=>="$$;;6(./+%$%ßðÿÿúúúúúúúúúúú
    00000140: 1A1C1F30 6C2BF1FF FFF01A93 F70DFF1E 08F80AE5 C30E62BE 09B4F7FF FFFF81F5 úúú0l+ñÿÿðú“÷ÿúúøåÃúb¾´÷ÿÿÿõ
    00000160: 6C5AF699 22FA1633 F153FFF0 5013F6FF FFEFEFCD F5E9CAD3 EDD794EC B40AF8D2 lZöTm"úú3ñSÿðPúöÿÿïïÍõéÊÓí×”ì´øÒ
    00000180: 0BC6F3FF FF8D0BA5 8B6EBE8A DDFC9406 2A98284C 2F95F8FF FF33F3CD 66341C36 úÆóÿÿú¥‹n¾ŠÝü”ú*˜(L/•øÿÿ3óÍf4ú6
    000001A0: 35C439C4 393A3A3B 37A5FBFF FF4F5F74 14374546 B83549B5 51474FB5 BB41FAFF 5Ä9Ä9::;7¥ûÿÿO_tú7EF¸5IµQGOµ»Aúÿ
    000001C0: FFA1AAA7 A2B38D89 545859A5 265CA244 54ECF6FF FF629A96 929F9097 80B0B669 ÿ¡ª§¢³‰TXY¥&\¢DTìöÿÿbš–’Ÿ—€°¶i
    000001E0: 6A6C6E86 6FAFF6FF FF602A92 90939C9F 9D949495 948D8D8F 92B8F2FF FF6C6F73 jln†o¯öÿÿ`*’“œŸ””•”’¸òÿÿlos

    But my Battery Management Studio (V1.3.104) doesn't seem to know what to do with such a file. It only seems to want to load my Battery Gauge from .srec, .bq.fs, and .df.fs files and when I explicitly provide this file by name, it reports that “The selected file does not have a valid extension”.

    I then updated to BQStudio V1.3.111 with no change in behavior.

    What can I do with this file/How can I program my Battery Gage with this file?

    Atlant

  • Never mind; I found SLUC621.ZIP which I ASSUME is the same firmware in .srec format.

    But if I were still wondering, what could I do with that .senc file? Do either of SLUC125E.ZIP (The bqEV-EASY_HHWSetup installer) or SLUC367C.ZIP (the bqEVSW installer) know what to do with a .senc file?

    Atlant

  • Okay, closing the loop now:

    The .srec file that I just downloaded and then immediately recovered from the Battery Gauge as a .bq.fs file exactly matches the two matching .bq.fs files that I described in my first post.

    So I'm convinced. We have valid “Factory Fresh Firmware” and a way to successfully load this into the Battery Gauges at a cost of just 45 seconds per device (plus manual connection time).

    Thanks for your help! I'll check the “This resolved my issue” box now. (But if you feel like describing what to do with a .senc file, I'd still love to learn that ;-).)

    Atlant

  • Hello Atlant,

    bqEVSW or bqEV-Easy can program the senc file from the "Pro" tab

  • Shirish:

    Thanks!

    Atlant