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: Flashing .bq.fs flashstream file through i2c fails and bricks device

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

Hello,

I am trying to flash a bq-studio generated flashsteam file (bq.fs) for a BQ13500. I was able to parse the file and send i2c data to the fuel gauge device accordingly, but the procedure stops here. After that, if I try to power cycle and start the procedure from the beginning, the procedure fails here. I could recover the device using bq-studio, but I can't understand what the software did to unbrick the chip.

I would like to ask the following questions:

  • What is the cause of the brick?
  • What is bq-studio doing to unbrick the device?
  • How can I flash the firmware correctly? Would adding additional delay as mentioned here help?

;--------------------------------------------------------
;Unseal device
;--------------------------------------------------------
W: AA 00 14 04
W: AA 00 72 36
W: AA 00 FF FF
W: AA 00 FF FF
X: 1000
;--------------------------------------------------------
;Go To ROM Mode
;--------------------------------------------------------
W: AA 00 00 0F
X: 1000
;--------------------------------------------------------
;Data Block
;--------------------------------------------------------
W: 16 00 04 00 00 00 83 DE
W: 16 64 65 01
X: 400
C: 16 66 00
W: 16 00 02 00 00 00 E2 FF 33 03 D7 33 BB D6 33 E0 D6 33 09 D6 33 FF FF 3F 00 01 00 FF FF 3F FF FF 3F FF FF 3F FF FF 3F FF FF 3F FF FF 3F FF FF 3F FF FF 3F FF FF 3F FF FF 3F FF FF 3F 03 01 3D 00 01 3D 02 01 3D 0A 00 3D 0A 00 3D 80 03 3D 00 00 3D 00 00 3D 35 80 3D 11 02 3D 49 00 3D 20 2A 0E DF FA 0E E2 FF 32
W: 16 64 60 2B
X: 2

...

  • Hello Giulio,

    If you do a comparison of the transaction with your host and EV2400+BQStudio do you see any differences in the packets being sent? BQStudio parses and sends the BQ.FS as it is, there shouldn't be any added commands, so if BQStudio can recover the issue your host should be able to do the same using the BQ.FS file.

    Sincerely,

    Wyatt Keller