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.

BQ34Z100-G1: Read / Decode a Golden File - Verify Programming

Part Number: BQ34Z100-G1
Other Parts Discussed in Thread: BQSTUDIO, EV2400

I would like to be able to compare what is programmed in my battery packs against the golden file they were supposed to be programmed with.  Is there any easy way to do that?  I could not find a way to import a golden file in to bq Studio and I really don't want to have to write a tool to decode the data in the golden file (and I find it hard to believe there isn't some way to do this already).

I work for a medical device company and we would like to be able to verify at incoming inspection that the batteries are programmed properly.

  • Hi Greg,

    Please connect to your programmed device with an EV2300/EV2400 and bqStudio.

    If the battery pack is sealed, send the UNSEAL command and your key when prompted.

    Then send the UNSEAL_FULL_ACCESS and your key when prompted.

    Then click on Golden Image and click on Create Image Files.

    Please let me know if you run into any hiccups.

    Sincerely,
    Bryan Kahler
  • Hi Bryan,

    Thanks - I haven't tried exporting to a new golden file and comparing, but I assume that exporting a new golden file might be slightly different due to the experience of the battery so I wouldn't necessarily get a clean comparison. It would be much better if I could import a golden file from my hard drive and compare against a battery pack. Is there any way to do that? Even just a tool that would decode the contents of a golden file so I could manually compare would be helpful.

    Thanks,
    Greg
  • These instructions say how to generate a golden file, not how to read one in and decode its contents for comparison to a programmed pack.
  • Hi Greg,

    By connecting to the device with BqStudio, you will be able to read the contents of the device, assuming the device is unsealed. If the device is sealed, you would need the unseal key from your manufacturer.

    The steps listed above were how to save the contents from the device data flash to your harddrive after communicating with the device.

    Sincerely,
    Bryan Kahler
  • Hi Bryan,

    So I guess you're suggesting that I can export the contents and compare to the golden file, which will give me a pass/fail, but there's no way to see what exactly is different.  Is there a decoder ring somewhere for the file in case there is a difference?

    Thanks,

    Greg

  • Hi Greg,

    Either way it would be a fail. Please reprogram the device if there is a diff. Change all of the calibration values and you will be able to determine which areas of the binary file are 'allowed' to change (diff golden vs modified, use binary areas that changed as a mask for your end of line testing).

    For a more granular approach, pull the GG file from each device after programming for a line by line diff of human readable ASCII, instead of a binary diff.

    Sincerely,
    Bryan Kahler