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: How to get hex dump for programming in firmware mode.

Part Number: BQ27510
Other Parts Discussed in Thread: BQSTUDIO

Hello,

We have a BQ27510 gauge communicating with a micro-controller and we would like to be able to program the gauge from the micro-controller.

We managed to flash the gauge in ROM mode from the micro-controller using dffs files generated with bqstudio, but it is difficult in our use case to guarantee that the flashing process will not be interrupted, and it seems to be much safer to program the gauge in firmware mode according to this thread:

The problem we are facing is that we don't find the "hex dump" button in bqstudio (v1.3.101 with "show advanced views" ticked) . Is there a way to get an hexadecimal image of the data flash with this gauge component ?

Thanks.

  • Hello,

    The df.fs file contains only the data flash, the bq.fs would contain both. You can choose if you want to include the ROM mode command at the beginning og the flash stream file as well.

    This gauge doesn't support a hex dump.

    Sincerely,

    Wyatt Keller

  • Hello,

    We only need to modify data flash, not the firmware. But we would like modify in firmware mode instead of ROM mode so if the process is interrupted we do not risk to brick the device. So I have two questions:

    1. Is there a way to get the gauge configuration data in a format that we can flash it back in the data flash in firmware mode (using BlockDataControl, BlockData and BlockDataChecksum commands) ? I tried to parse df.fs file to make it match data flash structure without success.
    2. I read in the documentation that in firmware mode "The written data is not persistent, so a power-on reset does resolve the fault.". Does it mean that the only way to modify the gauge configuration persistently is to flash it in ROM mode ?

    Thanks.

    Regards.

  • Hello,

    If you are flashing the df.fs file there should be minimal risk for doing it in firmware or ROM mode. When you are flashing the instruction flash then it is more risky.

    I would follow the Gauge Communication app note to upload the flash stream file DF file in ROM mode: www.ti.com/.../slua801

    Sincerely,

    Wyatt Keller