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-R2: Unable to import gg file

Part Number: BQ34Z100-R2
Other Parts Discussed in Thread: BQSTUDIO

Tool/software:

Hello,

When I make the production file, the last step is to import the learned gg file, but the alarm "value is beyond maximum value defined for parameter: calibration.data.cc delta" What is the reason?

The gg file exported from the initial firmware and the gg file to be imported for mass production are attached.

Thanks

learn ok .gg.csvnot learn .gg.csv

  • Hi,

    I recommend using the bq.fs or .srec rather than the .gg. The bq.fs has FW and data flash while the .gg only contains public parameters. You shouldn't get this error if you flash the bq.fs or .srec.

    Regards,

    Diego

  • Hello Diego,

    I made mass production files according to the following process, but now I can't import gg files in the second step. What's the reason?

    Do you have any other way of making mass production documents?

    (1) Export the learned GG file. Open GG file in TXT format and modify Cycle Count = 0, Qmax Cycle Count = 0,
    Update Status = 02

    (2) Import the SREC/SENC file backed up in the previous preparation. Then import the GG file you just modified. Reset a record such as Lifetime.

    (3) Export the production file SREC/SENC/BQFS/OTFS

  • Hi,

    I do not recommend resetting update status to 2 unless you want to perform a learning cycle on every pack.

    So, this is what I recommend...

    Import the .gg into BQstudio with the configuration you are happy with (learning cycle complete)

    Reset your cycle counts, etc.

    then generate your BQ.FS from this configuration (this will be your golden image)

    then in production flash this BQ.FS golden image onto all your devices.

    Regards,

    Diego

  • Hi Diego,

    1).I operated according to the file, see the attachment for the file.

    2).According to your suggestion, When the learning cycle is complete,can I export srec files as mass production files just by reset cycle count and lifetimes?

    3).And what is the cause of this alarm?   "value is beyond maximum value defined for parameter: calibration.data.cc delta"

  • Hi,

    Sorry my mistake, Yes, update status 2 is ok, this means learning cycle complete but gauging disabled, after programming send the gauge to shut down and upon first power up enable gauging.

    Do not reset to update status 0.

    3) the alarm is caused by programming calibration parameters without sending the cal_enable cmd. As long as the parameters are properly written to data flash you should be ok.

    Regards,

    Diego

  • Hi Diego,

    What should I do now? gg files cannot be imported due to alarms. I opened IT_enable and still couldn't import. I also tried to change the cc delta value, but still couldn't.

    What's more, when this alarm is cleared, will there be other alarms?

    Thanks

  • Hi,

    That is unusual. Try send the enter_cal cmd and ensure the CALEN bit is high.

    What size sense resistor are you using?

    You get this error when flashing the bq.fs and .srec as well?

    Regards,

    Diego

  • Hi Diego,

    1.Already opened CALEN and it's not working.

    2. Two 5mΩ resistors

    3.No error reported

    Thanks

  • Hi,

    So, I have 2 solutions I would like for you to try.

    1) try to use advanced comms to write these parameters.

    2) change the value in the gm.fs/bq.fs and flash the device. This document goes over how to read these files: Gauge Communication

    Regards,

    Diego