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.

BQ28Z620-DEVICE-FW: BQ28Z620 cannot enter ROM Mode

Part Number: BQ28Z620-DEVICE-FW
Other Parts Discussed in Thread: BQ28Z620

Tool/software:

Dear Texas,

I have designed custom PCB with BQ28Z620 fuel gauge base on Datasheet and EVM. I wanted to write golden file to its flash. I have tried to execute it with my microcontroller and presented by you C code - Gauge Communication over Raspberry Pi.
I have flashed it twice and it went smoothly (I saw it using Logic Analyzer). After some time I wanted to write it again and fuel gauge doesn't enter ROM mode (It doesn't reply on address 0x0B (I have not received ACK, as it did before). Do you happen to know what could possibly cause such a behaviour?

I would greatly appreciate your feedback.

  • Hello, 

    If you disrupted the communication while programming firmware, then it is possible that the device has been damaged and unrecoverable. 

    Regards, 

    Jonny. 

  • Thank you for your prompt feedback.

    I have never programed firmware on this particular BQ28. All I did was communicate via I2C command, but after few golden file flashes, I never accessed ROM Mode again.

  • Hello, 

    What command are you sending for ROM mode? 

    Regards, 

    Jonny.

  • ```
    ;--------------------------------------------------------

    ;Verify Existing Firmware Version
    ;--------------------------------------------------------
    W: AA 3E 02 00
    C: AA 3E 02 00 26 20 01 00
    ;--------------------------------------------------------
    ;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 11 DE 83
    X: 200
    ```

    I created script that transforms df.fs file into commands. It all went correct, until  'Data Block' where it cannot enter new address.
  • Hello, 

    It looks like you are writing the FW. Please see my previous response. 

    If you disrupted the communication while programming firmware, then it is possible that the device has been damaged and unrecoverable.

    Regards, 

    Jonny.