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.

BQ34110: Flash programming robustness

Part Number: BQ34110

I'm designing a system with BQ34110 and external flash.

Update of firmware (*.bq.fs file) and data (*.df.fs file) is planned to be made with FlashStream Parser from a onboard IC.

Q1: What will happen if power interrupt occur during flash writing?

Will the BQ34110 restart in a boot-state, waiting to continue the programing session? How to detect?

Q2: What if transferred data is corrupted? I.e. one (or several) data block(s) transferred with NOK CRC.

How to detect and how to recover from a transfer of an corrupted file?

BR / Urban

  • Hi Urban,

    If power is interrupted then the gauge will stay in ROM mode since the integrity word (which is the last part of the .fs file) has not been restored. If the transferred data is corrupted then the checksum will fail. If there is a failure at any step in the .fs file, you should go back to the beginning of the portion in ROM mode where the flash is erased and start again.

    Best regards,
    Matt